UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

2 lines (1 loc) 1.41 kB
import{s as l,B as n,cY as c,bc as d,j as e,C as p,V as t,T as g,y as h,hL as j,jn as u,jg as x,jh as m,ji as y,jj as C,jk as f,jl as S,jm as B}from"./index-BAMIkcom.js";import{u as T,b,S as k,T as v,P as w,n as P,g as D}from"./networkTrafficUsageHighlightPlugin-Dje5Vuvo.js";import{a as q}from"./formatTickValue-Csg87IVi.js";import"./LazyAdminExport-BOTczpO1.js";import"./RoleCell-Da0TjMne.js";import"./useApiTokens-Btk4Hd2u.js";import"./PercentageDonut-BoaVP9ed.js";const _=l(n)(({theme:s})=>({display:"flex",alignItems:"center",gap:s.spacing(.5)})),H=()=>{c("Network - Backend Connections");const{isOss:s}=d(),{chartDataSelection:a,setChartDataSelection:i,options:o}=T(),{chartData:r}=b(a);return e.jsx(p,{condition:s(),show:e.jsx(t,{severity:"warning",children:"Not enabled."}),elseShow:e.jsx(e.Fragment,{children:e.jsxs(k,{children:[e.jsxs(v,{children:[e.jsx(n,{children:e.jsx(t,{severity:"info",icon:!1,children:e.jsxs(_,{children:[e.jsx(g,{children:"1 connection = 7200 backend SDK requests per day"}),e.jsx(h,{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(j,{})})]})})}),e.jsx(w,{selectedPeriod:a,setPeriod:i})]}),e.jsx(u,{data:r,plugins:[P],options:o,"aria-label":D(a)})]})})})};x.register(q,m,y,C,f,S,B);export{H as BackendConnections,H as default};