Files
containerd/pkg
Sebastiaan van Stijn 0d27fceeed pkg/tracing: HTTPStatusCodeAttributes: remove use of deprecated SemConv const
The "http.status_code" attribute was deprecated in [SemConv v1.21] in favor
of "http.response.status_code", and the `HTTPStatusCodeKey` const was deprecated
in [SemConv v1.22].

The `HTTPStatusCodeAttributes` utility doesn't appear to be used currently, but
let's update it to use both the old and new variants in case someone still uses
it.

[SemConv v1.21]: https://github.com/open-telemetry/opentelemetry-go/blob/v1.38.0/semconv/v1.21.0/attribute_group.go#L106-L114
[SemConv v1.22]: https://github.com/open-telemetry/opentelemetry-go/blob/v1.38.0/semconv/v1.22.0/attribute_group.go#L1444-L1452

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-12-12 17:31:16 +01:00
..
2025-10-31 19:34:16 +09:00
2024-08-26 23:35:24 -07:00
2025-04-23 18:03:29 -07:00
2024-12-23 23:14:49 -07:00
2024-01-25 22:18:45 -08:00
2024-10-26 14:18:53 +02:00
2023-09-22 07:53:23 -07:00
2024-01-25 22:18:45 -08:00
2024-12-23 23:14:49 -07:00
2025-08-12 14:53:29 -04:00
2024-05-02 11:03:00 -07:00