Bitbucket Source Code

Integration version1.0.0

Overview

Integrate Datadog with your Bitbucket repositories to streamline troubleshooting of code issues and get suggested changes on your source code.

Get context-relevant code snippets while investigating issues in Error Tracking, Continuous Profiler, Code Security, and many more areas within Datadog.

Protect your production code base with pull request comments from Code Security, Test Optimization, and CI Visibility that provide automated code reviews and suggested changes.

Source code functionality

When installed with the correct permissions, this integration powers source code integration features across Datadog to help you troubleshoot and take action on your code:

  • See code snippets in your stack traces to identify where code problems originate. This can speed up investigations in Error Tracking, Continuous Profiler, Dynamic Instrumentation, and Live Debugger.
  • Streamline code reviews with automated feedback and suggested changes from Code Security and Test Optimization, posted directly on pull requests.

Bitbucket pipelines

For more in-depth monitoring of your Bitbucket pipelines, check out CI Pipeline Visibility. CI Pipeline Visibility provides granular insights into your user workflow, lets you access detailed Git metadata, and tracks pipeline performance over time.

Setup

Some features require additional setup beyond installing the Bitbucket Source Code integration. Installing the integration connects your Bitbucket repositories to Datadog and grants only the permissions and access required as prerequisites for supported features. It doesn't enable any billable functionality by default, and you only incur additional charges if you explicitly configure a paid feature.
  1. In the Bitbucket Source Code integration tile, navigate to the Configuration tab.
  2. Click Connect Bitbucket Account.
  3. Follow the on-screen instructions to authorize Datadog to access your Bitbucket workspace.
  4. Select the Bitbucket workspaces and repositories you want to connect to Datadog.
  5. Click Finish.

After setup, you’re returned to your original location in Datadog. To enable inline code snippets in APM, set up Source Code Integration.

Data Collected

Metrics

Bitbucket Source Code does not include any metrics.

Events

Bitbucket Source Code does not include any events.

Troubleshooting

Need help? Contact Datadog support.