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

web-interface.assets.bb8c8232-132.187803040eada3f837b3.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([["bb8c8232-132"],{"5kDqexKE":(I,l,e)=>{e.r(l),e.d(l,{default:()=>f});var t=e("Z7aTuO5B"),i=e("DUKaTDO2"),m=e("xAuw/bbM"),c=e("IOI9nV80"),M=e("nKnTKuph"),O=e("woUyHGxd"),P=e("Vg8s2y9S"),D=e("8fnsnG21"),u=e("brbjQOmY"),g=e("6dLKCZdN");const E=O.$.namespace,v=s=>{var n;const{nodeId:o}=(0,g.A)();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,D.P)(P.j,_=>_.nodes),n=v(s),{data:o,isLoading:r}=(0,i.useQuery)(["metrics","names",n],()=>m.mr.byNamespace(n,E).then(({metrics:_})=>_),{enabled:n!==void 0}),{filter:d}=(0,u.A)();if(!s||r)return t.createElement(c.y$,null);const a=s[n],A=t.createElement("span",null,"Metrics of node ",a.short_node_id," / ",a.hostname);return t.createElement(c.Qc,{title:`Metrics of node ${a.short_node_id} / ${a.hostname}`},t.createElement("span",null,t.createElement(c.zY,{title:A},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(M.pG,{names:o,namespace:E,nodeId:n,filter:d})))}}}]);})();

//# sourceMappingURL=bb8c8232-132.187803040eada3f837b3.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy