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.
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.
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.
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!
Katie Silver
4 comments