Graylog2 / Graylog2/graylog2-server
Emit metrics for sidecars
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
## What?
It would be useful to have sidecar info (e.g. status) emitted as metrics. Ideally the sidecar names/IDs and sidecar version would be included, but at the moment I'm not quite sure what that'd look like-- having the status would be the most important piece.
For example:
```
gl_sidecar_total{status="running"} 101
gl_sidecar_total{status="failing"} 2
gl_sidecar_total{status="unknown"} 1
```
## Why?
We'd like to be able to track and visualize sidecar state transitions over time (Prometheus + Grafana), and alert on certain situations (e.g. are there failing sidecars, are there an abnormal number of sidecars in the "unknown" state, etc.).
Related to #7944 (and maybe others).
## Your Environment
* Graylog Version: `6.1.0`
Contributor guide
Assessment
This issue has not been assessed yet.