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

Bitbucket Pipeline Datadog should also have endpoint variable

Nataraj July 27, 2022
This integration assumes that the datadog endpoint is https://app.datadoghq.com/ but the user endpoint is  https://us5.datadoghq.com/ then the integration fails to work .
DataDog endpoints could be housed in
etc
- pipe: atlassian/datadog-send-event:1.1.3
variables:
API_KEY: '<STRING>'
TITLE: '<STRING> '
# TEXT: '<string>' # Optional.
# PRIORITY: '<string>' # Optional.
# ALERT_TYPE: '<string>' # Optional.
# TAGS: '<string>' # Optional.
# DEBUG: '<boolean>' # Optional.
# EU_ENDPOINT: '<boolean>' # Optional.
Thanks
Nataraj

1 answer

0 votes
Nataraj July 28, 2022
This integration assumes that the datadog endpoint is https://app.datadoghq.com/ but the user endpoint could be  https://us5.datadoghq.com/ then the integration fails to work .

DataDog endpoints could be housed in any of the regions 




ITE SITE URL SITE PARAMETER LOCATION
US1 https://app.datadoghq.com datadoghq.com US
US3 https://us3.datadoghq.com us3.datadoghq.com US
US5 https://us5.datadoghq.com us5.datadoghq.com US
EU1 https://app.datadoghq.eu datadoghq.eu EU
US1-FED https://app.ddog-gov.com ddog-gov.com US


The EU_ENDPOINT could be renamed to DATADOG_SITE (i leave this to you) so that the user could point them to a specific endpoint or site 


- pipe: atlassian/datadog-send-event:1.1.3
variables:
API_KEY: '<STRING>'
TITLE: '<STRING> '
# TEXT: '<string>' # Optional.
# PRIORITY: '<string>' # Optional.
# ALERT_TYPE: '<string>' # Optional.
# TAGS: '<string>' # Optional.
# DEBUG: '<boolean>' # Optional.
# EU_ENDPOINT: '<boolean>' # Optional.

Thanks
Nataraj

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events