Documentation
¶
Overview ¶
Package semconv contains Grafana's OpenTelemetry semantic conventions.
This package contains the standard attributes that are emitted by Grafana's OpenTelemetry instrumentation.
Index ¶
- Variables
- func GrafanaDatasourceRequestQueryCount(val int) attribute.KeyValue
- func GrafanaDatasourceType(val string) attribute.KeyValue
- func GrafanaDatasourceUid(val string) attribute.KeyValue
- func GrafanaPluginId(val string) attribute.KeyValue
- func GrafanaServiceName(val string) attribute.KeyValue
- func K8sDataplaneserviceName(val string) attribute.KeyValue
Constants ¶
This section is empty.
Variables ¶
var ( // Data Source Plugin GrafanaPluginTypeDatasource = grafanaPluginTypeKey.String("datasource") // Panel Plugin GrafanaPluginTypePanel = grafanaPluginTypeKey.String("panel") // App Plugin GrafanaPluginTypeApp = grafanaPluginTypeKey.String("app") // Renderer Plugin GrafanaPluginTypeRenderer = grafanaPluginTypeKey.String("renderer") )
Functions ¶
func GrafanaDatasourceRequestQueryCount ¶
GrafanaDatasourceRequestQueryCount returns an attribute KeyValue conforming to the "grafana.datasource.request.query_count" semantic conventions. It represents the number of queries in the request.
func GrafanaDatasourceType ¶
GrafanaDatasourceType returns an attribute KeyValue conforming to the "grafana.datasource.type" semantic conventions. It represents the datasource type.
func GrafanaDatasourceUid ¶
GrafanaDatasourceUid returns an attribute KeyValue conforming to the "grafana.datasource.uid" semantic conventions. It represents the datasource unique identifier.
func GrafanaPluginId ¶
GrafanaPluginId returns an attribute KeyValue conforming to the "grafana.plugin.id" semantic conventions. It represents the plugin ID.
func GrafanaServiceName ¶
GrafanaServiceName returns an attribute KeyValue conforming to the "grafana.service.name" semantic conventions. It represents the service name.
func K8sDataplaneserviceName ¶
K8sDataplaneserviceName returns an attribute KeyValue conforming to the "k8s.dataplaneservice.name" semantic conventions. It represents the name of the DataPlaneService.
Types ¶
This section is empty.