Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Feb 9, 2024
1 parent 971515f commit e702c90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions connector/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ func setupMetrics(telemetry *TelemetryState, metricsPrefix string) error {
metricapi.WithDescription("Total time taken to plan and execute an explain query request, in seconds"),
)

if err != nil {
return err
}

telemetry.mutationExplainLatencyHistogram, err = meter.Float64Histogram(
fmt.Sprintf("%smutation.explain_total_time", metricsPrefix),
metricapi.WithDescription("Total time taken to plan and execute an explain mutation request, in seconds"),
Expand Down

0 comments on commit e702c90

Please sign in to comment.