Error from Grafana git-hub app integration with DX NetOps Performance Management


Article ID: 208742


Updated On:


CA Performance Management - Usage and Administration DX NetOps


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:

  1. On PC log in and run the SsoConfig tool command from the (default path) /opt/CA/PerformanceCenter directory.
  2. Select option 1. DX NetOps
  3. Select option 3. Performance Center
  4. Select option 2. Local Override
  5. Select option 21. Custom HTTP headers to be added to our responses:
  6. Select to u to update to a new value.
  7. Set the value to:
    • Access-Control-Allow-Origin: *
  8. Once set exit the SsoConfig tool.

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.