Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mark attributes that were listed as required for SDKs as required to …
…avoid conflicting statements.
  • Loading branch information
jsuereth committed Feb 22, 2023
commit ed5a184e5f7bb5d1a96bafea6b8e5ac622ec4a2c
3 changes: 3 additions & 0 deletions semantic_conventions/resource/telemetry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ groups:
attributes:
- id: sdk.name
type: string
requirement_level: required
brief: >
The name of the telemetry SDK as defined above.
examples: ["opentelemetry"]
Expand Down Expand Up @@ -36,10 +37,12 @@ groups:
value: "webjs"
- id: swift
value: "swift"
requirement_level: required
brief: >
The language of the telemetry SDK.
- id: sdk.version
type: string
requirement_level: required
brief: >
The version string of the telemetry SDK.
examples: ["1.2.3"]
Expand Down
6 changes: 3 additions & 3 deletions specification/resource/semantic_conventions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ The identifier SHOULD be stable across different versions of an implementation.
<!-- semconv telemetry -->
| Attribute | Type | Description | Examples | Requirement Level |
|---|---|---|---|---|
| `telemetry.sdk.name` | string | The name of the telemetry SDK as defined above. | `opentelemetry` | Recommended |
| `telemetry.sdk.language` | string | The language of the telemetry SDK. | `cpp` | Recommended |
| `telemetry.sdk.version` | string | The version string of the telemetry SDK. | `1.2.3` | Recommended |
| `telemetry.sdk.name` | string | The name of the telemetry SDK as defined above. | `opentelemetry` | Required |
| `telemetry.sdk.language` | string | The language of the telemetry SDK. | `cpp` | Required |
| `telemetry.sdk.version` | string | The version string of the telemetry SDK. | `1.2.3` | Required |

`telemetry.sdk.language` has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.

Expand Down