Skip to content

akka instrumentation adding extraneous slashes  #11896

Closed
@asuresh4

Description

@asuresh4

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcontribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomerepro provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions