Skip to content

Disable server part of netty integration #9331

@gmariottiAtWolt

Description

@gmariottiAtWolt

Library Name

No response

Library Version(s)

No response

Describe the feature you'd like

Hi, due to how the dd-java-agent works with Ktor 3, I decided to try using the io.opentelemetry.instrumentation:opentelemetry-ktor-3.0 library directly and realized that the library tends to better propagate the OTel context. I now would like to disable the netty.request traces that are automatically created, but based on https://docs.datadoghq.com/tracing/trace_collection/compatibility/java, disabling the netty integration disables both the server and the client instrumentation, which is not my intention. Is there any way to selectively disable only the server part of Netty?

Is your feature request related to a problem?

No response

Describe alternatives you've considered

No response

Additional context

Libraries and their version:

  • ktor-bom: 3.2.3
  • dd-java-agent: 1.52.0
  • opentelemetry-bom: 1.52.0
  • opentelemetry-ktor-3.0: 2.16.0-alpha

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions