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

web-interface.assets.0c1a66a2-102.1ec71fc30880f2142b45.js Maven / Gradle / Ivy

There is a newer version: 6.0.5
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["0c1a66a2-102"],{aVRH75Fb:function(e,t,a){"use strict";a.r(t);var n=a("ii0bleBb"),s=a.n(n),i=a("ivGQtwpr"),o=a.n(i),r=a("PcYM+wZ7"),c=a.n(r),l=a("4KF7VOU5"),d=a.n(l),m=a("1VnJesae"),p=a("JBQWIv26"),u=a("oBIKikY9"),h=a("hX+ZxOpo"),f=m.a.getStore("Nodes"),g=m.a.getStore("Metrics"),b=p.a.getActions("Metrics"),v=c()({displayName:"ShowMetricsPage",propTypes:{location:s.a.object.isRequired,params:s.a.object.isRequired},mixins:[d.a.connect(f),d.a.connect(g),d.a.listenTo(f,"_getMetrics")],_getMetrics:function(){b.names()},render:function(){var e=this;if(!this.state.nodes||!this.state.metricsNames)return o.a.createElement(u.L,null);var t=this.props.params.nodeId;if("master"===t){var a=Object.keys(this.state.nodes);t=a.filter((function(t){return e.state.nodes[t].is_master}))[0]||a[0]}var n=this.state.nodes[t],s=o.a.createElement("span",null,"Metrics of node ",n.short_node_id," / ",n.hostname),i=g.namespace,r=this.state.metricsNames[t],c=this.props.location.query.filter;return o.a.createElement(u.i,{title:"Metrics of node ".concat(n.short_node_id," / ").concat(n.hostname)},o.a.createElement("span",null,o.a.createElement(u.A,{title:s},o.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."),o.a.createElement("span",null,"This node is reporting a total of ",r.length," metrics.")),o.a.createElement(h.i,{names:r,namespace:i,nodeId:t,filter:c})))}});t.default=v}}]);
//# sourceMappingURL=0c1a66a2-102.1ec71fc30880f2142b45.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy