Skip to content

Commit

Permalink
rename telemetry.auto.name to telemetry.distro.name and add telemetry…
Browse files Browse the repository at this point in the history
….distro.version
  • Loading branch information
zeitlinger committed Sep 22, 2023
1 parent a89f573 commit 12b4f5f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ release.
- BREAKING: Rename `http.server.request.size` metric to `http.server.request.body.size`
and `http.server.response.size` metric to `http.server.response.body.size`
([#247](https://github.com/open-telemetry/semantic-conventions/pull/247))
- BREAKING: Rename `telemetry.auto.name` resource attribute `telemetry.distro.name`
and add `telemetry.distro.version` resource attribute
([#178](https://github.com/open-telemetry/semantic-conventions/pull/178))

## v1.21.0 (2023-07-13)

Expand Down
7 changes: 4 additions & 3 deletions docs/resource/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,10 @@ All custom identifiers SHOULD be stable across different versions of an implemen
**Description:** Additions to the telemetry SDK.

<!-- semconv telemetry_experimental -->
| Attribute | Type | Description | Examples | Requirement Level |
|---|---|---|---|---|
| `telemetry.auto.version` | string | The version string of the auto instrumentation agent, if used. | `1.2.3` | Recommended |
| Attribute | Type | Description | Examples | Requirement Level |
|--------------------------|---|---|---|---|
| `telemetry.distro.name` | string | The name of the auto instrumentation agent or distribution, if used. | `opentelemetry-parts-unlimited-java` | Recommended |
| `telemetry.distro.version` | string | The version string of the auto instrumentation agent or distribution, if used. | `1.2.3` | Recommended |
<!-- endsemconv -->

## Compute Unit
Expand Down
7 changes: 6 additions & 1 deletion model/resource/telemetry_experimental.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ groups:
brief: >
The telemetry SDK used to capture data recorded by the instrumentation libraries.
attributes:
- id: auto.name
type: string
brief: >
The name of the auto instrumentation agent or distribution, if used.
examples: ["opentelemetry-parts-unlimited-java"]
- id: auto.version
type: string
brief: >
The version string of the auto instrumentation agent, if used.
The version string of the auto instrumentation agent or distribution, if used.
examples: ["1.2.3"]

0 comments on commit 12b4f5f

Please sign in to comment.