unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
2 lines (1 loc) • 1.36 kB
JavaScript
import{s as l,B as n,cT as c,bc as d,j as e,C as p,V as a,T as h,y as g,hA as u,j4 as x,iZ as j,i_ as m,i$ as y,j0 as C,j1 as S,j2 as f,j3 as B}from"./index-CBxzHo9v.js";import{u as T,b,S as v,T as P,P as w,c as D,g as _}from"./useChartDataSelection-oJZtWCYi.js";import{a as k}from"./formatTickValue-UVMjaxYs.js";import"./LazyAdminExport-B8NZvb6Q.js";import"./RoleCell-C2bUEPUX.js";import"./useApiTokens-CUb6SDEP.js";const q=l(n)(({theme:s})=>({display:"flex",alignItems:"center",gap:s.spacing(.5)})),H=()=>{c("Network - Backend Connections");const{isOss:s}=d(),{chartDataSelection:t,setChartDataSelection:i,options:o}=T(),{chartData:r}=b(t);return e.jsx(p,{condition:s(),show:e.jsx(a,{severity:"warning",children:"Not enabled."}),elseShow:e.jsx(e.Fragment,{children:e.jsxs(v,{children:[e.jsxs(P,{children:[e.jsx(n,{children:e.jsx(a,{severity:"info",icon:!1,children:e.jsxs(q,{children:[e.jsx(h,{children:"1 connection = 7200 backend SDK requests per day"}),e.jsx(g,{title:"1 connection involves polling every 15 seconds and sending metrics every 60 seconds. This translates to 5 requests per minute, 300 requests per hour, and 7200 requests per day.",children:e.jsx(u,{})})]})})}),e.jsx(w,{selectedPeriod:t,setPeriod:i})]}),e.jsx(x,{data:r,plugins:[D()],options:o,"aria-label":_(t)})]})})})};j.register(k,m,y,C,S,f,B);export{H as BackendConnections,H as default};