Reflect service.*, telemetry.sdk.* stability in model (#620)
This commit is contained in:
parent
7051551400
commit
9423bd3a0b
|
|
@ -82,8 +82,8 @@ as specified in the [Resource SDK specification](https://github.com/open-telemet
|
|||
<!-- semconv service -->
|
||||
| Attribute | Type | Description | Examples | Requirement Level |
|
||||
|---|---|---|---|---|
|
||||
| `service.name` | string | Logical name of the service. [1] | `shoppingcart` | Required |
|
||||
| `service.version` | string | The version string of the service API or implementation. The format is not defined by these conventions. | `2.0.0`; `a01dbef8a` | Recommended |
|
||||
| `service.name` | string | <br>Logical name of the service. [1] | `shoppingcart` | Required |
|
||||
| `service.version` | string | <br>The version string of the service API or implementation. The format is not defined by these conventions. | `2.0.0`; `a01dbef8a` | Recommended |
|
||||
|
||||
**[1]:** MUST be the same for all instances of horizontally scaled services. If the value was not specified, SDKs MUST fallback to `unknown_service:` concatenated with [`process.executable.name`](process.md#process), e.g. `unknown_service:bash`. If `process.executable.name` is not available, the value MUST be set to `unknown_service`.
|
||||
<!-- endsemconv -->
|
||||
|
|
@ -132,9 +132,9 @@ service.name = Shop.shoppingcart
|
|||
<!-- semconv telemetry -->
|
||||
| Attribute | Type | Description | Examples | Requirement Level |
|
||||
|---|---|---|---|---|
|
||||
| `telemetry.sdk.language` | string | The language of the telemetry SDK. | `cpp` | Required |
|
||||
| `telemetry.sdk.name` | string | The name of the telemetry SDK as defined above. [1] | `opentelemetry` | Required |
|
||||
| `telemetry.sdk.version` | string | The version string of the telemetry SDK. | `1.2.3` | Required |
|
||||
| `telemetry.sdk.language` | string | <br>The language of the telemetry SDK. | `cpp` | Required |
|
||||
| `telemetry.sdk.name` | string | <br>The name of the telemetry SDK as defined above. [1] | `opentelemetry` | Required |
|
||||
| `telemetry.sdk.version` | string | <br>The version string of the telemetry SDK. | `1.2.3` | Required |
|
||||
|
||||
**[1]:** The OpenTelemetry SDK MUST set the `telemetry.sdk.name` attribute to `opentelemetry`.
|
||||
If another SDK, like a fork or a vendor-provided implementation, is used, this SDK MUST set the
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ groups:
|
|||
attributes:
|
||||
- id: name
|
||||
type: string
|
||||
stability: stable
|
||||
requirement_level: required
|
||||
brief: >
|
||||
Logical name of the service.
|
||||
|
|
@ -18,6 +19,7 @@ groups:
|
|||
examples: ["shoppingcart"]
|
||||
- id: version
|
||||
type: string
|
||||
stability: stable
|
||||
brief: >
|
||||
The version string of the service API or implementation. The format is not defined by these conventions.
|
||||
examples: ["2.0.0", "a01dbef8a"]
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ groups:
|
|||
attributes:
|
||||
- id: sdk.name
|
||||
type: string
|
||||
stability: stable
|
||||
requirement_level: required
|
||||
brief: >
|
||||
The name of the telemetry SDK as defined above.
|
||||
|
|
@ -46,11 +47,13 @@ groups:
|
|||
value: "swift"
|
||||
- id: webjs
|
||||
value: "webjs"
|
||||
stability: stable
|
||||
requirement_level: required
|
||||
brief: >
|
||||
The language of the telemetry SDK.
|
||||
- id: sdk.version
|
||||
type: string
|
||||
stability: stable
|
||||
requirement_level: required
|
||||
brief: >
|
||||
The version string of the telemetry SDK.
|
||||
|
|
|
|||
Loading…
Reference in New Issue