Skip to content

SemConv guidance: document how to define spans #1853

@lmolkova

Description

@lmolkova

See https://github.com/open-telemetry/semantic-conventions/blob/main/docs/general/how-to-define-semantic-conventions.md#defining-spans

Some areas to cover:

  • granularity / when to define a new span vs reuse the same span definition across multiple operations
  • when to report span vs event
  • span name pattern
  • *operation.name attributes
  • sampling-relevant attributes
  • span duration vs metric duration
  • span status: link to recording errors
  • describing groups of spans (parent vs link)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Accepted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions