Allow prometheus to scrape metrics #9285
Labels
backlog
This is not on the Weblate roadmap for now. Can be prioritized by sponsorship.
enhancement
Adding or requesting a new feature.
help wanted
Extra attention is needed.
Milestone
Describe the problem
Currently weblate offers two formats, "json" and "api" to expose metrics
https://docs.weblate.org/en/latest/api.html,
Prometheus only supports "text/plain; version=0.0.4", see here: https://prometheus.io/docs/instrumenting/exposition_formats/
So prometheus is not able to scrape weblate metrics, unless creating/deploying a json exporter.
Describe the solution you'd like
a third option to weblates REST API response format (for /api/metrics/)
Describe alternatives you've considered
deploying additionally an unofficial json exporter
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: