We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 123e334 commit 35734b8Copy full SHA for 35734b8
opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py
@@ -62,6 +62,7 @@
62
from opentelemetry.semconv.attributes.user_agent_attributes import (
63
USER_AGENT_ORIGINAL,
64
)
65
+from opentelemetry.semconv.schemas import Schemas
66
from opentelemetry.trace.status import Status, StatusCode
67
68
# Values defined in milliseconds
@@ -483,4 +484,4 @@ def _set_status(
483
484
def _get_schema_url(mode: _StabilityMode) -> str:
485
if mode is _StabilityMode.DEFAULT:
486
return "https://opentelemetry.io/schemas/1.11.0"
- return "https://opentelemetry.io/schemas/1.21.0"
487
+ return Schemas.V1_21_0.value
0 commit comments