summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorDavid Mehren2021-04-18 12:31:28 +0200
committerDavid Mehren2021-04-22 23:19:34 +0200
commit8914df60a93c93f48fc7306b5b4edf347474894a (patch)
tree521a2ddd4f2a31c8bfb2e98d9ac9e9a36385cb64 /package.json
parentdcf72148cebd817399fc0e6067709281fdf2dac9 (diff)
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>
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/package.json b/package.json
index 121f29aa..8d79e54f 100644
--- a/package.json
+++ b/package.json
@@ -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",