You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please note that if you scrape, the result comes with these comments.
# TYPE fluentd_status_buffer_queue_length gauge
# TYPE fluentd_status_buffer_total_bytes gauge
# TYPE fluentd_status_retry_count gauge
# TYPE fluentd_output_status_buffer_queue_length gauge
# TYPE fluentd_output_status_buffer_total_bytes gauge
# TYPE fluentd_output_status_retry_count gauge
# TYPE fluentd_output_status_num_errors gauge
# TYPE fluentd_output_status_emit_count gauge
# TYPE fluentd_output_status_emit_records gauge
# TYPE fluentd_output_status_write_count gauge
# TYPE fluentd_output_status_rollback_count gauge
# TYPE fluentd_output_status_retry_wait gauge
Another note: I'm using fluent-plugin-prometheus (1.3.0).
Thanks.
The text was updated successfully, but these errors were encountered:
nhosoi
added a commit
to nhosoi/fluentd-mixin
that referenced
this issue
Mar 25, 2019
… type
is "gauge" in the scraped result [1], the value is incremental and behaves
like a "counter" type. Thus, to get the current value, use the "rate"
function.
[1] - TYPE fluentd_output_status_num_errors gauge
Submitted an issue: fluent/fluent-plugin-prometheus#88
The plugin is scraping the results of fluentd's internal metrics and reporting them as prometheus metrics. We cannot observe changes so the metrics use gauge type.
Reading the code as well as in my testing, the values of the following keys could go up and down.
but for the rest, their values do not get reset but constantly incremented.
Considering this definition [1], isn't the type of the latter set "counter", instead of "gauge"?
[1] - https://prometheus.io/docs/concepts/metric_types/
Please note that if you scrape, the result comes with these comments.
Another note: I'm using fluent-plugin-prometheus (1.3.0).
Thanks.
The text was updated successfully, but these errors were encountered: