Invalid url for Datadog monitors
Summary
When using the Datadog integration, external_url
is automatically completed. But when the user is using a custom Datadog subdomain (Datadog Enterprise) the URL is wrong.
Steps to reproduce
- User having an Enterprise Datadog subscription with a custom URL :
client1.datadoghq.com
- Having enabled the Datadog integration
- Having monitors with the Datadog integration configured
What is the current bug behavior?
The external_url
field is filled with https://datadoghq.com/monitors/0000001
What is the expected correct behavior?
The external_url
field should be filled with https://client1.datadoghq.com/monitors/0000001
Environment info
0.15.0
Possible fixes
Allow user to specify client1.datadoghq.com
in the DD_SITE
environnent variable. The integration internal should still use datadoghq.com
for API communications.
Edited by Guillaume MARTINEZ