From 055edac75d0e9a50625ab6e74e7738e9a0bb784f Mon Sep 17 00:00:00 2001 From: Serafeim Margaritis Date: Tue, 12 Sep 2023 13:07:56 +0300 Subject: [PATCH] disable path and merge status codes in prom metrics --- src/middlewares/metrics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewares/metrics.js b/src/middlewares/metrics.js index 1f562ed..d85d266 100644 --- a/src/middlewares/metrics.js +++ b/src/middlewares/metrics.js @@ -6,7 +6,7 @@ const queue = require('../queue'); const isEnabled = config.get('metrics:enabled'); const prometheusBundle = isEnabled ? promBundle({ - includePath: true, + includePath: false, includeMethod: true, autoregister: false, // Do not register the metrics endpoint promClient: {