-
Notifications
You must be signed in to change notification settings - Fork 897
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define semantic conventions yaml for non-otlp conventions
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
- Loading branch information
1 parent
28d02cc
commit e51293d
Showing
3 changed files
with
77 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
groups: | ||
- id: otel.scope | ||
prefix: otel.scope | ||
type: resource | ||
brief: Span attributes used by non OTLP exporters to represent OpenTelemetry Scope's concepts. | ||
attributes: | ||
- id: name | ||
type: string | ||
brief: The name of the instrumentation scope - `InstrumentationScope.Name`. | ||
examples: ['io.opentelemetry.contrib.mongodb'] | ||
- id: version | ||
type: string | ||
brief: The version of the instrumentation scope - `InstrumentationScope.Version`. | ||
examples: ['1.0.0'] | ||
- id: otel.library | ||
prefix: otel.library | ||
type: resource | ||
brief: > | ||
Span attributes used by non OTLP exporters to represent OpenTelemetry Scope's concepts. | ||
attributes: | ||
- id: name | ||
type: string | ||
stability: "deprecated" | ||
brief: Use `otel.scope.name` attribute. | ||
examples: ['io.opentelemetry.contrib.mongodb'] | ||
- id: version | ||
type: string | ||
stability: "deprecated" | ||
brief: Use `otel.scope.version` attribute. | ||
examples: ['1.0.0'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
groups: | ||
- id: otel | ||
prefix: otel | ||
type: span | ||
brief: Span attributes used by non OTLP exporters to represent OpenTelemetry Span's concepts. | ||
attributes: | ||
- id: status_code | ||
type: | ||
allow_custom_values: true | ||
members: | ||
- id: ok | ||
value: ok | ||
brief: 'The operation has been validated by an Application developer or Operator to have completed successfully.' | ||
- id: error | ||
value: error | ||
brief: 'The operation contains an error.' | ||
brief: Name of the code, either OK or ERROR. MUST NOT be set if the status code is UNSET. | ||
- id: status_message | ||
type: string | ||
brief: Description of the Status if it has a value otherwise not set. | ||
examples: ['resource not found'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters