Skip to content

Commit

Permalink
Merge pull request #84 from transifex/prom-metrics
Browse files Browse the repository at this point in the history
Disable path and merge status codes in prom metrics
  • Loading branch information
SerafeimMarg authored Sep 13, 2023
2 parents 88d67fa + 055edac commit 707ace9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 707ace9

Please sign in to comment.