GridProtectionAlliance / osisoftpi-grafana

Grafana Data Source Plugin for the OSIsoft PI System
https://grafana.com/plugins/gridprotectionalliance-osisoftpi-datasource
Apache License 2.0
58 stars 30 forks source link

Template variables in PiPoint queries malformed #161

Open kwekly opened 1 month ago

kwekly commented 1 month ago

Using Grafana v11.0, osisoft-5.0.0

When I use template variables with a Pi Point, the request fails -- I think because the label in the payload is not expanded correctly: image

If I manually override to expand the variable with the data is returned as expected: image

coderReview commented 1 week ago

I am testing in 5.1.0 and can't reproduce this.

kwekly commented 5 days ago

ok cheers @coderReview I will get 5.1.0 deployed to our test system and confirm

AlesLenko commented 2 days ago

Hello, I had the same problem using the Pi Points, however I was using version 5.0.0, and after cloning and installing the 5.1.0 version locally the problem went away. I am assuming the 5.1.0 version is getting signed/approved by Grafana and will be up on public repo of Grafana plugins (please correct me if I am wrong). Hope this helps.