Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-9125

Dashboard "Knative Serving - Revision CPU, Memory and Network Usage" renders wrong data under dev view

XMLWordPrintable

    • Important
    • Rejected
    • Unspecified
    • Hide
      There is currently a known issue. The *Knative Serving - Revision CPU, Memory, and Network usage* and *Knative Serving - Revision Queue proxy Metrics* dashboards are visible to all the namespaces, including those that do not have Knative services. They should show only with namespaces that have Knative services. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2056682[BZ#2056682])
      Show
      There is currently a known issue. The *Knative Serving - Revision CPU, Memory, and Network usage* and *Knative Serving - Revision Queue proxy Metrics* dashboards are visible to all the namespaces, including those that do not have Knative services. They should show only with namespaces that have Knative services. (link: https://bugzilla.redhat.com/show_bug.cgi?id=2056682 [BZ#2056682])
    • Known Issue

      Description of problem:

      "Knative Serving - Revision CPU, Memory and Network Usage" dashboard under
      dev view is rendered wrongly.

      Reason is that under dev view prom query is different and ignores several template variables.

      sum(rate(container_cpu_usage_seconds_total

      {namespace="default", pod=~"autoscale-go-00001.*", container != "POD", container != ""}

      [1m])) by (container) <- dev view

      vs

      sum(rate(revision_app_request_count

      {namespace="default", revision_name=~"autoscale-go-00001.*", configuration_name=~"autoscale-go.*", container_name="queue-proxy"}

      [1m])) <- admin view

      For screenshots check https://coreos.slack.com/archives/CD87JDUB0/p1645458950037779

      If user selects any project eg. the knative-eventing project the dashboards shows irrelevant pods that are not Knative Service related.

      Version-Release number of selected component (if applicable):

      Tested on OCP 4.9.21.

      How reproducible:

      Steps to Reproduce:
      1. Install Serverless Operator, Serving and Eventing components
      2. Run a sample Kantive service (https://gist.github.com/skonto/c1ff0becf3f592b886f279c7fd265040)
      3. Compare the dashboard under admin, dev views.

      Actual results:

      Wrong data are shown eg. pick project knative-eventing.

      Expected results:

      Same data should be shown as under the admin view and not all projects should be listed as in admin view template variables control that.

      Additional info:

            viraj-1 Vikram Raj
            skontopo@redhat.com Stavros Kontopoulos
            Sanket Pathak Sanket Pathak
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: