elementPath not filled in with Raw Query
Grafana 10 Latest Grafana OSI Soft PI plugin version Latest PI API
Can you give more details on how you use the API?
Can you give more details on how you use the API?
The elementPath is missing in the dashboard JSON Model if you add another panel with data from PI via the AF Raw Query Mode. See below example.
This is also true if you add 2 queries into the same panel. The one generated via the AF Raw Query Mode is missing the elementPath.
The missing elementPath is no problem in the grafana instance where it has been created. But it is a problem in another grafana instance where the exact same dashboard JSON model is uploaded (with help of python and the Grafana API to find dashboard etc). Note that we do change datasource uids and other critical elements in the dashboard JSON model in python to match the info needed in the other grafana instance but this does not cause the elementPath to be missing. The screenshots are from the main grafana instance where the dashboard is created and from where the JSON model is scraped for syncs to other Grafana instances.
Fixed in PR #150