jrasell / sherpa

Sherpa is a highly available, fast, and flexible horizontal job scaling for HashiCorp Nomad. It is capable of running in a number of different modes to suit different requirements, and can scale based on Nomad resource metrics or external sources.
Mozilla Public License 2.0
163 stars 8 forks source link

server: add prometheus format option to metrics endpoint. #101

Closed jrasell closed 4 years ago

jrasell commented 4 years ago

Previously the metrics endpoint exposed metrics in a format which was not consumable by prometheus. This update allows users to configure the telemetry setup to expose metrics in a prometheus friendly manner. In metrics endpoint now also accepts a format query param for use by Prometheus when scrapping to ensure metrics are in the desired format.

closes #100