diff options
author | David Mehren | 2021-04-18 12:31:28 +0200 |
---|---|---|
committer | David Mehren | 2021-04-22 23:19:34 +0200 |
commit | 8914df60a93c93f48fc7306b5b4edf347474894a (patch) | |
tree | 521a2ddd4f2a31c8bfb2e98d9ac9e9a36385cb64 /package.json | |
parent | dcf72148cebd817399fc0e6067709281fdf2dac9 (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 '')
-rw-r--r-- | package.json | 2 |
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", |