Skip to content

Commit

Permalink
fix: s/ftl.async_call.ms_to_complete/ftl.call.ms_to_complete (#2274)
Browse files Browse the repository at this point in the history
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: #2194
  • Loading branch information
deniseli authored Aug 6, 2024
1 parent 279a833 commit 931346b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/observability/calls.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 931346b

Please sign in to comment.