MetricAttrs() does not add KeyValue attributes to the metrics
DestroyerAlpha opened this issue · comments
Shivam Chaturvedi commented
How have I set up my client?
cl, err = rueidisotel.NewClient(rueidisCfg, rueidisotel.WithTracerProvider(otel.GetTraceProvider()),rueidisotel.WithMeterProvider(metric.NewMeterProvider(metric.WithReader(prometheusExporter))),rueidisotel.MetricAttrs(attribute.String("key", "value")))
Rueian commented
Hi @DestroyerAlpha,
Indeed, rueidisotel doesn't respect MetricAttrs. That will be fixed in the next version.