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 25, 2023
1 parent 65eed24 commit e27cc56
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ release.
([#296](https://github.com/open-telemetry/semantic-conventions/pull/296))
- Introducing Android `android.os.api_level` resource attribute.
([#328](https://github.com/open-telemetry/semantic-conventions/pull/328))
- BREAKING: Rename `telemetry.auto.version` resource attribute to `telemetry.distro.version`
and add `telemetry.distro.name` resource attribute
([#178](https://github.com/open-telemetry/semantic-conventions/pull/178))

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

Expand Down
3 changes: 2 additions & 1 deletion docs/resource/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ All custom identifiers SHOULD be stable across different versions of an implemen
<!-- 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 |
| `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
9 changes: 7 additions & 2 deletions 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.version
- id: distro.name
type: string
brief: >
The version string of the auto instrumentation agent, if used.
The name of the auto instrumentation agent or distribution, if used.
examples: ["opentelemetry-parts-unlimited-java"]
- id: distro.version
type: string
brief: >
The version string of the auto instrumentation agent or distribution, if used.
examples: ["1.2.3"]

0 comments on commit e27cc56

Please sign in to comment.