Add prometheus endpoint at /metrics

This is currently just using the default metrics of prometheus-api-metrics.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren
2021-04-18 12:31:28 +02:00
parent dcf72148ce
commit 8914df60a9
3 changed files with 162 additions and 6 deletions

View File

@@ -108,6 +108,8 @@
"pg": "^8.2.1",
"pg-hstore": "^2.3.3",
"prismjs": "^1.21.0",
"prom-client": "^13.1.0",
"prometheus-api-metrics": "^3.2.0",
"randomcolor": "^0.6.0",
"raphael": "^2.3.0",
"readline-sync": "^1.4.7",