Skip to content

Commit

Permalink
feat: Refactor + Code _duration_seconds metrics for PipelineRun and T…
Browse files Browse the repository at this point in the history
…askRun
  • Loading branch information
achetronic committed Feb 18, 2024
1 parent 6bf9010 commit 3f00e3e
Show file tree
Hide file tree
Showing 6 changed files with 328 additions and 182 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@ related to this repository
> Do you need it in a different container registry? We think this is not needed, but if we're wrong, please, let's discuss
> it in the best place for that: an issue
## Exposed metrics

This project is about exposing useful metrics related to the status of the Pipelines and Tasks, so, what about them?


| Name | Description | Metric labels |
|:-----------------------------------------------|:--------------------------------|:--------------------------------------------------------------:|
| `tekton_exporter_pipelinerun_status` | Status of a PipelineRun | `name`, `namespace`, `status`, `reason` |
| `tekton_exporter_taskrun_status` | Status of a TaskRun | `name`, `namespace`, `status`, `reason` |
| `tekton_exporter_pipelinerun_duration_seconds` | Seconds lasted by a PipelineRun | `name`, `namespace`, `start_timestamp`, `completion_timestamp` |
| `tekton_exporter_taskrun_duration_seconds` | Seconds lasted by a TaskRun | `name`, `namespace`, `start_timestamp`, `completion_timestamp` |

## How to contribute

We are open to external collaborations for this project: improvements, bugfixes, whatever.
Expand Down
Loading

0 comments on commit 3f00e3e

Please sign in to comment.