-
Notifications
You must be signed in to change notification settings - Fork 889
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 (#2850)
* Define semantic conventions yaml for non-otlp conventions Signed-off-by: Bogdan Drutu <[email protected]> * Update semantic_conventions/trace/exporter/exporter.yaml Co-authored-by: Christian Neumüller <[email protected]> * Update semantic_conventions/scope/exporter/exporter.yaml Co-authored-by: Joao Grassi <[email protected]> * Rename otel to otel_span Signed-off-by: Bogdan Drutu <[email protected]> Signed-off-by: Bogdan Drutu <[email protected]> Co-authored-by: Christian Neumüller <[email protected]> Co-authored-by: Joao Grassi <[email protected]>
- Loading branch information
1 parent
6d3fbe1
commit ec31d29
Showing
3 changed files
with
76 additions
and
12 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: 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` in OTLP). | ||
examples: ['io.opentelemetry.contrib.mongodb'] | ||
- id: version | ||
type: string | ||
brief: The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). | ||
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: Deprecated, use the `otel.scope.name` attribute. | ||
examples: ['io.opentelemetry.contrib.mongodb'] | ||
- id: version | ||
type: string | ||
stability: "deprecated" | ||
brief: Deprecated, use the `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_span | ||
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: false | ||
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_description | ||
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