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

State support #164

Open
3 of 4 tasks
ojongerius opened this issue Aug 21, 2018 · 0 comments
Open
3 of 4 tasks

State support #164

ojongerius opened this issue Aug 21, 2018 · 0 comments

Comments

@ojongerius
Copy link
Collaborator

ojongerius commented Aug 21, 2018

Follow up from #163

When reading up on the API doco at https://docs.datadoghq.com/api/?lang=bash#monitors I noticed there are quite a few changes possible in regards to states:

Input

  • group_states: could be "all" or "alert,warn" used as a an argument to getting monitor details

Output

  • state: empty or contains an array of groups, consisting of hosts
  • overall_state: *string, example "Alert" -as seen in example of "resolve monitor" Add monitor state to monitor results #163
  • overall_state_modified: *string: "2017-08-11T12:21:05.949182+00:00" -as seen in example of "resolve monitor"
Seanstoppable pushed a commit to Seanstoppable/go-datadog-api that referenced this issue Oct 4, 2018
Addresses the response portion of zorkian#164
Some very basic testing of serialization against documented example
Seanstoppable pushed a commit to Seanstoppable/go-datadog-api that referenced this issue Oct 13, 2018
Add a more generic function that will let people mix and match
Have existing functions wrap this better function
Resolves the rest of state support in zorkian#164
Seanstoppable pushed a commit to Seanstoppable/go-datadog-api that referenced this issue Oct 15, 2018
Add a more generic function that will let people mix and match
Have existing functions wrap this better function
Resolves the rest of state support in zorkian#164
Seanstoppable pushed a commit to Seanstoppable/go-datadog-api that referenced this issue Nov 28, 2018
Add a more generic function that will let people mix and match
Have existing functions wrap this better function
Resolves the rest of state support in zorkian#164
Seanstoppable pushed a commit to Seanstoppable/go-datadog-api that referenced this issue May 10, 2019
Add a more generic function that will let people mix and match
Have existing functions wrap this better function
Resolves the rest of state support in zorkian#164
Seanstoppable pushed a commit to Seanstoppable/go-datadog-api that referenced this issue Sep 11, 2019
Add a more generic function that will let people mix and match
Have existing functions wrap this better function
Resolves the rest of state support in zorkian#164
bkabrda pushed a commit that referenced this issue Sep 16, 2019
Add a more generic function that will let people mix and match
Have existing functions wrap this better function
Resolves the rest of state support in #164
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant