Skip to content

Instantly share code, notes, and snippets.

@shaowei-su
Created September 11, 2019 18:44
Show Gist options
  • Save shaowei-su/bcef42e845b2b69b083abf7baf9dccfd to your computer and use it in GitHub Desktop.
Save shaowei-su/bcef42e845b2b69b083abf7baf9dccfd to your computer and use it in GitHub Desktop.
datadog statsd gauge
Gauges are a constant data type. They are not subject to averaging, and they don’t change unless you change them. That is, once you set a gauge value, it will be a flat line on the graph until you change it again.
Gauges are useful for things that are already averaged, or don’t need to reset periodically. System load, for example, could be graphed with a gauge. You might use incr to count the number of logins to a system, but a gauge to track how many active WebSocket connections you have.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment