-
Notifications
You must be signed in to change notification settings - Fork 102
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
Support gauge delta #36
Comments
Hi @dpetrick this is actually by design, see the docs at https://docs.datadoghq.com/guides/dogstatsd/ and this issue detailing when we decided not to support the feature: DataDog/dd-agent#2104 |
If delta isn't supported, how will one be able to measure something like current active users logged in to the application or number of active DB connections open? We would also want to decrement when someone logs out of the application, or when the DB connection is closed. How is that done? Can you help us understand? We use Telegraf and Influx as the backend. |
@prasadasokan I'm accomplishing this with a Java |
@acjay What happens if your service restarts? |
@lostcolony Not at the same company anymore, but as this was for a live connection count on web sockets, all the clients would have to reestablish their connections from zero, anyway. But yeah, I can see how this wouldn't work for all situations. |
I was looking to migrate my client from the tim-group/java-statsd-client to this one, but I'm currently using the other client's |
Hi,
apparently, statsd supports sending deltas for gauges.
Sifting through the code, it doesn't look like deltas are supported at the moment. Is this a known issue, an oversight, or an intentional design choice?
If desired, I can submit a PR myself when I find the time.
Cheers,
Dom
The text was updated successfully, but these errors were encountered: