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

add methods for missing hourly usage api endpoints #173

Merged
merged 2 commits into from
May 7, 2019

Conversation

ericmustin
Copy link
Contributor

This PR addresses some of the missing ruby methods for endpoints mentioned in open issue #137, specifically the /usage endpoints for hosts, logs, custom metrics, traces, synthetics, and fargate

PR notes

  • Did not include methods for /usage endpoints get-top-500-custom-metrics-by-hourly-average and get-usage-across-your-multi-org-account as their formatting and general setup was a bit more complicated. Want to address these but probably a separate PR.

  • The formatting/comments on all these method definitions are pretty similar, approach could be DRY'd up a bit if y'all prefer, following the structure of the rest of the repo I tried to keep everything explicit and separate

Anyways let me know what you think, happy to make any changes suggested, feedback welcome! Trying to make my way through the missing endpoints+methods when bandwidth permits.

~Eric

@irabinovitch irabinovitch requested a review from gzussa May 7, 2019 04:43
@masci masci added this to the Next milestone May 7, 2019
Copy link
Contributor

@masci masci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@masci masci merged commit 0c1e761 into DataDog:master May 7, 2019
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

Successfully merging this pull request may close these issues.

2 participants