This feature is available in private beta. Please reach out to your Cortex Customer Success Team for access.
Use the Metrics Explorer to understand metric trends over time, then drill into single datapoints for deeper investigation.
Accessing Metrics Explorer
To view, click Eng Intelligence > Metrics Explorer from the main nav.
Using Metrics Explorer
Configure a graph
On the Metrics Explorer page, click Select data point.
On the left side of the modal, select a data point. On the right side, depending on which metric you choose, you can select an operation.
At the bottom of the modal, click View metric.
A graph of the metric is displayed, by default using a time range of the last 7 days. Below the graph, see an overview of metrics segmented per team, author, and repository.
Click into any of the metric points at the bottom of the page to drill in, seeing the data behind the metric.
Filter the graph
You can filter a graph by time range, teams, author, and repository.
Filter by time range
Click the time range in the upper right corner of the graph. Select a new time range and configure the dates. The graph will automatically reload as you select a time range.
To change the grouping of the time range in the graph, click Display in the upper right corner. You can choose whether to display the data grouped by day, week, or month.
Filter by team, author, or repository
When you are done adding filters, click Apply at the bottom of the filter modal.
Sort the columns
You can sort the data below the graph. Click Sort, then select an option.
Share a report
After selecting a data point and applying filters, you can share the browser URL with other people who have access to your Cortex workspace. The URL query parameters include timestamps, so the shared Metrics Explorer page will reflect the same results across different timezones.
Metrics available in the Metrics Explorer
Count of closed PRs
The count of PRs closed in a given time period.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Date closed
Count of merged PRs
The count of PRs merged in a given time period.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Date closed
Count of open PRs
The count of PRs opened in a given time period.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Date closed
Cycle time
The first commit on a PR to when the PR is merged. This represents the time it takes for a single PR to go through the entire coding process.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
First commit date
Date closed
Cycle time
PR reviews count
The number of reviews on a PR.
When you drill in to metric points below the graph, view more data:
Reviewer
Review date
PR size
The number of lines of code modified in a PR.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Number of lines added
Number of lines deleted
PR size
Success rate
The percentage of PRs that are opened and eventually merged in a given time frame.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Date opened
Date closed
Time to approve
The time from the first review to the time it’s approved. This represents how long engineers are spending reviewing code. If the first review is an approval, this time will be 0 as the timestamps will be the same.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Review date
Approval date
Time to approve
This is the time between the review date and the approval date.
Time to first review
The time a PR is open to when the PR gets it’s first review (comment or approval). This represents how long PRs are waiting idol before someone starts reviewing it.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Date opened
First review time
Time to first review
This is the time between the open date and the first review time.
Time to merge
The time from when the PR is approved to when it’s merged.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
Approval date
Date closed
Time to merge
This is the time between the approval date and the date closed.
Time to open
The time it takes from the first commit on a PR until the PR is opened. This represents the time spent coding.
When you drill in to metric points below the graph, view data per PR:
PR name
Author
PR status
First commit date
Date opened
Time to open
This is the time between the first commit date and the date opened.
See the full list of below.
The metrics segmented by team are based on the individual users within that team. In order to have data appear, the teams must have members and the team's must be configured.
Click Filter in the upper right corner of the graph. You can configure a single filter or a combination of filters for teams, authors, and repositories.