Last updated Feb 14, 2022

Rate this page:

Available predefined metrics

Compass provides predefined metrics for you to connect to your components and display metric data.

Predefined metrics list

Availability (last 28 days)
Percent of time over the last 28 days that this component has been available.
ID: ari:cloud:compass::metric-definition/builtin/availability-28d
Suffix: %
Unit: percent
Example: 9.4%

Reliability (last 28 days)
Percent of requests over the last 28 days that have had a successful response.
ID: ari:cloud:compass::metric-definition/builtin/reliability-28d
Suffix: %
Unit: percent
Example: 9.94%

MTTR (last 28 days)
Mean time to resolve (MTTR) is the average time it takes to fully resolve a failure, as measured from when an incident occurs (making the component dysfunctional) to when the component becomes fully functional again, measured over the last 28 days.
ID: ari:cloud:compass::metric-definition/builtin/mttr-28d
Suffix: min
Unit: minute(s)
Example: 10 minutes

Change Failure rate (last 28 days)
The ratio of changes that failed to apply or cause an impact on the component compared to the overall changes made to the component over the last 28 days.
ID: ari:cloud:compass::metric-definition/builtin/change-failure-rate-28d
Suffix: %
Unit: percent
Example: 5%

Unit Test Coverage (last ten builds average)
The ratio of lines of code that had a test run against it in a build, compared to the total lines of code for a component, calculated as an average over the last ten builds. ID: ari:cloud:compass::metric-definition/builtin/unit-test-coverage-avg-last-10
Suffix: %
Unit: percent
Example: 71.4%

Cyclomatic Complexity (last ten builds average)
Measurement of code complexity, which is calculated by counting the number of decisions in a component’s source code, calculated as an average over the last ten builds.
ID: ari:cloud:compass::metric-definition/builtin/cyclomatic-complexity-avg-last-10
Suffix: N/A
Unit: decimal
Example: 10

Deployment Time (last 25 average)
The amount of time it takes for deployment to complete in production, staging, or development environment, averaged over the last 25 deployments.
ID: ari:cloud:compass::metric-definition/builtin/deployment-time-avg-last-25
Suffix: min
Unit: minute(s)
Example: 57 minutes

Build Time (last ten average)
The amount of time it takes for a build to complete, averaged over the last ten builds.
ID: ari:cloud:compass::metric-definition/builtin/build-time-avg-last-10
Suffix: min
Unit: minute(s)
Example: 1 minute

Open Pull Requests
The count of currently open pull requests for a component.
ID: ari:cloud:compass::metric-definition/builtin/open-pull-requests
Suffix: N/A
Unit: decimal
Example: 100

Open Vulnerabilities
The count of currently open vulnerabilities for a component.
ID: ari:cloud:compass::metric-definition/builtin/open-vulnerabilities
Suffix: N/A
Unit: decimal
Example: 5

Build Success Rate
The ratio of CI builds on the default branch that were successful compared to all builds (including failed, canceled, and more). Only the last 25 builds are evaluated.
ID: ari:cloud:compass::metric-definition/builtin/build-success-rate
Suffix: %
Unit: percent
Example: 97%

Deployment Frequency
The number of times a component was deployed to production in the previous 28 days.
ID: ari:cloud:compass::metric-definition/builtin/weekly-deployment-frequency-28d
Suffix: deploy / week
Unit: deploys per week over the last 4 weeks
Example: 1 deploy / week

Pull Request (PR) Cycle Time (average last ten)
How long it took on average for a Pull Request to go from Open to Merged over last 10 pull requests.
ID: ari:cloud:compass::metric-definition/builtin/pull-request-cycle-time-avg-last-10
Suffix: min
Unit: minute(s)
Example: 184 min

Rate this page: