Azure-Samples / Azure-Time-Series-Insights

Sample modules written in different languages that can be used as templates for applications needing to query Time Series Insights
MIT License
21 stars 31 forks source link

TSI mixes all variables on unassigned instances #34

Open MateRadz opened 3 years ago

MateRadz commented 3 years ago

When ingesting TSI in a scenario when each deviceId represents different telemetry values, in TSI explorer when clicking on any device the interface shows all telemetry instances not filtered by the deviceId.

Minimal steps to reproduce

ingest TSI with the following sample data:

[{ "deviceId": "testDevice1", "eventOriginTime": "2021-07-30T21:00:34.754Z", "x1": 24.270660400390625, "y1": 997.2078247070312, "z1": 25.398334503173828 }, { "deviceId": "testDevice2", "eventOriginTime": "2021-07-30T21:00:34.754Z", "x2": 24.270660400390625, "y2": 997.2078247070312, "z2": 25.398334503173828 }]

Observe that when selecting "testDevice2" in explorer you will be able to choose x1,y1,z1,x2,y2,z2. When in this scenario you will choose x1. The TSI explorer will say "This time series contains no data."

Expected/desired behavior

When selecting Unassigned Time Series Instance - only its telemetry values should be accessible for graph.