-
Notifications
You must be signed in to change notification settings - Fork 58
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
supplying units/metric metadata #33
Comments
Sounds like a great addition to the module. Would you be interested in contributing this in a PR? 😄 |
perhaps..we shall see! |
Noting for future reference: this comes with similar caveats as #81. The docs indicate that setting units as part of metric submission is only in the v2 API, which formats things differently, has shorter limits on metric names, and a smaller maximum payload size. There’s likely to be a fair amount that would have to change under the hood to make this work (which doesn’t mean it shouldn’t be done or isn’t worthwhile!). Another oddity is that the v2 lets you set the (One alternative here might be some mechanism that uses the edit metric metadata endpoint, but that would only work if someone includes an |
I know you can change set metric metadata in the main datadog interface - as explained here, and there is a way of doing it with an api, but is there any way/plans to expose it in this module?
An optional argument to
histogram
(and friends) would be ideal..you could cache the last metadata values and only send them if there is a change?The text was updated successfully, but these errors were encountered: