Open chejimmy opened 1 month ago
What happened:
When the request paginating, the last observation (last data point before the time range) is also returned. However, when time series panel renders, it creates an extra line across the panel.
Related code https://github.com/grafana/iot-sitewise-datasource/blob/main/pkg/server/last-observation.go#L54C27-L54C41
What you expected to happen:
No last observation added to paginating request.
How to reproduce it (as minimally and precisely as possible):
Screenshots
See comment https://github.com/grafana/iot-sitewise-datasource/issues/315#issuecomment-2148185610
Anything else we need to know?:
Environment:
https://github.com/grafana/iot-sitewise-datasource/assets/50635800/a9c5a076-cc6d-432e-b36e-fcec0a3d963c
Hi @chejimmy thanks for reporting this! I've managed to reproduce it and will add it to our pipeline
What happened:
When the request paginating, the last observation (last data point before the time range) is also returned. However, when time series panel renders, it creates an extra line across the panel.
Related code https://github.com/grafana/iot-sitewise-datasource/blob/main/pkg/server/last-observation.go#L54C27-L54C41
What you expected to happen:
No last observation added to paginating request.
How to reproduce it (as minimally and precisely as possible):
Screenshots
See comment https://github.com/grafana/iot-sitewise-datasource/issues/315#issuecomment-2148185610
Anything else we need to know?:
Environment: