Skip to content

Better handling op (span name) when using opentelemetry instrumentation #107684

@antoine-de

Description

@antoine-de

Problem Statement

Hi,

I'm trying to replace the instrumentation in one of my python library from sentry_sdk to opentelementry-api (but still sending the traces to sentry.io), and it's way easier than when I tried some time ago, thanks 👍 (even if the documentation could use a migrating guide).

One thing that is bothering me is the different way of handling op (also called span.name). Before the op cardinality when very limited, and a good way to find the traces in sentry (I'm using the hosted sentry.io). But now, I don't see an easy way to control this op (it seems that apart from some http/db cases, it's only the name of the span).

Then it's harder to group the traces by name.

Is there a way to control this?

Solution Brainstorm

No response

Product Area

Unknown

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions