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:
*** Bug 2056687 has been marked as a duplicate of this bug. ***
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira. https://issues.redhat.com/browse/OCPBUGS-9125