In Compass, there are two main methods for pulling in metric data. One method is by pushing metric values using a cURL command and the other is by automatically connecting metrics when you add a relevant link to the component details page from a configured integration.
We currently support the Bitbucket Cloud integration for automatically pulling in metric data. More tools are coming soon!
Before you begin
Depending on your current configurations, you may not need to do anything to set this up. If you’ve already installed Bitbucket Cloud and have added a link to a repository with existing data to a component, then the metrics automatically backfill and are displayed under Metrics on the component’s details page.
Ensure that you are an admin on:
the app’s workspace or organization that you want to connect with Compass
Note: If you’re already connected to a tool and have added a repository link to your component, the metrics automatically backfill and are added to the component. Check the component and refresh the page to see the metric values appear.
Relevant metrics such as Pull Request Cycle Time and Deployment Frequency are automatically added to the Metrics section with their corresponding metric values.
If the Pull Request Time and Deployment Frequency metrics don’t appear after following these steps:
Make sure your Bitbucket integration app is up-to-date (Check the Apps page to confirm)
Make sure the linked repository on the component is part of the workspace connected to the integrated tool
If you see the metrics cards but not the metric values, make sure the linked repository has:
Deployments on the main/default branch within the last 28 days