Add otel.scope.schema_url to non-OTLP exporters (#2489)
This commit is contained in:
parent
06536459c8
commit
e22cda9829
|
|
@ -0,0 +1,17 @@
|
||||||
|
# Use this changelog template to create an entry for release notes.
|
||||||
|
#
|
||||||
|
# If your change doesn't affect end users you should instead start
|
||||||
|
# your pull request title with [chore] or use the "Skip Changelog" label.
|
||||||
|
|
||||||
|
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
|
||||||
|
change_type: enhancement
|
||||||
|
|
||||||
|
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
|
||||||
|
component: otel
|
||||||
|
|
||||||
|
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
|
||||||
|
note: "Add `otel.scope.schema_url` attribute to non-OTLP exporters that represents an instrumentation scope schema URL."
|
||||||
|
|
||||||
|
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
|
||||||
|
# The values here must be integers.
|
||||||
|
issues: [2320, 2489]
|
||||||
|
|
@ -104,6 +104,7 @@ Attributes used by non-OTLP exporters to represent OpenTelemetry Scope's concept
|
||||||
| Attribute | Type | Description | Examples | Stability |
|
| Attribute | Type | Description | Examples | Stability |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| <a id="otel-scope-name" href="#otel-scope-name">`otel.scope.name`</a> | string | The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). | `io.opentelemetry.contrib.mongodb` |  |
|
| <a id="otel-scope-name" href="#otel-scope-name">`otel.scope.name`</a> | string | The name of the instrumentation scope - (`InstrumentationScope.Name` in OTLP). | `io.opentelemetry.contrib.mongodb` |  |
|
||||||
|
| <a id="otel-scope-schema-url" href="#otel-scope-schema-url">`otel.scope.schema_url`</a> | string | The schema URL of the instrumentation scope. | `https://opentelemetry.io/schemas/1.31.0` |  |
|
||||||
| <a id="otel-scope-version" href="#otel-scope-version">`otel.scope.version`</a> | string | The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). | `1.0.0` |  |
|
| <a id="otel-scope-version" href="#otel-scope-version">`otel.scope.version`</a> | string | The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP). | `1.0.0` |  |
|
||||||
|
|
||||||
## Deprecated OTel Library Attributes
|
## Deprecated OTel Library Attributes
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,11 @@ groups:
|
||||||
brief: The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
|
brief: The version of the instrumentation scope - (`InstrumentationScope.Version` in OTLP).
|
||||||
examples: ['1.0.0']
|
examples: ['1.0.0']
|
||||||
stability: stable
|
stability: stable
|
||||||
|
- id: otel.scope.schema_url
|
||||||
|
type: string
|
||||||
|
brief: The schema URL of the instrumentation scope.
|
||||||
|
examples: ['https://opentelemetry.io/schemas/1.31.0']
|
||||||
|
stability: development
|
||||||
- id: registry.otel.component
|
- id: registry.otel.component
|
||||||
type: attribute_group
|
type: attribute_group
|
||||||
display_name: OTel Component Attributes
|
display_name: OTel Component Attributes
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue