hynek / prometheus-async

Async Python helpers for the official prometheus-client.
https://prometheus-async.readthedocs.io/
Apache License 2.0
159 stars 15 forks source link

Async HTTP servers do not support openmetrics format #23

Closed jalaziz closed 2 years ago

jalaziz commented 2 years ago

The upstream prometheus client chooses the correct version of generate_latest to use based on accept headers.

However, it seems that this library only uses the default (non-openmetrics) generate_latest function.

jalaziz commented 2 years ago

Thanks!