-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the pipelines metrics documentation
Fixes #1965
- Loading branch information
1 parent
210d978
commit eb5d42d
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Pipeline Controller Metrics | ||
|
||
Following pipeline metrics are exposed at `controller-service` on port `9090` | ||
|
||
There are different kinds of exporters available: Prometheus, Google Stackdriver, etc. They can be configured | ||
using [observability configuration](../config/config-observability.yaml). | ||
|
||
| Metric name| Metric type | Labels/tags | Status | | ||
| ---------- | ----------- | ----------- | ----------- | | ||
| tekton_pipelinerun_duration_seconds_[bucket, sum, count] | Histogram | `pipeline`=<pipeline_name> <br> `pipelinerun`=<pipelinerun_name> <br> `status`=<status> <br> `namespace`=<pipelinerun-namespace> | experimental | | ||
| tekton_pipelinerun_taskrun_duration_seconds_[bucket, sum, count] | Histogram | `pipeline`=<pipeline_name> <br> `pipelinerun`=<pipelinerun_name> <br> `status`=<status> <br> `task`=<task_name> <br> `taskrun`=<taskrun_name><br> `namespace`=<pipelineruns-taskruns-namespace>| experimental | | ||
| tekton_pipelinerun_count| Counter | `status`=<status> | experimental | | ||
| tekton_running_pipelineruns_count | Gauge | | experimental | | ||
| tekton_taskrun_duration_seconds_[bucket, sum, count] | Histogram | `status`=<status> <br> `task`=<task_name> <br> `taskrun`=<taskrun_name><br> `namespace`=<pipelineruns-taskruns-namespace> | experimental | | ||
| tekton_taskrun_count | Counter | `status`=<status> | experimental | | ||
| tekton_running_taskruns_count | Gauge | | experimental | | ||
| tekton_taskruns_pod_latency | Gauge | `namespace`=<taskruns-namespace> <br> `pod`= < taskrun_pod_name> <br> `task`=<task_name> <br> `taskrun`=<taskrun_name><br> | experimental | |