Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 5ee81ce

Browse files
committed
config
1 parent 891e58d commit 5ee81ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/otel.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Allow to trace requests with specific headers. You can use `*` as wildcard.
1818
*/
19-
'allowed_headers' => explode(',', env('OTEL_ALLOWED_HEADERS', join(',', [
19+
'allowed_headers' => explode(',', env('OTEL_ALLOWED_HEADERS', implode(',', [
2020
'referer',
2121
'x-*',
2222
'accept',
@@ -26,15 +26,15 @@
2626
/**
2727
* Sensitive headers will be marked as *** from the span attributes. You can use `*` as wildcard.
2828
*/
29-
'sensitive_headers' => explode(',', env('OTEL_SENSITIVE_HEADERS', join(',', [
29+
'sensitive_headers' => explode(',', env('OTEL_SENSITIVE_HEADERS', implode(',', [
3030
// 'cookie',
3131
// 'authorization',
3232
]))),
3333

3434
/**
3535
* Ignore paths will not be traced. You can use `*` as wildcard.
3636
*/
37-
'ignore_paths' => explode(',', env('OTEL_IGNORE_PATHS', join(',', [
37+
'ignore_paths' => explode(',', env('OTEL_IGNORE_PATHS', implode(',', [
3838
// 'api/*',
3939
// 'webhook/*',
4040
]))),

0 commit comments

Comments
 (0)