Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elementPath not filled in with Raw Query #147

Closed
alexl04 opened this issue Feb 28, 2024 · 3 comments
Closed

elementPath not filled in with Raw Query #147

alexl04 opened this issue Feb 28, 2024 · 3 comments
Milestone

Comments

@alexl04
Copy link

alexl04 commented Feb 28, 2024

Grafana 10
Latest Grafana OSI Soft PI plugin version
Latest PI API

image
@coderReview
Copy link
Collaborator

Can you give more details on how you use the API?

@alexl04
Copy link
Author

alexl04 commented Mar 14, 2024

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.
image
image

image

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.

@coderReview coderReview added this to the Version 5.0.0 milestone Apr 5, 2024
@coderReview
Copy link
Collaborator

Fixed in PR #150

coderReview added a commit that referenced this issue Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants