We receive this error from Grafana when attempting to communicate with the DX NetOps Performance Management Performance Center server.
Access to XMLHttpRequest at 'https://<PC_HostName>:8182/pc/odata/api/getSchemaVersion' from origin 'http://<HostName>:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The Git-Hub based app is installed and configured correctly per the instructions found on the OpenAPI-Grafana GitHub page.
Due to environmental limitations a Custom Header needs to be added to Performance Center.
All supported DX NetOps Performance Management releases
To set up the Custom Header complete these steps:
No service restarts should be needed.
The change should take just a minute or two to propagate through Performance Center.
A few minutes after the change test the Grafana connection to Performance Center again.