Skip to content

Commit

Permalink
Update metrics documentation with the prefix (#1112)
Browse files Browse the repository at this point in the history
Metrics have the component name as the prefix.  Added those to the documentation.
  • Loading branch information
khrm authored May 7, 2024
1 parent 5986f44 commit b8fb5f1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ The following chains metrics are also available at `tekton-chains-metrics` servi

| Name | Type | Description |
|-----------------------------------------------------------------------------------------| ----------- | ----------- |
| `pipelinerun_sign_created_total` | Counter | Total number of signed messages for pipelineruns |
| `pipelinerun_payload_uploaded_total` | Counter | Total number of uploaded payloads for pipelineruns |
| `pipelinerun_payload_stored_total` | Counter | Total number of stored payloads for pipelineruns |
| `pipelinerun_marked_signed_total` | Counter | Total number of objects marked as signed for pipelineruns |
| `taskrun_sign_created_total` | Counter | Total number of signed messages for taskruns |
| `taskrun_payload_uploaded_total` | Counter | Total number of uploaded payloads for taskruns |
| `taskrun_payload_stored_total` | Counter | Total number of stored payloads for taskruns |
| `taskrun_marked_signed_total` | Counter | Total number of objects marked as signed for taskruns |
| `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 |

To access the chains metrics, use the following commands:
```shell
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)
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)

0 comments on commit b8fb5f1

Please sign in to comment.