Add a Prometheus metrics page, with some database metrics

The database size is growing, but it's hard to know what parts are growing the
fastest. These metrics will hopefully help with understanding that.
This commit is contained in:
Christopher Baines 2020-09-06 13:14:31 +01:00
parent a0cd1097f9
commit c596a1c6a9
3 changed files with 124 additions and 0 deletions

View file

@ -73,6 +73,7 @@ SOURCES = \
guix-data-service/comparison.scm \
guix-data-service/config.scm \
guix-data-service/database.scm \
guix-data-service/metrics.scm \
guix-data-service/substitutes.scm \
guix-data-service/utils.scm \
guix-data-service/data-deletion.scm \