From 931346b1eec886073cbe27ff04152922ab76d5e1 Mon Sep 17 00:00:00 2001 From: Denise Li Date: Tue, 6 Aug 2024 18:21:05 -0400 Subject: [PATCH] fix: s/ftl.async_call.ms_to_complete/ftl.call.ms_to_complete (#2274) whoops ``` Metric #1 Descriptor: -> Name: ftl.call.ms_to_complete -> Description: duration in ms to complete a verb call -> Unit: ms -> DataType: Histogram -> AggregationTemporality: Cumulative HistogramDataPoints #0 Data point attributes: -> ftl.call.verb.ref: Str(echo.echo) -> ftl.module.name: Str(echo) -> ftl.status.succeeded: Bool(true) StartTimestamp: 2024-08-06 21:59:38.317129 +0000 UTC Timestamp: 2024-08-06 22:00:33.317447 +0000 UTC Count: 1 Sum: 17.000000 Min: 17.000000 Max: 17.000000 ``` Issue: https://github.com/TBD54566975/ftl/issues/2194 --- backend/controller/observability/calls.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/controller/observability/calls.go b/backend/controller/observability/calls.go index e2f8f8c6c7..6051e8e72e 100644 --- a/backend/controller/observability/calls.go +++ b/backend/controller/observability/calls.go @@ -43,7 +43,7 @@ func initCallMetrics() (*CallMetrics, error) { return nil, wrapErr(signalName, err) } - signalName = fmt.Sprintf("%s.ms_to_complete", asyncCallMeterName) + signalName = fmt.Sprintf("%s.ms_to_complete", callMeterName) if result.msToComplete, err = meter.Int64Histogram(signalName, metric.WithUnit("ms"), metric.WithDescription("duration in ms to complete a verb call")); err != nil { return nil, wrapErr(signalName, err)