summaryrefslogtreecommitdiff
path: root/internal/metrics/metrics.go
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2024-01-21 11:34:12 +0100
committerLibravatar GitHub <noreply@github.com>2024-01-21 11:34:12 +0100
commit74380ae8a1eebb9cbc286f62e081a8f13273f06b (patch)
tree2e0d500f54c66ecea49d7e0ca2e8d46f884e1867 /internal/metrics/metrics.go
parent[bugfix] Prevent URL + URI for same account being used as alias target (#2545) (diff)
downloadgotosocial-74380ae8a1eebb9cbc286f62e081a8f13273f06b.tar.xz
[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.
Diffstat (limited to 'internal/metrics/metrics.go')
-rw-r--r--internal/metrics/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/metrics/metrics.go b/internal/metrics/metrics.go
index 966f346fd..97a763453 100644
--- a/internal/metrics/metrics.go
+++ b/internal/metrics/metrics.go
@@ -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 (