Skip to content

Commit

Permalink
add observability
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Aug 23, 2024
1 parent bfb5243 commit 348ac06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@ func (s *Service) reapAsyncCalls(ctx context.Context) (nextInterval time.Duratio
if err != nil {
return 0, fmt.Errorf("failed to complete zombie async call: %w", err)
}
// TODO: telemetery
observability.AsyncCalls.Executed(ctx, call.Verb, call.CatchVerb, call.Origin.String(), call.ScheduledAt, true, optional.Some("async call lease failed"))
}

if len(calls) == limit {
Expand Down

0 comments on commit 348ac06

Please sign in to comment.