Commit Graph

3 Commits

Author SHA1 Message Date
b01d08c3e8 Expose Prometheus-compatible metrics at /metrics
This is a rough first-draft change, with multiple flaws, intended to
just start discussion around the feature request.

Issues include:

* It breaks compatibility, replacing the previous JSON /metrics
* It crudely hand-generates Prometheus-formatted data
* It would probably be better if it used
https://pypi.org/project/prometheus-client/

But it works locally and I have some nice graphs!
2020-12-22 22:34:14 +00:00
aa9737498a add controller options to allow multiple routes per controller 2020-02-23 18:32:37 +01:00
451eb99f8a split the controllers into separate files 2020-02-23 17:22:13 +01:00