inhindsight / hindsight

Apache License 2.0
12 stars 8 forks source link

Metrics reporter #200

Closed jeffgrunewald closed 4 years ago

jeffgrunewald commented 4 years ago

Adds a metrics reporter library to be implemented in the application services and automatically creates a webserver exposing those metrics with prometheus-optimized naming conventions on the /metrics endpoint.

Extend the specific metrics exported by overriding the behaviour's default metrics/0 function to list the metrics desired.