grafana / iot-sitewise-datasource

IoT Sitewise
Apache License 2.0
19 stars 9 forks source link

Query with expression only returns partial data #202

Closed kevinwcyu closed 12 months ago

kevinwcyu commented 1 year ago

I could reproduce it with the demo data. See gif below for the result. So you had no issues with the expressions and both time series (query + expression) cover the entire expected time range?

For all panels, the following was used: Asset used: Demo Turbine Asset 1 Property: Wind Speed

grafana-debug

Originally posted by @egheie in https://github.com/grafana/iot-sitewise-datasource/issues/160#issuecomment-1600397788


Another short gif to show how it changes with the expression being disabled or not and by removing the expression completely.

There is also something a bit funky happening with the name in the legend in the bottom right corner when adding an expression. Raised a similar issue in #198, but worth mentioning here as well.

grafana-debug-2

Originally posted by @egheie in https://github.com/grafana/iot-sitewise-datasource/issues/160#issuecomment-1600432894

kevinwcyu commented 1 year ago

Initial notes from investigating this. When I pull the main branch and run Grafana with a local copy of the Sitewise data source and try to reproduce this locally, there's no issue. When I go to the plugins page and install the Sitewise data source, then I'm able to reproduce the problem.