What are the 'averages' in Graylog extractor metrics?

239 views Asked by At

Using Graylog v3.3.5:

When I look at the metric details of an input's extractor it has these average values:

Metrics 3,684,359 total invocations since boot, averages: NaN, 0.67, 42.04.

Can anyone define what this is an average of?

The rest of the metrics look like this: GraylogExtractorMetrics

1

There are 1 answers

0
Swisstone On BEST ANSWER

It's respectively the One/Five/Fifteen minute rate for this extractor (rate=invocations).

You can see that in the code :

       {numeral(metrics.total.rate.one_minute).format('0,0.[00]')},{' '}
       {numeral(metrics.total.rate.five_minute).format('0,0.[00]')},{' '}
       {numeral(metrics.total.rate.fifteen_minute).format('0,0.[00]')}.

The rate is a RateMetricsResponse which eventually brings us in com.codahale.metrics.Timer, where we can see more details about the metrics, e.g:

getFifteenMinuteRate()

Returns the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.