Skip to content

Commit a4d052d

Browse files
authored
fix: OpenTelemetry metric names must only contain [A-Za-z0-9_.-] (#595)
1 parent 484f475 commit a4d052d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/hub_base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ func (h *hubBase) initialiseTelemetry() error {
551551
h.telemetryShutdownFunc = shutdownTelemetry
552552

553553
hydrateCalls, err := otel.GetMeterProvider().Meter(FdwName).Int64Counter(
554-
fmt.Sprintf("%s/hydrate_calls_total", FdwName),
554+
fmt.Sprintf("%s-hydrate_calls_total", FdwName),
555555
metric.WithDescription("The total number of hydrate calls"),
556556
)
557557
if err != nil {

0 commit comments

Comments
 (0)