[chore] Downgrade OTEL libraries to 1.20 (#2546)

For some reason httpconv seems to have disappeared from 1.21, which
results in a 1.21 runtime with 1.20 semconv/httpconv which seems to
break some things.

For now, this rolls the OTEL dependencies back to 1.20 which should fix
the observability issues. We'll need to take a look at how to upgrade
safely and correctly in the future.

Relates to #2503.
This commit is contained in:
Daenney
2024-01-21 11:34:12 +01:00
committed by GitHub
parent b2cacd6b01
commit 74380ae8a1
20 changed files with 56 additions and 5737 deletions

View File

@@ -31,7 +31,7 @@ import (
"go.opentelemetry.io/otel/exporters/prometheus"
sdk "go.opentelemetry.io/otel/sdk/metric"
"go.opentelemetry.io/otel/sdk/resource"
semconv "go.opentelemetry.io/otel/semconv/v1.17.0"
semconv "go.opentelemetry.io/otel/semconv/v1.20.0"
)
const (