We're trying to integrate Bitbucket Pipleines' datadog-send-event pipe during our build process to automatically send events to DataDog of new deployments.
However, the pipe is not working correctly.We are using DataDog hosted in EU (http://datadoghq.eu/) and it seems that your pipe has hardcoded endpoint for DataDog US (app.datadoghq.com) that makes it impossible to send events to EU version.
Hardcoded value:https://bitbucket.org/atlassian/datadog-send-event/src/301e57cadb6b3c27a5157022722ee7f70a79ffaa/pipe/pipe.sh#lines-53
Looking forward for resolving this issue which makes it impossible to use your pipe plugin.
Hi @[deleted], thanks for reporting this issue, we'll try to add the support for dynamic datadog endpoints any time soon. Stay tuned, we'll notify you here when the new pipe version is released.
Hi @[deleted],In a new version of datadog-send-event:1.1.0 we added variable EU_ENDPOINT to choose which endpoint to use. Set true for api.datadoghq.eu endpoint, false - api.datadoghq.com (which is the default value actually). The whole example looks like:
script: - pipe: atlassian/datadog-send-event:1.1.0 variables: API_KEY: $API_KEY TITLE: 'This is the title' EU_ENDPOINT: true
Please provide us with feedback if everything okay. Have a nice day.
It looks like you're new here. Sign in or register to get started.