Skip to content

Commit 97a1e3d

Browse files
committed
fix: return shema senconv
1 parent f31d777 commit 97a1e3d

File tree

1 file changed

+1
-2
lines changed
  • opentelemetry-instrumentation/src/opentelemetry/instrumentation

1 file changed

+1
-2
lines changed

opentelemetry-instrumentation/src/opentelemetry/instrumentation/_semconv.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
from opentelemetry.semconv.attributes.user_agent_attributes import (
6363
USER_AGENT_ORIGINAL,
6464
)
65-
from opentelemetry.semconv.schemas import Schemas
6665
from opentelemetry.trace.status import Status, StatusCode
6766

6867
# Values defined in milliseconds
@@ -484,4 +483,4 @@ def _set_status(
484483
def _get_schema_url(mode: _StabilityMode) -> str:
485484
if mode is _StabilityMode.DEFAULT:
486485
return "https://opentelemetry.io/schemas/1.11.0"
487-
return Schemas.V1_33_0.value
486+
return "https://opentelemetry.io/schemas/1.21.0"

0 commit comments

Comments
 (0)