• Documentation

Available predefined metrics

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

Availability

Percent of time over the last 28 days that this component has been available.

Suffix: %
Unit: percent
Example: 9.40%

ID: ari:cloud:compass::metric-definition/builtin/availability-28d

Build success rate

The ratio of build events for this component that were successful compared to all build events (including failed, timed out, etc.). Only the last 25 build events are evaluated.

Can be derived from Build events.

Suffix: %
Unit: percent
Example: 97%

ID: ari:cloud:compass::metric-definition/builtin/build-success-rate

Build time

The average amount of time it took for a build event to finish over the last 10 successful build events.

Can be derived from Build events.

Suffix: min
Unit: minute(s)
Example: 1 minute

ID: ari:cloud:compass::metric-definition/builtin/build-time-avg-last-10

Change failure rate

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.

Suffix: %
Unit: percent
Example: 5%

ID: ari:cloud:compass::metric-definition/builtin/change-failure-rate-28d

Critical alerts

The number of critical alerts (P1, P2) for a component in the last 28 days.

Can be derived from Alert events.

Suffix: N/A
Unit: decimal
Example: 5

ID: ari:cloud:compass::metric-definition/builtin/critical-alert-count-28d

Cyclomatic complexity

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 10 builds.

Suffix: N/A
Unit: decimal
Example: 10

ID: ari:cloud:compass::metric-definition/builtin/cyclomatic-complexity-avg-last-10

Deployment frequency

The weekly average of times a deployment event to production occurred in the previous four weeks.

Can be derived from Deployment events.

Suffix: deploys/week
Unit: deploys per week over the last 4 weeks
Example: 10 deploys/week

ID: ari:cloud:compass::metric-definition/builtin/weekly-deployment-frequency-28d

Deployment time

The average amount of time it took for a deployment in the production environment to complete over the last 25 deployments.

Can be derived from Deployment events.

Suffix: min
Unit: minute(s)
Example: 57 minutes

ID: ari:cloud:compass::metric-definition/builtin/deployment-time-avg-last-25

Mean time to remediate critical severity vulnerabilities

The time it takes to fully remediate a critical severity vulnerability, from when it was first discovered to when it was remediated. Averaged over the last 10 vulnerabilities.

Can be derived from Vulnerability events.

Suffix: d
Unit: day(s)
Example: 7d

ID: ari:cloud:compass::metric-definition/builtin/mttr-critical-sev-vulnerability-avg-last-10

Mean time to remediate high severity vulnerabilities

The time it takes to fully remediate a high severity vulnerability, from when it was first discovered to when it was remediated. Averaged over the last 10 vulnerabilities.

Can be derived from Vulnerability events.

Suffix: d
Unit: day(s)
Example: 7d

ID: ari:cloud:compass::metric-definition/builtin/mttr-high-sev-vulnerability-avg-last-10

Mean time to resolve

MTTR (mean time to resolve) 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 10 incidents.

Can be derived from Incident events.

Suffix: min
Unit: minute(s)
Example: 10 minutes

ID: ari:cloud:compass::metric-definition/builtin/mttr-avg-last-10

Non-critical alerts

The number of non-critical alerts (P3, P4, P5) for a component in the last 28 days
Suffix: N/A

Can be derived from Alert events.

Unit: decimal
Example: 5

ID: ari:cloud:compass::metric-definition/builtin/non-critical-alert-count-28d

Open bugs

The amount of open bugs for a component.

Suffix: N/A
Unit: decimal
Example: 5

ID: ari:cloud:compass::metric-definition/builtin/open-bugs

Open critical security vulnerabilities

The amount of open critical severity vulnerabilities for a component derived from vulnerability events.

Can be derived from Vulnerability events.

Suffix: N/A
Unit: decimal
Example: 5

ID: ari:cloud:compass::metric-definition/builtin/open-critical-sev-vulnerability-count-28d

Open high severity vulnerabilities

The amount of open critical severity vulnerabilities for a component derived from vulnerability events.

Can be derived from Vulnerability events.

Suffix: N/A
Unit: decimal
Example: 5

ID: ari:cloud:compass::metric-definition/builtin/open-high-sev-vulnerability-count-28d

Open pull requests

The count of currently open pull requests for a component.

Suffix: N/A
Unit: decimal
Example: 100

ID: ari:cloud:compass::metric-definition/builtin/open-pull-requests

Open vulnerabilities

The count of currently open vulnerabilities for a component.

Suffix: N/A
Unit: decimal
Example: 5

ID: ari:cloud:compass::metric-definition/builtin/open-vulnerabilities

Pull request cycle time

How long it took for a pull request to go from open to merged. Averaged over the last 10 pull requests.

Suffix: min
Unit: minute(s)
Example: 184 min

ID: ari:cloud:compass::metric-definition/builtin/pull-request-cycle-time-avg-last-10

Quality gate conditions passing

The percentage of conditions in a quality gate that are passing

Suffix: %
Unit: percent
Example: 95%

ID: ari:cloud:compass::metric-definition/builtin/quality-gate-conditions-passing

Recent incidents

Open and resolved incidents for a component in the last 28 days.

Can be derived from Incident events.

Suffix: N/A
Unit: decimal
Example: 5

ID: ari:cloud:compass::metric-definition/builtin/incident-count-28d

Reliability

Percent of requests over the last 28 days that have had a successful response.

Suffix: %
Unit: percent
Example: 9.94%

ID: ari:cloud:compass::metric-definition/builtin/reliability-28d

Unit test coverage

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 10 builds.

Suffix: %
Unit: percent
Example: 71.40%

ID: ari:cloud:compass::metric-definition/builtin/unit-test-coverage-avg-last-10

 

Still need help?

The Atlassian Community is here for you.