Describe the bug
prometheus metric fluentd_output_status_num_errors is exposed as gauge
but its behavior is more like a counter.
To Reproduce
enable prometheus metric in fluentd and read /metrics for
fluentd_output_status_num_errors
Expected behavior
to have this metrics exported as a counter with a proper counter name,
Your Environment
- Fluentd version: v1.18
- Package version: v1.18
- Operating system: debian
- Kernel version: ?
Your Configuration
config:
- source:
$type: prometheus
bind: 0.0.0.0
port: 24231
metrics_path: /metrics
- source:
$type: prometheus_output_monitor
interval: 10
labels:
hostname: ${hostname}
- source:
Your Error Log
Additional context
No response
Describe the bug
prometheus metric fluentd_output_status_num_errors is exposed as gauge
but its behavior is more like a counter.
To Reproduce
enable prometheus metric in fluentd and read /metrics for
fluentd_output_status_num_errorsExpected behavior
to have this metrics exported as a counter with a proper counter name,
Your Environment
Your Configuration
config: - source: $type: prometheus bind: 0.0.0.0 port: 24231 metrics_path: /metrics - source: $type: prometheus_output_monitor interval: 10 labels: hostname: ${hostname} - source:Your Error Log
Additional context
No response