grafana/pkg/semconv
2026-01-16 10:50:12 +01:00
..
model Plugins: Add tracing to pipeline (#115448) 2025-12-17 09:08:17 -05:00
templates Semconv: Change keys to private constants (#91508) 2024-08-02 16:13:00 -04:00
attributes.go Plugins: Add tracing to pipeline (#115448) 2025-12-17 09:08:17 -05:00
doc.go Chore: Add semconv package (#91408) 2024-08-02 08:35:18 -04:00
go.mod Go: Update to 1.25.6 (#116394) 2026-01-16 10:50:12 +01:00
go.sum Apps: update grafana-app-sdk to v0.48.7 (#115362) 2025-12-17 08:47:21 +03:00
Makefile Plugins: Add tracing to pipeline (#115448) 2025-12-17 09:08:17 -05:00
plugins.go Plugins: Add tracing to pipeline (#115448) 2025-12-17 09:08:17 -05:00
README.md Plugins: Add tracing to pipeline (#115448) 2025-12-17 09:08:17 -05:00

Grafana OpenTelemetry Semantic Conventions

Adding new attributes

  1. Add a new attribute to a new or existing attribute group in model/registry.
  2. Add a reference to the new attribute in a new or existing attribute group in model/trace.
  3. If you are adding a new attribute group, add a new semconv HTML comment tag to the README.md file with the name of the new attribute group.
  4. Run make all to update the generated files.

For more information:

Attribute Groups

grafana.datasource

Attribute Type Description Examples Requirement Level Stability
grafana.datasource.type string The datasource type. prometheus; loki; grafana-github-datasource Recommended Stable
grafana.datasource.uid string The datasource unique identifier. abcdefg-123456 Recommended Stable

grafana.datasource.request

Attribute Type Description Examples Requirement Level Stability
grafana.datasource.request.query_count int The number of queries in the request. 3 Recommended Stable

k8s

Attribute Type Description Examples Requirement Level Stability
k8s.dataplaneservice.name string The name of the DataPlaneService. v0alpha1.prometheus.grafana.app Recommended Stable

grafana.plugin

Attribute Type Description Examples Requirement Level Stability
grafana.plugin.id string The plugin ID. prometheus; loki; grafana-github-datasource Recommended Stable
grafana.plugin.source.class string The plugin source class. core Recommended Stable
grafana.plugin.type string The plugin type. datasource Recommended Stable