Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Metrics are now available in Compass

Hello, wonderful Compass alpha users!

Today is the day, we are extremely happy to announce that v1 of our Metrics feature is in production. And boy, is there a lot to share!

As a software development team ourselves, we know firsthand how important tracking SLOs, availability, and other performance metrics are to keeping our services functional. As we previewed a couple of times, we are designing Compass to help you better utilize these metrics - from calculation and simple tracking to enforcing standards for your team’s operational health.

With this new feature, now you can associate numerical metrics with your Compass components, and use those metrics as scorecard criteria.

 


 

There are two primary ways you can add metrics: 

1. Link your Bitbucket repository to see repo-specific metrics automatically (Github coming soon!)

If you’re using the Bitbucket app for Compass, any components with linked Bitbucket repositories will now start to show two metrics: Pull Request Cycle Time and Deployment Frequency. If you haven’t already done this, just go to your component in Compass and add a link to your repo under “Repositories”. After you refresh the page, you’ll see your new metrics! No further setup required - it’s automagic 🙂 And every time you merge a pull request or do a deployment from Bitbucket, we’ll automatically update these metrics for your component. 

metric1.png

 

2. Use the metrics REST API to send other metrics to Compass

You can create a new metric, or add one of our handy predefined metrics to your existing Compass component. Then, run the customized, auto-generated cURL command to push in metric values as required.

metric2.pngmetric3.png

Once you use either of these methods, your metric value will appear on your component - voila! (You can also view all your metrics and their related components by clicking “Health” in the top nav menu, then “Metrics” in the left-hand sidebar.)

Of course, these metrics aren’t just for show. You can use any metric as scorecard criteria too.

metric4.pngmetric5.png

We’re excited to hear what you think. Try it out, please leave feedback, and most importantly: tell us what you want to see next from Metrics!

4 comments

David Harper February 16, 2022

Hi @Katie Silver ,

 

Is this a gradual roll-out? I've got components linked to Bitbucket and `PR Cycle Time` just shows a cURL command. Nothing loaded automatically.

I did have to go in and upgrade the Bitbucket connection app manually (would be good if that was a bit more prominent that it needed doing!)

 

Thanks

 

EDIT: I bit the bullet, removed all the `compass.yml` files and re-imported everything as "Services". The metrics are now showing.

Like Katie Silver likes this
Dave Parrish _Atlassian_
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2022

Hi @David Harper, sorry you encountered this issue, and glad to hear you were able to work through it. We would have expected the metrics to appear automatically, so it's definitely a bug, and we're actively working on reproducing it. Thanks for reporting it!

Like Steffen Opel _Utoolity_ likes this
Katie Silver
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 16, 2022

Hey @David Harper - Echoing my teammate, so sorry for the trouble. Let us know if you have more feedback for us, we really appreciate you getting in there quickly. 

Like Steffen Opel _Utoolity_ likes this
andrew_pass
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2022

Loving this new functionality, had a couple of questions :)

We're connected up to BB Cloud and I have the PR Cycle Time metric working, is there any reason why the Open Pull Request metric doesn't automatically work as well?

Guessing currently you'd need to add this as a webhook within the specific BitBucket Repository? 

 

Any plans to make these automatic similar to the PR Cycle Time one? 

 

Cheers!

Andy

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events