mu-semtech / delta-notifier

Sends notifications about changes to interested mu.semte.ch microservices
0 stars 14 forks source link

Feature/robust-healt-check #5

Open HugaertsDries opened 3 years ago

HugaertsDries commented 3 years ago

Introduced a metric endpoint. This endpoint can be integrated within Prometheus by following along with this gist.

erikap commented 10 months ago

Does the metric endpoint add additional information compared to the info we can retrieve from app-http-logger?

nvdk commented 10 months ago

There's some overlap, but this does serve a different purpose. The metric endpoint is useful for real-time metric-based monitoring, such as our prometheus stack. With this endpoint it's possible to:

none of which are possible with app http logger

The App http logger empowers analysis and search capabilities of http traffic and a such could give you similar metrics, but more in an after the fact manner.

FYI I'm reworking this PR basing myself on #17 . I'm leaning towards directly exposing metrics in the openmetrics standard vs json though, since I see little value in using a non standard json format for the metrics.