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 get_active_metrics and resolve_monitors methods for missing api endpoints #172

Merged
merged 4 commits into from
May 7, 2019

Conversation

ericmustin
Copy link
Contributor

@ericmustin ericmustin commented May 4, 2019

This PR addresses some of the missing ruby methods for endpoints mentioned in open issue #137

PR notes

  • I noticed the resolve_monitors endpoint has a deprecated url format, so tried to format the method and the tests to be extensible for future compatibility if this gets moved under the /v1 api umbrella.

Anyways let me know what you think, happy to make any changes suggested, feedback welcome! Would like to tackle some of the other missing endpoints (usage/integrations/etc) when I have bandwidth but figured i'd try to get these out the door first.

~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, making the mehtod future proof is 🍰

@masci masci merged commit 3d195a6 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