All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.1255d548-9145.98fcf4c8bd3691fe4ea7.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
"use strict";(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["1255d548-9145"],{"5kDqexKE":(T,c,e)=>{e.r(c),e.d(c,{default:()=>f});var t=e("Z7aTuO5B"),i=e("DUKaTDO2"),m=e("gToK60tD"),_=e("/GOzvPf6"),P=e("nKnTKuph"),D=e("woUyHGxd"),M=e("Vg8s2y9S"),O=e("8fnsnG21"),g=e("brbjQOmY"),u=e("6dLKCZdN");const d=D.q.namespace,v=s=>{var n;const{nodeId:o}=(0,u.Z)();if(o==="leader"||o==="master"){if(s===void 0)return;const r=Object.keys(s);return(n=r.filter(a=>s[a].is_leader)[0])!=null?n:r[0]}return o},f=()=>{const s=(0,O.o)(M.S,l=>l.nodes),n=v(s),{data:o,isLoading:r}=(0,i.useQuery)(["metrics","names",n],()=>m.j7.byNamespace(n,d).then(({metrics:l})=>l),{enabled:n!==void 0}),{filter:E}=(0,g.Z)();if(!s||r)return t.createElement(_.$j,null);const a=s[n],K=t.createElement("span",null,"Metrics of node ",a.short_node_id," / ",a.hostname);return t.createElement(_.$4,{title:`Metrics of node ${a.short_node_id} / ${a.hostname}`},t.createElement("span",null,t.createElement(_.mr,{title:K},t.createElement("span",null,"All Graylog nodes provide a set of internal metrics for diagnosis, debugging and monitoring. Note that you can access all metrics via JMX, too.",t.createElement("br",null),"This node is reporting a total of ",(o||[]).length," metrics.")),t.createElement(P.Po,{names:o,namespace:d,nodeId:n,filter:E})))}}}]);})();

//# sourceMappingURL=1255d548-9145.98fcf4c8bd3691fe4ea7.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy