Skip to content

Component to link to Sentry semantic conventions #14144

Open
@antonpirker

Description

@antonpirker

Problem Statement

We have semantic conventions: https://getsentry.github.io/sentry-conventions/generated/attributes/

Those describe attributes that can be set on a span in detail.
It would be cool to have an easy way to link to those conventions.

This would be helpful in the develop docs as well as the user docs.

Solution Brainstorm

Something similar to PlatformLink:

You need to set <SentryConvLink attribute="gen_ai.request.model"/> to "bla".

This then would link to the attribute in the semantic conventions. Something like this:

You need to set gen_ai.request.model to "bla".

Extra sexy would be that on hovering over the link you see a tooltip:

Image

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