Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counter not being reset after each publish ? #91

Open
Paul776 opened this issue Feb 15, 2018 · 2 comments
Open

Counter not being reset after each publish ? #91

Paul776 opened this issue Feb 15, 2018 · 2 comments

Comments

@Paul776
Copy link

Paul776 commented Feb 15, 2018

Hey,

I would like to be able to have an exact count of how many user of my app pushed on button A.
My application is ran on 3 ec2 instances.
I have tried using .count("buttonA").inc() but obviously the library is reporting separately on these three instance so on Datatog I see a kind of up and down pattern (box 1 reports 5, box 2 report 10, box 3 reports 1) ..

Ideally I would like to use the "sum" option on datadog so that I can see the exact number but this library doesn't not reset the counter after each publish, so the sum is giving me some really high number because it carries forward the count every time.

For example if I have the reporter set to a 1 minute interval is there a way for it to only report the count for that minute ? then would reset and send 0 if the count has not being incremented.

@DrewDennison
Copy link

I'm also confused by this

@ikr0m
Copy link

ikr0m commented Jul 28, 2020

This issue has more details #45
I switched version from 1.1.13 to 1.1.2 and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants