mc-router icon indicating copy to clipboard operation
mc-router copied to clipboard

Prometheus Metrics

Open vorburger opened this issue 3 years ago • 1 comments

It would be useful if -metrics-backend prometheus was supported.

Using https://github.com/go-kit/kit/tree/master/metrics/prometheus this should be doable.

Altnernatively, one could run something like https://github.com/albertito/prometheus-expvar-exporter as a sidecar, but that seems a bit micro service overengineerified (to me).

@itzg would you welcome and merge a PR with this?Perhaps someone reading along here would like to contribute this?

vorburger avatar Dec 19 '21 23:12 vorburger

I'm already using go-kit, so a solution using that would be preferable.

itzg avatar Dec 19 '21 23:12 itzg