argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
18.04k stars 5.51k forks source link

feat: Enhance DAU Metrics Tracking Logic for Argo CD #20839

Open leehosu opened 1 week ago

leehosu commented 1 week ago

Fixes #20801

Refactored DAU metrics logic to improve accuracy, performance, and reliability in tracking daily active users for Argo CD.

Checklist:

bunnyshell[bot] commented 1 week ago

🔴 Preview Environment stopped on Bunnyshell

See: Environment Details | Pipeline Logs

Available commands (reply to this comment):

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 54.97%. Comparing base (83953fe) to head (c4f5b5b). Report is 40 commits behind head on master.

Files with missing lines Patch % Lines
server/metrics/metrics.go 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #20839 +/- ## ========================================== - Coverage 55.06% 54.97% -0.10% ========================================== Files 324 324 Lines 55397 55469 +72 ========================================== - Hits 30505 30493 -12 - Misses 22272 22353 +81 - Partials 2620 2623 +3 ```

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