nexogen-international / Nexogen.Libraries.Metrics

Library for collecting application metrics in .NET and exporting them to Prometheus
MIT License
61 stars 9 forks source link

Protobuf exposition format should be added to the Prometheus exporter #20

Closed ahoka closed 5 years ago

ahoka commented 6 years ago

Currently only the text format is supported. The code should be refactored to handle both the text and protobuf formats, possibly by introducing an immediate representation and a pluggable backend.

https://prometheus.io/docs/instrumenting/exposition_formats/#protocol-buffer-format-details

ahoka commented 5 years ago

"As of Prometheus version 2.0, all processes that expose metrics to Prometheus need to use a text-based format."