[config/confighttp] Fix high cardinality span name from request method from confighttp server internal telemetry#14522
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #14522 +/- ##
==========================================
- Coverage 91.85% 91.84% -0.01%
==========================================
Files 677 677
Lines 42705 42712 +7
==========================================
+ Hits 39226 39230 +4
- Misses 2425 2427 +2
- Partials 1054 1055 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging this PR will not alter performanceComparing
|
Description
Bound cardinality from request method in span name by passing thorugh upper case request method only if well known, otherwise set
{method}toHTTP.Implemented according to https://opentelemetry.io/docs/specs/semconv/http/http-spans/
Link to tracking issue
Fixes #14516
Testing
Unit test for unknown method and lowercase method.
Documentation