1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-03 18:31:14 +03:00

chore(otel): Update otel metrics URL (#3474)

This commit is contained in:
Hristo Temelski
2025-08-12 14:07:17 +03:00
committed by GitHub
parent 7b4a537aef
commit 6220024a38

View File

@@ -22,7 +22,7 @@ type metricsState struct {
// InstrumentMetrics starts reporting OpenTelemetry Metrics.
//
// Based on https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/database-metrics.md
// Based on https://github.com/open-telemetry/semantic-conventions/blob/main/docs/database/database-metrics.md
func InstrumentMetrics(rdb redis.UniversalClient, opts ...MetricsOption) error {
baseOpts := make([]baseOption, len(opts))
for i, opt := range opts {