Plugins: Add tracing to pipeline (#115448)

This commit is contained in:
Todd Treece
2025-12-17 09:08:17 -05:00
committed by GitHub
parent af85563527
commit 33e53db53a
13 changed files with 168 additions and 13 deletions
+21
View File
@@ -140,6 +140,27 @@ func GrafanaPluginId(val string) attribute.KeyValue {
return grafanaPluginIdKey.String(val)
}
// Describes Grafana plugin source attributes.
const (
// GrafanaPluginSourceClassKey is the attribute Key conforming to the
// "grafana.plugin.source.class" semantic conventions. It represents the
// plugin source class.
//
// Type: Enum
// RequirementLevel: Optional
// Stability: stable
grafanaPluginSourceClassKey = attribute.Key("grafana.plugin.source.class")
)
var (
// Core Plugin
GrafanaPluginSourceClassCore = grafanaPluginSourceClassKey.String("core")
// External Plugin
GrafanaPluginSourceClassExternal = grafanaPluginSourceClassKey.String("external")
// Unknown Plugin Source
GrafanaPluginSourceClassUnknown = grafanaPluginSourceClassKey.String("unknown")
)
// Describes Grafana service attributes.
const (
// GrafanaServiceNameKey is the attribute Key conforming to the