LogoLogo
Login to CortexBook a DemoCortex Academycortex.io
  • Cortex Docs
  • Cortex Quick Start
  • Ingesting data into Cortex
    • Managing Entities
      • Adding entities
        • Add services
        • Add domains
        • Add teams
        • Add custom entity types
        • Defining dependencies
      • Entity details page
      • Defining ownership
      • Defining relationship types
      • Grouping entities
      • Adding external documentation
      • Adding Deploy data
      • Adding custom data
      • Viewing discovered entities
      • Archiving entities
      • Relationship graph
      • Using On-call Assistant for incidents
      • Managing Terraform infra in Cortex
    • Managing Catalogs
    • Integrations
      • Internally hosted integrations
      • ArgoCD
      • AWS
      • Azure DevOps
      • Azure Resources
      • BambooHR
      • Bitbucket
      • BugSnag
      • Buildkite
      • Checkmarx
      • CircleCI
      • ClickUp
      • Codecov
      • Coralogix
      • Datadog
      • Dynatrace
      • Entra ID (Azure AD)
      • FireHydrant
      • GitHub
      • GitLab
      • Google
      • Grafana
      • incident.io
      • Instana
      • Jenkins
      • Jira
      • Kubernetes
      • LaunchDarkly
      • Lightstep
      • Mend
      • Microsoft Teams
      • New Relic
      • Okta
      • Opsgenie
      • PagerDuty
      • Prometheus
      • Rollbar
      • Rootly
      • Sentry
      • ServiceNow
      • Slack
      • Snyk
      • SonarQube
      • Splunk Observability Cloud (SignalFx)
      • Splunk On-Call (VictorOps)
      • Sumo Logic
      • Veracode
      • Wiz
      • Workday
      • xMatters
  • Scorecards
    • Initiatives and Action items
      • Creating issues based on Initiatives
    • Scorecard rule exemptions
    • Scorecard rule filters
    • Scorecard examples
    • Scorecards as code
  • Reports
    • Executive report
    • All Scorecards report
    • Bird's eye report
    • Progress report
    • Report card
  • Eng Intelligence
    • Custom Metrics
    • Jira Metrics
    • Metrics Explorer (Beta)
  • Cortex Query Language (CQL)
    • Using CQL reports
    • Using JQ in Cortex
  • Workflows
    • Running a Workflow
    • Blocks
    • Registering a Scaffolder template
      • Scaffolder advanced usage
    • Using a Workflow to sync in ArgoCD
    • Kicking off a Jenkins pipeline in a Workflow
  • Plugins
    • Creating a plugin
      • Creating a plugin proxy
    • Migrating Backstage plugins to Cortex
  • Developer homepage
  • Workspace Settings
    • Using GitOps for Cortex
      • GitOps logs
    • Managing users
      • Roles and permissions
        • Custom roles
        • Team ownership entity editing
      • Configuring SSO
        • Microsoft Entra ID
        • Google
        • Other OIDC providers
        • Okta
          • Okta SCIM
      • Configuring identity mappings
      • Onboarding management
    • API keys, secrets, and tokens
      • Secrets
      • Personal tokens
    • Audit logs
    • Entity settings
      • Data verification
      • Auto archiving entities
    • IP allowlist
    • Notifications
      • Notification logs
    • Customizing your workspace
    • Using search in Cortex
  • Cortex API
    • REST API operations
      • API Keys
      • Audit Logs
      • Catalog Entities
      • Custom Data
        • Custom Data (Advanced)
      • Custom Events
      • Custom Metrics
      • Dependencies
      • Deploys
      • Discovery Audit
      • Docs
      • Eng Intel: User Labels
      • Entity Types
      • GitOps Logs
      • Groups
      • Initiatives
      • Integrations APIs
        • Azure Active Directory (Entra ID) API
        • Azure Resources API
        • AWS API
        • Azure DevOps API
        • CircleCI API
        • Coralogix API
        • Datadog API
        • GitHub API
        • GitLab API
        • incident.io API
        • LaunchDarkly API
        • New Relic API
        • PagerDuty API
        • Prometheus API
        • SonarQube API
      • IP Allowlist
      • Notification Logs
      • On call
      • Packages
      • Plugins
      • Queries
      • SCIM
      • Scorecards
      • Secrets
      • Team Hierarchies
      • Teams
      • Workflows
Powered by GitBook
On this page
  • Accessing Metrics Explorer
  • Using Metrics Explorer
  • Configure a graph
  • Filter the graph
  • Sort the columns
  • Share a report
  • Metrics available in the Metrics Explorer

Was this helpful?

Export as PDF
  1. Eng Intelligence

Metrics Explorer (Beta)

Last updated 13 days ago

Was this helpful?

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

  1. On the Metrics Explorer page, click Select data point.

  2. 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.

  3. 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

  1. 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.

identity mappings
available metrics
In the main nav, click Eng Intelligence > Metrics Explorer
The Metrics Explorer displays a graph and metrics per team, author, or repository.
Select a time range for the Metrics Explorer.
Click Sort in the upper right corner of the data table, below the graph.