-
buildstrategy=<build_buildstrategy_name>
-
namespace=<buildrun_namespace>
-
build=<build_name>
Builds exposes several metrics to help you monitor the performance and functioning of your build resources. The build controller metrics are exposed on the port 8383
.
You can check the following build controller metrics for monitoring purposes:
Name | Type | Description | Labels | Status |
---|---|---|---|---|
|
Counter |
The number of total registered builds. |
|
experimental |
|
Counter |
The number of total completed build runs. |
|
experimental |
|
Histogram |
The build run establish duration in seconds. |
|
experimental |
|
Histogram |
The build run completion duration in seconds. |
|
experimental |
|
Histogram |
The build run ramp-up duration in seconds. |
|
experimental |
|
Histogram |
The build run ramp-up duration for a task run in seconds. |
|
experimental |
|
Histogram |
The build run ramp-up duration for a task run pod in seconds. |
|
experimental |
To use custom buckets for the build controller, you must set the environment variable for a particular histogram metric. The following table shows the environment variables for all histogram metrics:
Metric | Environment variable | Default |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|