04 Feb 2025 09:54 AM - edited 06 Mar 2025 09:28 AM
17 Jun 2025 09:18 AM
hi @JohannesBraeuer
Do you know if there are any plans for comprehensive observability monitoring for Bitbucket? Just like GitHub or GitLab, Bitbucket also has the ability to run workflows. It could be interesting to monitor the workflow execution directly within the code repository, rather than relying solely on tracing via Jenkins — although that is, of course, also great.
I know that Bitbucket currently doesn't support OpenTelemetry or other significant observability solutions. So the only option for now is probably either to enrich the data with OpenTelemetry manually, or to use the Dynatrace ingest API and export the data there using an external script — is that correct?
script:
- >
curl -X POST "https://{environmentid}.live.dynatrace.com/api/v1/events"
-H "Authorization: Api-Token $DT_API_TOKEN"
-H "Content-Type: application/json"
-d '{
"eventType": "CUSTOM_DEPLOYMENT",
"attachRules": {
"tagRule": [
{
"meTypes": ["SERVICE"],
"tags": [{"context": "CONTEXTLESS", "key": "app", "value": "my-app"}]
}
]
},
"deploymentName": "Bitbucket Pipeline Build #$BITBUCKET_BUILD_NUMBER",
"ciBackLink": "$BITBUCKET_GIT_HTTP_ORIGIN",
"customProperties": {
"branch": "$BITBUCKET_BRANCH",
"commit": "$BITBUCKET_COMMIT"
}
}'