Skip to content

Commit 948e77e

Browse files
authored
Add trace id if possible from either APM or OTEL (#55)
* Add trace id where possible * Add opentelemtry sdk to dev deps * Add span if either OTEL or APM * Add span if either OTEL or APM * Cs fixer * Fix stan * check for non valid spans * Add allow list for allowed headers to be added to http.request.headers * Update composer lock
1 parent 2e6e731 commit 948e77e

4 files changed

Lines changed: 1715 additions & 340 deletions

File tree

composer.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,15 @@
1818
},
1919
"require-dev": {
2020
"cego/php-cs-fixer": "^2",
21-
"phpstan/phpstan": "^2"
21+
"phpstan/phpstan": "^2",
22+
"open-telemetry/sdk": "^1.8",
23+
"symfony/http-client": "^7.3",
24+
"nyholm/psr7": "^1.8"
25+
},
26+
"config": {
27+
"allow-plugins": {
28+
"php-http/discovery": true,
29+
"tbachert/spi": true
30+
}
2231
}
2332
}

0 commit comments

Comments
 (0)