Sobes.tech
Senior

What metrics can be collected in CI/CD?

sobes.tech AI

Answer from AI

In CI/CD, the following metrics can be collected to assess the quality and efficiency of processes:

  • Percentage of successful builds and deployments — indicates pipeline stability.
  • Build and test execution time — helps optimize delivery speed.
  • Test coverage — percentage of code tested.
  • Number of bugs found during testing — code quality before release.
  • Frequency and reasons for build failures — to identify problematic changes.
  • Response time and performance after deployment (if integrated with monitoring).
  • Rollback time — how quickly a stable version can be restored.
  • Statistics on test types (unit, integration, e2e) — testing balance.

Collecting such metrics allows for informed decision-making to improve software development and delivery processes.