Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-3111

Pipelines Metrics are not exported.

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      Most of the metrics defined in the docs are not being exported and some are just declared for e.g.-

       

      # HELP tekton_pipelines_controller_running_pipelineruns_count Number of pipelineruns executing currently
      # TYPE tekton_pipelines_controller_running_pipelineruns_count gauge
      tekton_pipelines_controller_running_pipelineruns_count 0 

      Moreover, the Metrics specific labels are not being set on PipelineRuns.

      Note: This is a finding from RHTAP staging cluster which has multiple namesapces and thousands of PipelineRuns.

      Prerequisites (if any, like setup, operators/versions):

              Pipeline version - pipeline.tekton.dev/release: v0.44.2
              OSP operator version - 1.10.2
              apiVersion : v1

      Steps to Reproduce

      1. Deploy OSP-1.10.2 operator.
      2. Do a `k port-forward -n openshift-pipelines service/tekton-pipelines-controller 9090`.
      3. Search for the expected metrics at `localhost:9090/metrics`.

       

      Actual results:

      1. The Grfana dashboard shows no data for an arbitrary metric point. {}

      Expected results:

        **  The data should show up in the dashboard since the concerned namespace `bnr-tenant` has sufficient pipelineruns.

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      All the Metrics should be exported.

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

       

       *

        1. image-2023-05-18-19-10-31-206.png
          70 kB
          Satyam Bhardwaj
        2. image-2023-05-18-19-11-05-673.png
          70 kB
          Satyam Bhardwaj
        3. image-2023-05-18-19-12-52-019.png
          81 kB
          Satyam Bhardwaj
        4. image-2023-05-18-19-15-34-962.png
          168 kB
          Satyam Bhardwaj

              jkandasa-rh Jeeva Kandasamy (Inactive)
              sabhardw@redhat.com Satyam Bhardwaj (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: