Skip to content

Added KTor plugin, but tracing is being suppressed #7755

@anderssv

Description

@anderssv

Hi,

I am trying to get the KTor (server, alpha) plugin working. I have added the library, and the agent on the command line. I have also validated that is is loaded (globally) without a noop implementation.

Do I have to set up each endpoint in KTor specifically? Or add another setting to enable endpoint traces? I want all endpoints to be recorded automatically and was hoping adding the plugin and agent would be enough.

Through debugging the code I have found that the plugin does not trigger on a endpoint because suppressed = true. But I have a hard time to understand what the basis of the suppression is? Span type seems to be 'SERVER' and the trace implementation id is 'io.opentelemetry.ktor-2.0'.

What am I doing wrong? :) I might have the wrong model as I am coming from the New Relic agent where you don't need to setup anything else...?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions