For APM auto-instrumentation, is there a way to capture the full request paths (ie. /home/login.do , /home/search.do) and to disable normalization (ie. /home/*.do) #14813
Replies: 3 comments
|
This doesn't look like a collector issue. You should ask this question directly in the SDK's repository. |
|
To add to @dmathieu's pointer, for Java auto-instrumentation specifically,
The most direct solution is to use the For .NET, the equivalent is configuring the Best bet: ask specifically in https://github.com/open-telemetry/opentelemetry-java-instrumentation |
|
That normalized value is the The full concrete path is already captured, just as an attribute rather than the span name. Under current stable HTTP semconv that is If a backend really must show the full path as the span name, rewrite it in the Collector with the transform processor (OTTL): processors:
transform:
error_mode: ignore
trace_statements:
- set(span.name, span.attributes["url.path"]) where span.attributes["url.path"] != nilNothing needs to be un-normalized at the instrumentation level. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Is there a system property for JAVA auto-instrumentation, or .NET, to not allow spans to be normalized (eg. /home/*.do) and instead capture the full request path such as these:
/home/login.do
/home/search.do
All reactions