Files
open-webui/backend/open_webui/utils
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-19 15:34:43 +02:00
2026-06-17 00:36:34 +02:00
2026-06-17 02:52:35 +02:00
2026-06-17 02:52:35 +02:00
2026-06-29 00:05:10 -05:00
2026-04-19 19:15:05 +09:00
2026-03-17 17:58:01 -05:00
2026-06-24 14:13:58 +02:00
2026-06-01 13:56:55 -07:00
2026-06-29 00:35:54 -05:00
2026-06-29 01:01:27 -05:00
2026-06-23 00:25:21 +02:00
2026-06-25 14:34:22 +01:00
2026-06-29 00:18:40 -05:00
2026-06-25 14:37:05 +01:00
2026-06-01 13:56:55 -07:00
2026-06-23 23:35:44 +02:00
2026-03-17 17:58:01 -05:00
2026-06-19 00:16:06 +02:00
2026-06-29 00:35:54 -05:00
2026-06-01 13:56:55 -07:00
2026-06-25 17:23:53 -04:00