Add metrics endpoint (#1515)

This commit adds the new package prom-client in order to expose metrics
to prometheus as well as the endpoint and the configuration to do so.
This commit is contained in:
Bruno Bacarini
2021-03-10 23:10:10 +00:00
committed by GitHub
parent 8d2371917f
commit b0b172a362
3 changed files with 41 additions and 5 deletions

View File

@@ -111,6 +111,7 @@
"oauth-1.0a": "^2.2.6",
"open": "^7.0.0",
"pg": "^8.3.0",
"prom-client": "^13.1.0",
"request-promise-native": "^1.0.7",
"sqlite3": "^5.0.1",
"sse-channel": "^3.1.1",