Hello, I hope this message finds you well.
I’m running openHistorian 2 (2.8.157) on Windows Server 2022 and Grafana 12.1.1 on the same machine.
After installing the gridprotectionalliance-openhistorian-datasource v2.1.0 plugin, I configured the datasource as follows:
When I go to Explore and query a known and active measurement (e.g.
GPA_MGEST_500_PM_07_TR201_S_HA_A:TR201_S_HA_A), Grafana shows:
However, the Query Inspector shows that datapoints are returned correctly (timestamps in ms), e.g.:
Additional context:
- With an older plugin version (1.x) against the same OH2 server, Explore/plotting works fine:
Questions
- Has anyone observed this behavior?
- Did I miss a configuration step (base path / required endpoints / data type)?
- Any known compatibility requirement on the OH2 Web Service + Grafana + Plugin versions?
Kind Regards,
Renan Pires
I have seen this same thing with the “Explore” feature – I am not 100% yet what causes this.
The reason this does not work is openHistorian 2.8.157 is not compatible with the datasource 2.X. I don’t have the exact version in front of me but it requires OH 2.8.200+ I believe
Hello, everyone.
First of all, thank you for the clarification provided earlier.
This situation came up when we tried to plot all data points in Grafana (something that seems easier to enable in newer versions of the openHistorian plugin).
Is there any way to enable this kind of full-resolution plot of data through the openHistorian plugin in versions 1.0.x?
Thanks in advance.
Best regards,
Renan Pires
In the older versions, you can use the Interval function with a value of zero, for example:
Interval(0, FILTER TOP 10 ActiveMeasurements WHERE SignalType='FREQ')
The zero specifies “no downsampling”, so all data is returned.
1 Like