Coroot 0.12: Deployment Tracking for Kubernetes Applications

Coroot 0.12: Deployment Tracking for Kubernetes Applications

Coroot

Coroot is an open-source observability and application performance monitoring (APM) tool. Version 0.12.0, released in January 2023, added deployment tracking: Coroot now detects every application rollout in a Kubernetes cluster and reports on how the new version behaves.

How deployment tracking works

Coroot uses metrics gathered by kube-state-metrics to detect that an application (a Kubernetes Deployment) has been updated. Reading Kubernetes metadata gives the most current picture of what is running, and it removes the need to integrate Coroot with your CI/CD tools.

Rollout status

Once a new rollout is detected, Coroot starts monitoring its status. A rollout is considered stuck if it lasts more than three minutes, which can point to a problem with container images or a new pod that cannot be scheduled on a cluster node. The threshold can be adjusted for any single application or for an entire project.

The post-deployment audit

Thirty minutes after a new version is deployed, Coroot audits the application and compares its performance with the previous version. The comparison covers:

  • SLOs for availability and latency
  • The number of errors in the application logs
  • Container restarts
  • CPU consumption
  • Memory leaks

Notifications

Coroot sends notifications of notable changes to Slack, so a performance regression after a release does not go unnoticed. Notifications can be turned off for any application category.

Other changes in the 0.12 series

Version 0.12.1 added a --url-base-path option for running Coroot at a sub-path, for example behind a reverse proxy, along with self-hosted fonts. The 0.12.3 and 0.12.4 releases on February 1, 2023 optimized time-series performance.

Where it fits

Deployment tracking answers one question: did this release make things worse? It complements cluster monitoring and alerting rather than replacing it. This article describes the January 2023 release, so check the Coroot 0.12.0 release notes and Coroot's current documentation for how the tool works today.