mirror of
https://github.com/grafana/grafana.git
synced 2025-01-16 03:32:37 -06:00
df3d8915ba
* chore: Bump Go to 1.23.0 Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * update swagger files Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * chore: update .bingo/README.md formatting to satisfy prettier Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23 Signed-off-by: Dave Henderson <dave.henderson@grafana.com> * keep golden file * update openapi * add name to expected output * chore(lint): rearrange imports to a sensible order Signed-off-by: Dave Henderson <dave.henderson@grafana.com> --------- Signed-off-by: Dave Henderson <dave.henderson@grafana.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com> |
||
---|---|---|
.. | ||
model | ||
templates | ||
attributes.go | ||
doc.go | ||
go.mod | ||
go.sum | ||
Makefile | ||
README.md |
Grafana OpenTelemetry Semantic Conventions
Adding new attributes
- Add a new attribute to a new or existing attribute group in model/registry.
- Add a reference to the new attribute in a new or existing attribute group in model/trace.
- 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. - Run
make all
to update the generated files.
For more information:
- Semantic Convention generator + Docker
- OpenTelemetry Semantic Conventions (these can be used as a reference)
Attribute Groups
grafana.datasource
Attribute | Type | Description | Examples | Requirement Level | Stability |
---|---|---|---|---|---|
grafana.datasource.type |
string | The datasource type. | prometheus ; loki ; grafana-github-datasource |
Recommended |
|
grafana.datasource.uid |
string | The datasource unique identifier. | abcdefg-123456 |
Recommended |
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 |
k8s
Attribute | Type | Description | Examples | Requirement Level | Stability |
---|---|---|---|---|---|
k8s.dataplaneservice.name |
string | The name of the DataPlaneService. | v0alpha1.prometheus.grafana.app |
Recommended |
grafana.plugin
Attribute | Type | Description | Examples | Requirement Level | Stability |
---|---|---|---|---|---|
grafana.plugin.id |
string | The plugin ID. | prometheus ; loki ; grafana-github-datasource |
Recommended |
|
grafana.plugin.type |
string | The plugin type. | datasource |
Recommended |