Skip to content

Commit

Permalink
Rename otel to otel_span
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Oct 5, 2022
1 parent 64fa2b4 commit 41f5065
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion semantic_conventions/trace/exporter/exporter.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
groups:
- id: otel
- id: otel_span
prefix: otel
type: span
brief: Span attributes used by non OTLP exporters to represent OpenTelemetry Span's concepts.
Expand Down
4 changes: 2 additions & 2 deletions specification/common/mapping-to-non-otlp.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ unless the `Status` is `UNSET`. In the latter case it MUST NOT be reported.
The following table defines the OpenTelemetry `Status`'s mapping to Span's
key-value pairs:

<!-- semconv otel -->
<!-- semconv otel_span -->
| Attribute | Type | Description | Examples | Requirement Level |
|---|---|---|---|---|
| `otel.status_code` | string | Name of the code, either OK or ERROR. MUST NOT be set if the status code is UNSET. | `ok` | Recommended |
| `otel.status_message` | string | Description of the Status if it has a value otherwise not set. | `resource not found` | Recommended |

`otel.status_code` 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.
`otel.status_code` MUST be one of the following:

| Value | Description |
|---|---|
Expand Down

0 comments on commit 41f5065

Please sign in to comment.