Azure-docs: Json shaping best practices: Multiple events at the same time - correalting values with tagId approach

Created on 22 Sep 2020  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

In the first example there are 2 value pairs for device FXXX:

        "series": [
            {
                "Flow Rate ft3/s": 1.0172575712203979,
                "Engine Oil Pressure psi ": 34.7
            },
            {
                "Flow Rate ft3/s": 2.445906400680542,
                "Engine Oil Pressure psi ": 49.2
            }
        ]

1.[email protected] and 2.[email protected]

Using 2nd approach the correlation is lost.

"series": [
            {
                "tagId": "pumpRate",
                "value": 1.0172575712203979
            },
            {
                "tagId": "oilPressure",
                "value": 49.2
            },
            {
                "tagId": "pumpRate",
                "value": 2.445906400680542
            },
            {
                "tagId": "oilPressure",
                "value": 34.7
            }
        ]

It's not longer possible to match 1.01 with 34.7.

Would this have practical consequences when querying data?

Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author doc-enhancement time-series-insightsvc triaged

All 4 comments

@tymtam2 Thanks for the feedback! We are currently investigating and will update you shortly.

Adding @lyrana to help with this query.

This page will be removed to reduce confusion with Gen2, will update PR status here

PR merged, #please-close

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ponant picture Ponant  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

varma31 picture varma31  Â·  3Comments