Codecov Enterprise exports several meaningful metrics via a StatsD interface for consumption by other applications, such as Prometheus, Grafana, and DataDog. This page describes how to include StatsD in your Codecov Enterprise installation, and provides a reference to the metrics currently exposed to StatsD.
The best reference for docker compose based installations is this dockerfile, which shows Codecov Self-Hosted orchestrated with StatsD, Prometheus, and Grafana. This approach is recommended for all docker compose based deployments.
For all other installation methods, please contact support, as approaches may vary and are best discussed in the context of your installation.
Metrics are Populated as They're Encountered
Codecov Enterprise does not initialize all metrics at startup. Rather, metrics are initialized when they're first encountered during program execution. If you find that you are not receiving certain metrics, it is likely they have not been passed to StatsD from Codecov Self-Hosted yet.
Last updated March 23rd, 2021
Time taken to decompress chunk files pulled from redis. Used in report merging
Time taken to write chunk files to redis. Used in report merging
Time taken to retrieve chunks from the archive storage. Used in report merging.
The count of uploads successfully accepted by Codecov
The count of uploads rejected by Codecov
Time taken for the worker to send a notification
Upload Processor Task
Time taken to process an uploaded report
Team Sync Task
Time taken to sync teams
Time taken to retrieve a raw uploaded report from the archive
Time taken to sync repos from the Git provider
PR Sync Task
Time taken to complete a PR notification
Length of various upload queues. This is a very important set of metrics, and are used to indicate the length of currently active jobs that are remaining to be processed by Codecov at any given time. Ideally, the length of any of these queues should be at or near 0. %s can represent main Celery queue, "celery", Uploads queue "uploads" or New tasks queue "new_tasks"
Complete list of available metrics for self hosted customers can be obtained from your account rep.
Updated 8 months ago