Skip to content

Commit deca877

Browse files
committed
Blacklist prometheus metrics endpoint from OpenTelemetry traces
1 parent 5689a96 commit deca877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/open-telemetry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'disabledroutes' => [
1818
],
1919
'disabledpaths' => [
20-
'/' . env('PROMETHEUS_PATH', 'prometheus'),
20+
env('PROMETHEUS_PATH', '/prometheus'),
2121
]
2222
],
2323
];

0 commit comments

Comments
 (0)