refactor: move to express-prom-bundle for monitoring

This commit is contained in:
Rainer Killinger
2022-08-19 10:31:30 +02:00
parent 9e1017edfb
commit c2b0d22a25
4 changed files with 73 additions and 581 deletions

View File

@@ -1,7 +1,10 @@
{
"metricsPath": "/metrics",
"collectDefaultMetrics": true,
"requestDurationBuckets": [0.1, 0.5, 1, 2, 5, 10, 20],
"requestLengthBuckets": [512, 1024, 5120, 10240, 51200, 102400],
"responseLengthBuckets": [512, 1024, 5120, 10240, 51200, 102400]
"includeMethod": true,
"includePath": true,
"promClient": {
"collectDefaultMetrics": {
}
},
"for-more-options-see": "https://github.com/jochen-schweizer/express-prom-bundle#options"
}