Files
open-webui/backend/open_webui
Classic298 8a016931f1 refac(telemetry): drop deprecated semconv SpanAttributes subclass (#25784)
constants.py subclassed opentelemetry.semconv.trace.SpanAttributes, which
is deprecated since semconv 1.25.0 (emits a DeprecationWarning; the pinned
0.63b1 has it live). Source the legacy span-attribute keys from the
non-deprecated _incubating attribute modules instead:
  http.url / http.method / http.status_code  <- _incubating http_attributes
  db.name / db.statement / db.operation      <- _incubating db_attributes
The stable http module renamed these (http.request.method, ...), so only
the incubating module preserves the original values. Custom keys
(db.instance/type/ip/port, error.*, result.*) stay literals.

Verified: emitted attribute keys are byte-identical before/after for every
key instrumentors.py reads, and importing constants no longer emits a
DeprecationWarning.
2026-06-29 02:05:34 -05:00
..
2026-06-17 02:52:35 +02:00
2026-06-29 00:21:37 -05:00
2026-06-29 02:03:58 -05:00
2026-06-29 00:46:45 -05:00
2026-06-17 03:01:11 +02:00
2026-06-29 01:52:07 -05:00
2026-06-28 23:02:38 -05:00
2026-06-25 15:56:10 +01:00
2026-06-29 00:40:28 -05:00