Usage metrics are not computed correctly when running in `ipset` mode
blotus opened this issue · 2 comments
When running in ipset
mode, the iptables counter are not reset when the bouncer stop/starts, which lead to some weird values shown in crowdsec.
We should remember the initial value of the counter, and subtract it to every subsequent metrics read to simulate the counters being 0.
@blotus: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
- Check Documentation to see if your issue can be self resolved.
- You can also join our Discord
Details
I 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.
@blotus: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.
/kind feature
/kind enhancement
/kind bug
/kind packaging
Details
I 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.