Closed gregbreen closed 6 months ago
Updated the description now that I test querying by asset and propoerty. That works. It only fails if I query by alias.
Hi @gregbreen, Unfortunately I've been unsuccessful in reproducing this.
Some additional questions I had:
Hi @kevinwcyu . Further experimentation shows that it's the intersection of these 4 things:
Get property by value
Example alias/stream: ecowitt/raspberrypi4-ggv2/livedata/Indoor Humidity
Error message screenshot:
Hi @gregbreen, this should be available in 1.16.1 once https://github.com/grafana/iot-sitewise-datasource/pull/276 is approved for release.
What happened:
If I create a
Get property value
query type for a property/stream that is an integer (and the stream is disassociated), I suffer the following error:Pertinent points:
1) A
Get property value
by asset and property works. Query by alias works if the stream is associated, but not if disassociated. 2)Get property value history
works just fine (for an integer data stream, and querying by alias on a disassociated stream). 3) If the data stream is of type double,Get property value
works fine. 4) If I use the AWS CLI commandaws iotsitewise get-asset-property-value --property-alias
I can retrieve an integer value without issue. 5) The problem is also present on plugin versions 1.15.0 and 1.12.1. Possibly this issue is some special case of #228.How to reproduce it (as minimally and precisely as possible):
Create a Stat panel and try to add a
Get property value
query for a disassociated integer data stream, and query by alias.Environment: