From 8914df60a93c93f48fc7306b5b4edf347474894a Mon Sep 17 00:00:00 2001 From: David Mehren Date: Sun, 18 Apr 2021 12:31:28 +0200 Subject: Add prometheus endpoint at /metrics This is currently just using the default metrics of prometheus-api-metrics. Signed-off-by: David Mehren --- package.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package.json') 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", -- cgit v1.2.3