fluent / fluent/fluent-plugin-prometheus

fluentd_output_status_num_errors sould be counter

Open
#234 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
257
Forks
83
Avg merge
1d 16h
Merged PRs (30d)
7

Description

### 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

```markdown
- Fluentd version: v1.18
- Package version: v1.18
- Operating system: debian
- Kernel version: ?
```

### Your Configuration

```apache
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

```shell
no error
```

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.