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

Table panel don't show all values #117

Closed SC-66 closed 1 year ago

SC-66 commented 1 year ago

I have a simple table panel, displaying a string. But the panel don't show all values (strings). In the pic below you see that compared to the Time Series Data in Osisoft (Aveva) PI, some values. Se red marking in the example below. It should be a value at 00:05:43. When I do inspect data it is still missing. I'm using Grafana 9.4.1

image

SC-66 commented 1 year ago

When I changed From showing data for "Today" to a small time period, the all data was displayed. It was when I limit the period to 4 hours, 12 minutes 17 seconds all data was shown. All time periods above that then data was filtered out. Why is that? I want to be able to show all data for the selected time period.

SC-66 commented 1 year ago

Solved it by changing to Recorded Values and limit to 10000 values.

coderReview commented 1 year ago

@SC-66 The plugin uses 3 controllers from the PiWebAPI

By default it uses: GetPlot => streams/{webId}/plot

You can used the interpolation: GetInterpolated => streams/{webId}/interpolated

And recorded: GetRecorded => streams/{webId}/recorded

Glad the last one solved your problem.