Skip to content

Add monitor and monitor groups search API endpoints#299

Merged
yannmh merged 2 commits intoDataDog:masterfrom
isaacdd:monitor_search_apis
Oct 16, 2018
Merged

Add monitor and monitor groups search API endpoints#299
yannmh merged 2 commits intoDataDog:masterfrom
isaacdd:monitor_search_apis

Conversation

@isaacdd
Copy link
Copy Markdown
Contributor

@isaacdd isaacdd commented Oct 13, 2018

Copy link
Copy Markdown

@athap athap left a comment

Choose a reason for hiding this comment

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

One nit comment
👍

CHANGELOG.md Outdated
@@ -1,5 +1,8 @@
CHANGELOG
=========
# 0.23.0 / 2018-10-13
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you change the date to "Unreleased" for now? We generally set it after the pypi package is released

@classmethod
def search_monitor_groups(cls, **params):
"""
Search monitor monitor groups
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

We generally avoid repeating the resource name in the method (for example api.Monitor.get instead of api.Monitor.get_monitor). For this reason, I think it'd be more consistent to rename both methods search and search_groups. What do you think?

@yannmh yannmh merged commit 01fb086 into DataDog:master Oct 16, 2018
@isaacdd isaacdd deleted the monitor_search_apis branch October 16, 2018 17:53
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