Adding flyout to create detector from existing monitor through Monitor Details page
Description of changes:
These are the front end changes for the AD Everywhere project. The main changes revolve adding the create detector button to the monitor details page which converts the existing monitor configurations to Anomaly detector configurations. The configurations are then validated against the validation API to pre fill the fly out. This button is only useble on visual graph type monitors.
Internal Changes:
- DetectorFailure.js and CreateDetector.js flyouts, conversion and button added to MonitorDetails.js.
- Added server code to call the AD validation API and to start AD.
External Changes:
Added button:

Example of pre filled flyout:

Example of flyout if query filter is wrong and needs changing:

Example of Detector Failure flyout when there is no way detector can be made due to no historical data:

After Create detector has been clicked on the flyout:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.