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

Compatibility with the grafana v5.0 beta1 #11

Closed Aysha94 closed 6 years ago

Aysha94 commented 6 years ago

We are facing a compatibility issue between osisoft PI plugin and grafana V5.0 beta1. We would like to know when this issue will be resolved?

ritchiecarroll commented 6 years ago

Are you seeing errors upon use or is the new beta version just refusing to load plug-in?

Aysha94 commented 6 years ago

when I want to add new data source of type (OSIsoft PI) I receive this error

Plugin Error XHR error: (404 Not Found) loading http://****/public/app/plugins/datasource/gridprotectionalliance-osisoftpi-datasource/module Instantiating http://****/public/app/plugins/datasource/gridprotectionalliance-osisoftpi-datasource/module Loading app/plugins/datasource/gridprotectionalliance-osisoftpi-datasource/module

ritchiecarroll commented 6 years ago

Are you sure the plug-in is installed into the plugins folder for the beta version?

Aysha94 commented 6 years ago

Yes it is installed there in this path "public/app/plugins/datasource/gridprotectionalliance-osisoftpi-datasource/"

Aysha94 commented 6 years ago

Any update?

EEParker commented 6 years ago

I am not experiencing any issues with the current version on our systems with Grafana 5. You might check that the plugin path in your grafana.ini file matches the location of the plugin.

I included screenshots of my settings for reference:

PI WebAPI Config

image

Grafana Config

#################################### Paths ####################################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
#
;data = /var/lib/grafana
#
# Directory where grafana can store logs
#
;logs = /var/log/grafana
#
# Directory where grafana will automatically scan and look for plugins
#
;plugins = /var/lib/grafana/plugins

image image

Aysha94 commented 6 years ago

We were able to solve this issue. Thank you for your contribution.