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

web-interface.assets.57e33c6c-112.11b9f72925818240e61d.js Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy