mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Add semconv package (#91408)
This commit is contained in:
29
pkg/semconv/model/registry/datasource.yml
Normal file
29
pkg/semconv/model/registry/datasource.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
groups:
|
||||
- id: registry.grafana.datasource
|
||||
type: attribute_group
|
||||
display_name: Grafana Data Source Attributes
|
||||
brief: "Describes Grafana datasource attributes."
|
||||
attributes:
|
||||
- id: grafana.datasource.type
|
||||
type: string
|
||||
brief: The datasource type.
|
||||
examples:
|
||||
- "prometheus"
|
||||
- "loki"
|
||||
- "grafana-github-datasource"
|
||||
stability: stable
|
||||
- id: grafana.datasource.uid
|
||||
type: string
|
||||
brief: The datasource unique identifier.
|
||||
examples: abcdefg-123456
|
||||
stability: stable
|
||||
- id: registry.grafana.datasource.request
|
||||
type: attribute_group
|
||||
display_name: Grafana Data Source Request Attributes
|
||||
brief: "Describes Grafana data source request attributes."
|
||||
attributes:
|
||||
- id: grafana.datasource.request.query_count
|
||||
type: int
|
||||
brief: The number of queries in the request.
|
||||
examples: 3
|
||||
stability: stable
|
||||
40
pkg/semconv/model/registry/plugin.yml
Normal file
40
pkg/semconv/model/registry/plugin.yml
Normal file
@@ -0,0 +1,40 @@
|
||||
groups:
|
||||
- id: registry.grafana.plugin
|
||||
type: attribute_group
|
||||
display_name: Grafana Plugin Attributes
|
||||
brief: "Describes Grafana plugin attributes."
|
||||
attributes:
|
||||
- id: grafana.plugin.id
|
||||
type: string
|
||||
brief: The plugin ID.
|
||||
examples:
|
||||
- "prometheus"
|
||||
- "loki"
|
||||
- "grafana-github-datasource"
|
||||
stability: stable
|
||||
- id: grafana.plugin.type
|
||||
type:
|
||||
members:
|
||||
- id: datasource
|
||||
value: "datasource"
|
||||
brief: 'Data Source Plugin'
|
||||
stability: stable
|
||||
- id: panel
|
||||
value: "panel"
|
||||
brief: 'Panel Plugin'
|
||||
stability: stable
|
||||
- id: app
|
||||
value: "app"
|
||||
brief: 'App Plugin'
|
||||
stability: stable
|
||||
- id: renderer
|
||||
value: "renderer"
|
||||
brief: 'Renderer Plugin'
|
||||
stability: stable
|
||||
- id: secretmanager
|
||||
value: "secretmanager"
|
||||
brief: 'Secret Manager Plugin'
|
||||
stability: stable
|
||||
brief: The plugin type.
|
||||
examples: datasource
|
||||
stability: stable
|
||||
15
pkg/semconv/model/trace/datasource.yaml
Normal file
15
pkg/semconv/model/trace/datasource.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
groups:
|
||||
- id: trace.grafana.datasource
|
||||
type: span
|
||||
brief: 'Semantic Convention for Grafana datasources'
|
||||
stability: stable
|
||||
attributes:
|
||||
- ref: grafana.datasource.type
|
||||
- ref: grafana.datasource.uid
|
||||
- id: trace.grafana.datasource.request
|
||||
type: span
|
||||
span_kind: client
|
||||
brief: 'Semantic Convention for Grafana datasource requests'
|
||||
stability: stable
|
||||
attributes:
|
||||
- ref: grafana.datasource.request.query_count
|
||||
8
pkg/semconv/model/trace/plugin.yaml
Normal file
8
pkg/semconv/model/trace/plugin.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
groups:
|
||||
- id: trace.grafana.plugin
|
||||
type: span
|
||||
brief: 'Semantic Convention for Grafana plugins'
|
||||
stability: stable
|
||||
attributes:
|
||||
- ref: grafana.plugin.id
|
||||
- ref: grafana.plugin.type
|
||||
Reference in New Issue
Block a user