-
Notifications
You must be signed in to change notification settings - Fork 88
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
How can you post counter metrics? #6
Comments
Hey Travis, Thanks for the question and the patch. The short answer is that there's work to be done here. Here's the situation:
So, here are the options:
Does that answer your question? Also, If you want to chat more, pop into our irc chat (#datadog on freenode) in an hour or so. [1] - https://github.com/DataDog/dogapi/blob/master/src/dogapi/stats/dog_stats_api.py |
We actually wouldn't be using Ruby for it, I was just using the ruby lib to test. I'm really looking to see if Datadog can aggregate the count data. |
Got it. I understand. The answer is yes and no. DataDog's API doesn't yet support a request like "add 1 to metric ABC right now". It accepts data more in the form of "the value of metric ABC right now is X". DataDog will then aggregate across hosts and tags, but basically, each host (or optionally process) needs to aggregate on the client before sending to the server. Adding true server side counters in on our roadmap, but there's some work to get there. In the meantime, the client side aggregation is pretty easily accomplished with tools like dogapi.py and statsd. What's the source of your data? Does this sound like it'll work for you? |
Hard to say, we run tons of servers. But the simplest scenario is:
I would like to see 100 in my graphs for each minute. Is that possible? |
Yeah, this is totally possible. There are a few different ways to get your custom metrics flowing into DataDog. I'm going to e-mail you some of the options and we can chat and figure out which best fits your set-up. Cool? One that is really clear is we need better documentation on this :) |
No description provided.
The text was updated successfully, but these errors were encountered: