Skip to main content

Available metrics in Insights

Abstract

There are numerous available metrics in Insights, such as build success rate, the number of builds, the median time of a successful builds, etc.

Insights allows you to track three categories of metrics:

  • Build metrics.

  • Test metrics.

  • Credits spent.

Build metrics

You can access build metrics from the charts on the Overview page or by selecting Builds on the left. The build metrics are available on app-, Workflow-, and Step level as well:

  • Top build time: The 95th percentile of build times of successful builds. In other words, the slowest 5% of successful builds. In the case of Steps, it indicates the slowest 5% of successful runs of the Step.

  • Typical build time: The median time of a successful build. In the case of Steps, the median time it took to successfully run the Step.

  • Failure rate: The rate of failed builds, or the rate at which a given Workflow or Step failed. For example, if a Script Step failed six times out of ten in a given Workflow, its failure rate is 60%.

  • Build count: The total number of builds started.

  • Total duration: The total duration of all builds. If filters are applied, it's the total duration of builds to which the filters apply.

Test metrics

Access testing metrics by selecting Tests on the left. Similarly to basic build metrics, you can apply filters to test runs: you can filter for individual test suites, test cases, or modules, as well as to branches of your app's repository.

  • Top duration: The 95th percentile of build times of successful builds. In other words, the slowest 5% of successful builds. In the case of Steps, it indicates the slowest 5% of successful runs of the Step.

  • Typical duration: The median time of a test run.

  • Failure rate: The rate of failed test runs.

  • Total duration: For concurrency-based accounts, it is the total time spent building, or running a given Step. For credit-based accounts, it’s the amount of credits used while building, or while running a given Step.

  • Test runs: The total number of test runs.

  • Flaky runs: The number of test runs that produce inconsistent results despite no changes in the code.

Credits spent

Insights tracks the amount of credits spent on each app and, if you need it, each Workflow of a given app. To check your spending, open Insights and on the left, select Credits.

The spending chart can show you either the weekly spend or the cumulative spend on the selected app or Workflow.