Make monitor more generic
Problem to solve
The actual state of monitor is to Datadog oriented and doesn't leave room for other integration or maybe multi integration at the same time
Proposal
- Add a new attribute to monitors to define the associated integration to use for update
- Migrate all current monitor to :
- type
datadog
if theexternal_link
is defined and match DatadogHQ url - type
generic
if theexternal_link
is not defined
- type
- Update the current Datadog integration to filter only monitor with
datadog
type
Reflexion
- Update the current
external_link
into onlyexternal_reference
containing monitor IDs in the third party integration ? - Keep
external_link
and addexternal_reference
and let integration update theexternal_link
? - Only use
external_reference
in integration ?