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

web-interface.assets.628bc5f1-21.8082683cbeb94d06c5f9.js Maven / Gradle / Ivy

There is a newer version: 6.0.6
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["628bc5f1-21"],{"2wyBGuX7":function(e,t,n){"use strict";n.d(t,"a",(function(){return o.a})),n.d(t,"b",(function(){return f}));var r=n("ivGQtwpr"),o=(n("qoq4u5Uq"),n("E0PFEP8H"),n("jHp4XH0b")),a=n("ii0bleBb"),i=n.n(a),s=n("CzyxmveH"),c=n("0tVB/fkh"),l=s.default.div.withConfig({displayName:"SmallSupportLink__Description",componentId:"sc-1otjh3-0"})(["display:inline-flex;justify-content:center;align-items:center;"]),u=s.default.div.withConfig({displayName:"SmallSupportLink__IconStack",componentId:"sc-1otjh3-1"})((function(e){var t=e.theme;return Object(s.css)(["position:relative;min-width:2.5em;.fa-stack-1x{color:",";}.fa-stack-2x{color:",";}"],t.colors.global.textAlt,t.colors.global.textDefault)})),m=s.default.p.withConfig({displayName:"SmallSupportLink__Content",componentId:"sc-1otjh3-2"})(["font-weight:bold;margin:0;"]),p=function(e){var t=e.children;return r.createElement(l,{className:"description-tooltips"},r.createElement(u,{className:"fa-stack"},r.createElement(c.z,{name:"circle",className:"fa-stack-2x"}),r.createElement(c.z,{name:"lightbulb",className:"fa-stack-1x",type:"regular"})),r.createElement(m,null,t))};p.propTypes={children:i.a.node.isRequired};var f=p;n("75Z74Q9B")},eZLocFJ0:function(e,t,n){"use strict";var r={getValuesForNode:function(e,t){if(null==e||0===Object.keys(e).length)return{};var n={};return Object.keys(t).forEach((function(r){var o=t[r],a=e[o];a&&("gauge"===a.type?n[r]=a.metric.value:"counter"===a.type?n[r]=a.metric.count:"meter"===a.type||"timer"===a.type?n[r]=a.metric.rate.total:n[r]=null)})),n}};t.a=r},uDz1H3Kh:function(e,t,n){"use strict";n.d(t,"c",(function(){return he})),n.d(t,"a",(function(){return Oe})),n.d(t,"b",(function(){return Jt}));var r=n("ii0bleBb"),o=n.n(r),a=n("ivGQtwpr"),i=n.n(a),s=n("PcYM+wZ7"),c=n.n(s),l=n("4KF7VOU5"),u=n.n(l),m=n("qoq4u5Uq"),p=n("0tVB/fkh"),f=n("1VnJesae"),d=n("9pdI12pI"),y=n.n(d),h=n("eZLocFJ0"),g=n("JBQWIv26"),b=f.a.getStore("Metrics"),E=g.a.getActions("Metrics"),v=c()({displayName:"NodeThroughput",propTypes:{nodeId:o.a.string.isRequired,longFormat:o.a.bool},mixins:[u.a.connect(b)],getDefaultProps:function(){return{longFormat:!1}},UNSAFE_componentWillMount:function(){var e=this;this.metricNames={totalIn:"org.graylog2.throughput.input.1-sec-rate",totalOut:"org.graylog2.throughput.output.1-sec-rate"},Object.keys(this.metricNames).forEach((function(t){return E.add(e.props.nodeId,e.metricNames[t])}))},componentWillUnmount:function(){var e=this;Object.keys(this.metricNames).forEach((function(t){return E.remove(e.props.nodeId,e.metricNames[t])}))},_isLoading:function(){return!this.state.metrics},_formatThroughput:function(e){return this.props.longFormat?i.a.createElement("span",null,"Processing ",i.a.createElement("strong",null,y()(e.totalIn).format("0,0"))," incoming and ",i.a.createElement("strong",null,y()(e.totalOut).format("0,0"))," outgoing msg/s."):i.a.createElement("span",null,"In ",y()(e.totalIn).format("0,0")," / Out ",y()(e.totalOut).format("0,0")," msg/s.")},render:function(){if(this._isLoading())return i.a.createElement(p.db,{text:"Loading throughput..."});var e=this.props.nodeId,t=this.state.metrics[e],n=h.a.getValuesForNode(t,this.metricNames);return 0===Object.keys(n).length?i.a.createElement("span",null,"Unable to load throughput."):this._formatThroughput(n)}}),_=n("oCSEoDew"),j=n.n(_),w=n("X+7LuFrS"),S=n("W+sNG9T1"),O=n("2TR3G8VE");function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){for(var n=0;n=1&&(o=i.a.createElement("span",null,i.a.createElement("strong",null,"Warning!")," The journal utilization is exceeding the maximum size defined."," ",i.a.createElement(w.a,{to:S.a.SYSTEM.OVERVIEW},"Click here")," for more information.",i.a.createElement("br",null))),i.a.createElement(m.L,{className:"row-sm"},i.a.createElement(m.j,{md:6},i.a.createElement("h3",null,"Configuration"),i.a.createElement("dl",{className:"system-journal"},i.a.createElement("dt",null,"Path:"),i.a.createElement("dd",null,n.journal_config.directory),i.a.createElement("dt",null,"Earliest entry:"),i.a.createElement("dd",null,i.a.createElement(p.hb,{dateTime:a,relative:!0})),i.a.createElement("dt",null,"Maximum size:"),i.a.createElement("dd",null,H.a.formatBytes(n.journal_config.max_size)),i.a.createElement("dt",null,"Maximum age:"),i.a.createElement("dd",null,He.a.duration(n.journal_config.max_age).format("d [days] h [hours] m [minutes]")),i.a.createElement("dt",null,"Flush policy:"),i.a.createElement("dd",null,"Every ",y()(n.journal_config.flush_interval).format("0,0")," messages"," ","or ",He.a.duration(n.journal_config.flush_age).format("h [hours] m [minutes] s [seconds]")))),i.a.createElement(m.j,{md:6},i.a.createElement("h3",null,"Utilization"),i.a.createElement(Ke,{bars:[{value:100*r.utilizationRatio,label:H.a.formatPercentage(r.utilizationRatio)}]}),o,i.a.createElement("strong",null,y()(r.entriesUncommitted).format("0,0")," unprocessed messages")," ","are currently in the journal, in ",r.segments," segments.",i.a.createElement("br",null),i.a.createElement("strong",null,y()(r.append).format("0,0")," messages")," ","have been appended in the last second,"," ",i.a.createElement("strong",null,y()(r.read).format("0,0")," messages")," have been read in the last second."))}}),Qe=n("GhoMYXSj");function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function et(e,t){for(var n=0;n




© 2015 - 2024 Weber Informatics LLC | Privacy Policy