Engineering Metrics
Introduction
Bunnyshell grants its users access to key metrics that allow them to monitor the efficiency of their team.
Named Engineering Metrics, this feature includes two main indicators, part of the DORA metrics also:
- Average Cycle Time
- Deployment Frequency
Based on these two, we also display these additional indicators:
- Monthly Cycle Time
- Cycle Time Breakdown
- Monthly Deployment Frequency
Accessing the Engineering Metrics
- Log in to your Bunnyshell account.
- Click the Engineering Metrics icon on the left-side of the main interface.
Repositories
By default, Bunnyshell displays the cumulated statistics for all your connected repositories.
You can also access statistics for each of the repositories from the drop-down menu on the upper-left side of the Engineering Metrics interface, as displayed in the screenshot below.
How to select the repositories to monitor
To choose the repositories that will be analyzed by Bunnyshell, follow the steps below:
- Go to the Engineering Metrics interface.
- Click the Settings button.
- In the Git Repositories section, add or remove the desired repos.
Release Detection
The central element on which we compile the data is the Release. Bunnyshell allows you to select the way in which releases are detected.
Users have the following two options to choose from:
- Detect releases based on Pull Requests to a dedicated branch: based on branch regular expression provided by the user, our platform will detect releases every time a Pull Request is merged into a branch matching the regular expression
- Detect releases based on tags: our platform will detect releases based on created git tags matching the regular expression.
Note
Release detection is set at a Project level.
How to set Release Detection
- Go to the Engineering Metrics interface.
- Click the Settings button.
- In the Release Detection section, choose one of the two available option
Note
The changes made here will impact all monitored repositories.
Regular Expressions
Depending on the Release Detection type , you can provide a regular expression to help Bunnyshell more easily identify releases.
- Go to the Engineering Metrics interface.
- Click the Settings button.
- In the Regular Expression section, fill in the necessary info.
Branch Regular Expression
To get the most out of the Engineering Metrics feature, you will have to fill in a branch regular expression. This means only pushes made on the specified branch (or branches) will be recorded by Bunnyshell as actual Releases.
Note
If no Branch Regular Expression is given (or if you type .*), then all pushes will be considered releases.
Examples
- If you type
^master$
in this field, then Bunnyshell will only record the pushes made on the master branch as Releases.- If you type
^master$|^main$
in this field, then Bunnyshell will only record the pushes made on themaster
andmain
branches as Releases.- If you type
^master
in this field, then Bunnyshell will record the pushes made to any branch whose name starts withmaster
.
Tag Regular Expression
Tag Regular Expressions enable Bunnyshell to provide you with more accurate metrics.
For example, if you type ^v6
in this field, then Bunnyshell will only record releases that include the tag v6.
When releases are detected based on tags, you can choose to provide a regular expression or not.
If no Tag regular expression is given (or if you type.*
), then all tags will be considered releases.
Settings
You can personalize the Engineering Metrics further by clicking on the Settings button located in the upper-right corner of the main interface.
Git Repositories
Here you can select which repositories will be analyzed by Bunnyshell. By default, all your connected repositories are included, but you do have the possibility to select individual ones.
See the Repositories section for additional information.
Release Detection
This is where you select the way in which releases are detected. Read more about this in the Release Detection section.
Regular expression
Here you can provide a regular expression to help Bunnyshell easily identify releases.
Scroll to the Regular Expressions section for additional info.
Updated about 1 year ago