XMLWordPrintable

    • Pipeline metrics
    • To Do
    • 0% To Do, 0% In Progress, 100% Done
    • M

      Goal

      As a developer, I want to see pipeline trends and metrics as graphs on the pipeline detail pages so that I can identify anomalies and how the changes to the project are affecting the overall delivery performance.

      Target metrics per pipeline:

      • PipelineRun duration
      • TaskRuns duration
      • Number of PipelineRun per day
      • Pipeline success/all ratio per day

      Problem

      Pipeline feedback is essential in order to identify a class of issues that get introduced into the code base such as incorrect dependencies that prolongs the builds time

      Why is this important

      It enables teams to identify issues earlier and also improve the pipeline workflow

      Dependencies (internal and external)

      • Tekton pipeline metrics #1387 

      Exploration Results

      Requirements

      1. # When viewing a Pipeline I want to see how well all the related Pipeline Runs / Task Runs have gone over a prolonged period of time... success / fail rates
      2. When looking at my pipeline, i'd like to see aggregated metrics for all my associate pipeline runs.
      3. I'd like to see the pipeline execution trend and easily identify spikes that point at issues in the app
      4. I want to see how long each task takes on avg... so that I can identify spikes in duration of PLR duration
      5. I'd like to see the task execution trend for my pipeline so that it makes it easier for me to investigate the source of issues in my app or pipeline
      6. I'd like to see how often a particular pipeline fails which shows the quality of the dev team contributions, tests or other factors that need improvement
      7. i want to see the timing of each task in my runs so that I can identify trends as my app grows in size / changes
      8. When viewing my pipeline metrics, they should be in context of a single duration ( 0 days, 2 weeks, etc)

      Acceptance Criteria

      1. As a user, when looking at the Pipeline Details page, I should be able to see the following metrics
      2. Target metrics per pipeline:
        1. PipelineRun duration
        2. TaskRuns duration
        3. Number of PipelineRun per day
        4. Pipeline success/all ratio per day

      Design Artifacts

      tbd

      Slack Channel

      #tmp-odc-pipelines on CoreOS Slack

      Notes

      Eventually, user should be able to view metrics for Pipeline in common locations in developer perspective: project overview, pipeline & pipelinerun details.
       

              Unassigned Unassigned
              rh-ee-ssadeghi Siamak Sadeghianfar
              Andrew Ballantyne Andrew Ballantyne
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: