argoproj-labs / argocd-agent

Redefining the multi cluster story of Argo CD
Apache License 2.0
81 stars 15 forks source link

feat: New checkpoint module #222

Closed jannfis closed 1 week ago

jannfis commented 2 weeks ago

This adds a new utility module for measuring time by defining checkpoints.

I plan to use this throughout the code for logging and metrics purposes.

codecov-commenter commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 91.17647% with 6 lines in your changes missing coverage. Please review.

Project coverage is 47.40%. Comparing base (3b0f824) to head (ff7783e). Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
internal/clock/clock.go 50.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #222 +/- ## ========================================== + Coverage 46.83% 47.40% +0.56% ========================================== Files 57 58 +1 Lines 4951 5010 +59 ========================================== + Hits 2319 2375 +56 - Misses 2451 2454 +3 Partials 181 181 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: