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:
@@ -22,7 +22,7 @@ type metricsState struct {
|
|||||||
|
|
||||||
// InstrumentMetrics starts reporting OpenTelemetry Metrics.
|
// 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 {
|
func InstrumentMetrics(rdb redis.UniversalClient, opts ...MetricsOption) error {
|
||||||
baseOpts := make([]baseOption, len(opts))
|
baseOpts := make([]baseOption, len(opts))
|
||||||
for i, opt := range opts {
|
for i, opt := range opts {
|
||||||
|
|||||||
Reference in New Issue
Block a user