Closed
Description
Describe the bug
akka instrumentation adding extraneous slashes to http.route
attribute and span name.
Steps to reproduce
https://github.com/asuresh4/akka-example/tree/main contains an example where this behavior is readily reproducible along with steps.
Expected behavior
Span name and http.route
attribute take the following forms GET /ball/*
or /ball/*
.
Actual behavior
Span name and http.route
attribute take the following forms GET //ball//*
or //ball//*
with additional slashes.
Javaagent or library instrumentation version
2.6.0
Environment
JDK:
openjdk 21.0.3 2024-04-16
OpenJDK Runtime Environment Homebrew (build 21.0.3)
OpenJDK 64-Bit Server VM Homebrew (build 21.0.3, mixed mode, sharing)
OS: MacOS
Additional context
The url.path
attribute is set to values without extraneous slashes.