Support for monorepos

JJ
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2023

Adding a repository to a component worked well but if that repository is a monorepo with multiple components it's not possible to filter out the different metrics based on different rules.

Is there a different option that can be configured (eg. grouping PRs with a certain label inside a monorepo, filtering releases etc.)?

5 answers

14 votes
prashant
Contributor
May 4, 2023

+1 there needs to be more documentation on how monorepos work with compass

3 votes
Ivan Diana
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 12, 2024

+1 needs to understand how it could be work with monorepo

1 vote
Tyler T
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 21, 2025

While full monorepo support is not yet available, Compass now allows you to stop SCM powered metrics from monorepo components. Currently this is supported via the UI or API, not config-as-code -> https://developer.atlassian.com/cloud/compass/config-as-code/manage-components-with-config-as-code/#managing-multiple-components-with-config-as-code-in-a-single-repository

On the component overview page, select more actions (•••) then Component of a monorepo and enable this setting. This will prevent capturing activity (events, metrics) across the entire monorepo with the Bitbucket, GitHub, and GitLab integrations. In the future we'll add a property to manage this setting via configuration as code. Send events and metrics for this component using our API.

1 vote
Joshua Chaitin-Pollak
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2024

I'm on day-zero with Compass having just enabled it a few minutes ago, but does this section of the documentation help?

https://developer.atlassian.com/cloud/compass/config-as-code/manage-components-with-config-as-code/#managing-multiple-components-with-config-as-code-in-a-single-repository

1 vote
Michelle Carr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2024

+1 having same issue here

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events