Prometheus endpoint for internal stats #258
Labels
enhancement
New feature or request
question
Any question related to Skogul, how it works, "is this the intended behaviour" etc.
We're using Prometheus for our metrics. I know that Skogul supports internal stats, and can send it through any sender to a valid recipient. However, Prometheus is pull-based, rather than send-based (which skogul is), so I can't really see any simple way of exposing these metrics.
This is an open question of supporting more ways of exposing skogul internal metrics (in this case: prometheus).
An example implementation if this is accepted could be to ship a startup-flag for a dedicated http server which exposes these metrics, pulled from the internal
skogul.Stats
structure(s), e.g. using-prometheus-metrics-listen-addr
,-prometheus-metrics-listen-port
, etc... This way it will not interfere with skogul unless explicitly enabled.The text was updated successfully, but these errors were encountered: