go-datadog-api icon indicating copy to clipboard operation
go-datadog-api copied to clipboard

State support

Open ojongerius opened this issue 7 years ago • 0 comments

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

  • [x] state: empty or contains an array of groups, consisting of hosts
  • [x] overall_state: *string, example "Alert" -as seen in example of "resolve monitor" #163
  • [x] overall_state_modified: *string: "2017-08-11T12:21:05.949182+00:00" -as seen in example of "resolve monitor"

ojongerius avatar Aug 21 '18 07:08 ojongerius