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 GetMonitorsByMonitorTags function #273

Merged
merged 1 commit into from
Oct 22, 2019

Conversation

surminus
Copy link
Contributor

Previous behaviour was being able to fetch monitors using the custom tags assigned to a monitor which the API calls "monitor_tags".

I think quite rightly this was defined explicitly in the MonitorQueryOpts type, but we lost the function to be able to fetch monitors based upon those tags when this was added in[2].

Add a function back to enable me to fetch these monitors using those custom tags again.

[1] https://docs.datadoghq.com/api/?lang=bash#get-all-monitor-details
[2] e0e1131

Previous behaviour was being able to fetch monitors using the custom
tags assigned to a monitor which the API calls "monitor_tags".

I think quite rightly this was defined explicitly in the
MonitorQueryOpts type, but we lost the function to be able to fetch
monitors based upon those tags when this was added in[2].

Add a function back to enable me to fetch these monitors using those
custom tags again.

[1] https://docs.datadoghq.com/api/?lang=bash#get-all-monitor-details
[2] e0e1131
Copy link
Collaborator

@bkabrda bkabrda left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for opening a PR!

@bkabrda bkabrda merged commit f746e97 into zorkian:master Oct 22, 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.

3 participants