Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

"datadog-send-event" not sending events to DataDog EU

Deleted user December 20, 2019

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.

2 answers

2 votes
Viktoriia Kozopas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 31, 2019

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.

0 votes
Alexander Zhukov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 25, 2019

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events