Issue:
Disabling a detector no longer works.
Suspected Cause:
API change on SFX side. We used to pass in disabled:disabled as an option for a detector to disable it.
https://github.com/Nike-Inc/signal_analog/blob/master/signal_analog/detectors.py#L270-L280
Now it appears disabling a detector is with a PUT to /detector/{id}/disable
https://developers.signalfx.com/detectors_reference.html#tag/Disable-Single-Detector
We will need to refactor to grab the id for the matching detector to be disabled and hit that endpoint.
Issue:
Disabling a detector no longer works.
Suspected Cause:
API change on SFX side. We used to pass in
disabled:disabledas an option for a detector to disable it.https://github.com/Nike-Inc/signal_analog/blob/master/signal_analog/detectors.py#L270-L280
Now it appears disabling a detector is with a PUT to
/detector/{id}/disablehttps://developers.signalfx.com/detectors_reference.html#tag/Disable-Single-Detector
We will need to refactor to grab the id for the matching detector to be disabled and hit that endpoint.