Atlassian tools are perfectly integrated into Dynatrace.
Atlassian Bitbucket represents a lightweight and very convenient way of building your own continuous delivery (CI) pipeline.
As the name already suggests, Bitbucket pipelines comes as an integrated continuous deployment feature within the Atlassian Bitbucket cloud solution. Pipelines allows Bitbucket customers to build, test and deploy directly out of your Bitbucket project repository.
Dynatrace as the most advanced monitoring platform perfectly integrates into any continuous deployment pipeline by providing real-time feedback about all deployed project artifacts.
No matter if your Bitbucket pipeline triggered a load test or just deployed a new project artifact into production, Dynatrace immediately provides the real-time monitoring data.
As Bitbucket pipelines is built entirely upon build scripts, it’s easy to integrate Dynatrace into each deployment or test step by using the Dynatrace REST API.
The following screenshot shows how a typical Bitbucket pipeline project repository looks like, including a custom shell script for pushing a deployment event over to Dynatrace.
Environment variables added on the repository level can be accessed by any users with push permissions in the repository.
Use the Bitbucket repository environment variables to secure your Dynatrace API token, as shown on the screenshot.
Use the Dynatrace API to fetch real-time metrics from the Dynatrace Timeseries API after a deployment.
Additionally, you can use a custom shell or curl script to attach important deployment information directly into your Dynatrace application performance monitoring system.