Graylog2 / Graylog2/graylog2-server

Emit metrics for sidecars

Open
#20,848 0 comments 0 reactions 0 assignees View on GitHub
feature triaged
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.