Closed c0c0n3 closed 2 years ago
Notice this is more of a limitation of the Elastic Search Crate backend than a Quantum Leap bug. If you route csic
tenant data to the QL Timescale backend, the entity time series gets recorded correctly in Timescale.
So we fixed the problem by
csic
tenant---see #187. This way if we decide to make time series out of Insight entities, everything will work fine.
Describe the bug
Insight puts entities into Orion, but there's no corresponding time series in the Quantum Leap DB.
To Reproduce
Spin up a kitt4sme.live instance and port-forward Orion's port, 1026. Then subscribe QL with Orion to receive any context changes for the
csic
tenant.where
quantumleap.subscription.json
is this file. Now simulate Insight sending entity data to Orion.where
insight.json
is this file. Sincecsic
tenant data gets routed to the default QL DB backend, the entity ininsight.json
should also be in Crate DB. But if you go look into Crate the entity isn't there. The QL logs tell whyExpected behavior
QL should save the Insight entities it receives from Orion to the DB.
Additional context
N/A