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

Pipelines Metrics are not exported.

XMLWordPrintable

    • False
    • 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):

       

       *

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

              Created:
              Updated:
              Resolved: