forked from tektoncd/pipeline
-
Notifications
You must be signed in to change notification settings - Fork 1
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 tektoncd#1965
- Loading branch information
Showing
2 changed files
with
17 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,16 @@ | ||
# Pipeline Controller Metrics | ||
|
||
Following pipeline metrics exposed at `controller-service` on port `9090` | ||
|
||
Different kind of exporters as Prometheus, Google Stackdriver and so on could 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> | beta | | ||
| 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>| beta | | ||
| tekton_pipelinerun_count| Counter | `status`=<status> | beta | | ||
| tekton_running_pipelineruns_count | Gauge | | beta | | ||
| tekton_taskrun_duration_seconds_[bucket, sum, count] | Histogram | `status`=<status> <br> `task`=<task_name> <br> `taskrun`=<taskrun_name><br> `namespace`=<pipelineruns-taskruns-namespace> | beta | | ||
| tekton_taskrun_count | Counter | `status`=<status> | beta | | ||
| tekton_running_taskruns_count | Gauge | | beta | | ||
| tekton_taskruns_pod_latency | Gauge | `namespace`=<taskruns-namespace> <br> `pod`= < taskrun_pod_name> <br> `task`=<task_name> <br> `taskrun`=<taskrun_name><br> | beta | |