- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
Undefined
 - 
    4.17.z, 4.18.z, 4.19.z, 4.20.0
 - 
    None
 
- 
        Quality / Stability / Reliability
 - 
        False
 - 
        
 - 
        None
 - 
        None
 - 
        None
 
- 
        None
 - 
        None
 - 
        None
 
- 
        Done
 - 
        Bug Fix
 - 
        
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 
This is a clone of issue OCPBUGS-59215. The following is the description of the original issue: 
—
Description of problem:
4.12.69
Logged in as a default "user", I create a project as that user and deploy a pod into the namespace. 
If I then navigate to: Adminsitrator -> workloads -> pods -> click the pod name -> select metrics tab -> click the CPU usage tile. 
I Then find myself in an "observe" panel with the option to "show PromQL"
If I hit show PromQL the following query is returned:
~~~
pod:container_cpu_usage:sum{pod='nodejs-basic-1-build',namespace='test01'} 
~~~
In a 4.17.20 cluster:
Logged in as a default user, I create a project as that user and deploy a pod into the namespace. 
If I then navigate to: Adminsitrator -> workloads -> pods -> click the pod name -> select metrics tab -> click the CPU usage tile.
I then find myself in an observe window...but without the query window embeded within, instead I see some panel headings but otherwise a blank page
     
Version-Release number of selected component (if applicable):
    
How reproducible:
    Always
Steps to Reproduce:
    1. Give a new user the "admin" role in a single namespace 
    2. Create a pod in that namespace
    3. Go to "Admin > Workloads > Pods > {Select Pod from Step 2} > Metrics"
    4. Click on a graph
    
Actual results:
    URL includes dev-monitoring, however since the perspective is still "Admin" and not "Dev" the page is blank
Expected results:
    The URL should include dev-monitoring and the perspective should be "Dev", leading to the page being displayed.
Additional info:
    
- blocks
 - 
                    
OCPBUGS-63041 Broken monitoring perspective switching for namespaced user
-         
 - Closed
 
 -         
 
- clones
 - 
                    
OCPBUGS-59215 Broken monitoring perspective switching for namespaced user
-         
 - Closed
 
 -         
 
- is blocked by
 - 
                    
OCPBUGS-59215 Broken monitoring perspective switching for namespaced user
-         
 - Closed
 
 -         
 
- is cloned by
 - 
                    
OCPBUGS-63041 Broken monitoring perspective switching for namespaced user
-         
 - Closed
 
 -         
 
- relates to
 - 
                    
OU-718 Developer using Admistrator view see blank page when clicking on link in Workloads > Pods > {Pod} > Metrics
-         
 - Closed
 
 -         
 
- links to