fix double push of metrics by properly handling tickers#2374
Conversation
|
@mmetc: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
|
@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.
DetailsI am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository. |
Codecov Report
@@ Coverage Diff @@
## master #2374 +/- ##
==========================================
+ Coverage 56.12% 56.26% +0.14%
==========================================
Files 182 186 +4
Lines 25406 25792 +386
==========================================
+ Hits 14259 14513 +254
- Misses 9620 9712 +92
- Partials 1527 1567 +40
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 5 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
if the initial ticker interval is too small, metrics are sent twice every time crowdsec is reload or a machines is added