Open kfanadka-salesforce opened 5 years ago
When I get a monitor I expect to have a state object in the response, the state includes information like the effected hosts from the alert. dogapi.monitor.getAll(['alert'],(err, monitors) => {...
dogapi.monitor.getAll(['alert'],(err, monitors) => {...
I expect: "state": {"groups": {"host:data-tests-mongo-prod-mongo-127-conf-0": {"status": "OK", "last_triggered_ts": null, "last_nodata_ts": null, "name": "host:data-tests-mongo-prod-mongo-127-conf-0", "last_notified_ts": null, "last_resolved_ts": null}
"state": {"groups": {"host:data-tests-mongo-prod-mongo-127-conf-0": {"status": "OK", "last_triggered_ts": null, "last_nodata_ts": null, "name": "host:data-tests-mongo-prod-mongo-127-conf-0", "last_notified_ts": null, "last_resolved_ts": null}
but actually, I don't get the state object, the state object I'm showing above is from python datadog : https://github.com/DataDog/datadogpy
Any idea why it's missing?
When I get a monitor I expect to have a state object in the response, the state includes information like the effected hosts from the alert.
dogapi.monitor.getAll(['alert'],(err, monitors) => {...
I expect:
"state": {"groups": {"host:data-tests-mongo-prod-mongo-127-conf-0": {"status": "OK", "last_triggered_ts": null, "last_nodata_ts": null, "name": "host:data-tests-mongo-prod-mongo-127-conf-0", "last_notified_ts": null, "last_resolved_ts": null}
but actually, I don't get the state object, the state object I'm showing above is from python datadog : https://github.com/DataDog/datadogpy
Any idea why it's missing?