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

web-interface.assets.b6fe2bb5-9245.04d37ae4e0f343e0bda2.js Maven / Gradle / Ivy

"use strict";(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["b6fe2bb5-9245"],{coWjRrKD:(e,t,n)=>{n.r(t),n.d(t,{default:()=>g});var s=n("ii0bleBb"),r=n.n(s),a=n("Z7aTuO5B"),i=n("D4SbLiE/"),o=n.n(i),c=n("JnTtTRmZ"),l=n.n(c),d=n("AdUszsMQ"),m=n("Y1Txt3Ie"),u=n("CfS4XPvw"),p=n("2Ob2iJ3u"),f=n("+we59NjM"),h=n("b3xCUZUh"),b=o()({displayName:"ShowMetricsPage",propTypes:{location:r().object.isRequired,params:r().object.isRequired},mixins:[l().connect(h.S),l().connect(f.q),l().listenTo(h.S,"_getMetrics")],_getMetrics:function(){f.K.names()},render:function(){var e=this;if(!this.state.nodes||!this.state.metricsNames)return a.createElement(d.$j,null);var t=this.props.params.nodeId;if("leader"===t||"master"===t){var n=Object.keys(this.state.nodes);t=n.filter((function(t){return e.state.nodes[t].is_leader}))[0]||n[0]}var s=this.state,r=s.metricsNames,i=s.metricsErrors,o=this.state.nodes[t],c=a.createElement("span",null,"Metrics of node ",o.short_node_id," / ",o.hostname),l=f.q.namespace,u=r[t],p=i?i[t]:void 0,h=this.props.location.query.filter;return a.createElement(d.$4,{title:"Metrics of node ".concat(o.short_node_id," / ").concat(o.hostname)},a.createElement("span",null,a.createElement(d.mr,{title:c},a.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."),a.createElement("span",null,"This node is reporting a total of ",(u||[]).length," metrics.")),a.createElement(m.Po,{names:u,namespace:l,nodeId:t,filter:h,error:p})))}});const g=(0,u.Z)((0,p.Z)(b))}}]);
//# sourceMappingURL=b6fe2bb5-9245.04d37ae4e0f343e0bda2.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy