Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

akka instrumentation adding extraneous slashes #11896

Closed
asuresh4 opened this issue Jul 24, 2024 · 1 comment · Fixed by #11926
Closed

akka instrumentation adding extraneous slashes #11896

asuresh4 opened this issue Jul 24, 2024 · 1 comment · Fixed by #11926
Labels
bug Something isn't working contribution welcome Request makes sense, maintainers probably won't have time, contribution would be welcome repro provided

Comments

@asuresh4
Copy link
Member

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.

@asuresh4 asuresh4 added bug Something isn't working needs triage New issue that requires triage labels Jul 24, 2024
@asuresh4
Copy link
Member Author

cc: @breedx-splk

@trask trask added repro provided contribution welcome Request makes sense, maintainers probably won't have time, contribution would be welcome and removed needs triage New issue that requires triage labels Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working contribution welcome Request makes sense, maintainers probably won't have time, contribution would be welcome repro provided
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants