diff --git a/upstream/docs/metrics.md b/upstream/docs/metrics.md index 9f1b07f333..791470bbf8 100644 --- a/upstream/docs/metrics.md +++ b/upstream/docs/metrics.md @@ -14,16 +14,21 @@ for more details. The following chains metrics are also available at `tekton-chains-metrics` service on port `9090`. -| Name | Type | Description | -|-----------------------------------------------------------------------------------------| ----------- | ----------- | -| `watcher_pipelinerun_sign_created_total` | Counter | Total number of signed messages for pipelineruns | -| `watcher_pipelinerun_payload_uploaded_total` | Counter | Total number of uploaded payloads for pipelineruns | -| `watcher_pipelinerun_payload_stored_total` | Counter | Total number of stored payloads for pipelineruns | -| `watcher_pipelinerun_marked_signed_total` | Counter | Total number of objects marked as signed for pipelineruns | -| `watcher_taskrun_sign_created_total` | Counter | Total number of signed messages for taskruns | -| `watcher_taskrun_payload_uploaded_total` | Counter | Total number of uploaded payloads for taskruns | -| `watcher_taskrun_payload_stored_total` | Counter | Total number of stored payloads for taskruns | -| `watcher_taskrun_marked_signed_total` | Counter | Total number of objects marked as signed for taskruns | +| Name | Type | Description | +|---|---|---| +| `watcher_pipelinerun_sign_created_total` | Counter | Total number of signed messages for pipelineruns | +| `watcher_pipelinerun_payload_uploaded_total` | Counter | Total number of uploaded payloads for pipelineruns | +| `watcher_pipelinerun_payload_stored_total` | Counter | Total number of stored payloads for pipelineruns | +| `watcher_pipelinerun_marked_signed_total` | Counter | Total number of objects marked as signed for pipelineruns | +| `watcher_taskrun_sign_created_total` | Counter | Total number of signed messages for taskruns | +| `watcher_taskrun_payload_uploaded_total` | Counter | Total number of uploaded payloads for taskruns | +| `watcher_taskrun_payload_stored_total` | Counter | Total number of stored payloads for taskruns | +| `watcher_taskrun_marked_signed_total` | Counter | Total number of objects marked as signed for taskruns | +| `pipelinerun_error_count` | Counter | Number of errors encountered during pipeline run processing | +| `pipelinerun_process_duration_seconds` | Distribution | Time taken to process pipeline runs in seconds | +| `pipelinerun_retry_count` | Counter | Number of retries attempted for failed pipeline runs | +| `pipelinerun_queue_depth` | Gauge | Current number of pipeline runs waiting in queue | +| `pipelinerun_attestation_generated_total` | Counter | Total number of attestations generated for pipeline runs | To access the chains metrics, use the following commands: ```shell @@ -31,3 +36,5 @@ kubectl port-forward -n tekton-chains service/tekton-chains-metrics 9090 ``` And then check that changes have been applied to metrics coming from [http://127.0.0.1:9090/metrics](http://127.0.0.1:9090/metrics) +``` +``` \ No newline at end of file