Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telemetry DB: Add support for storing the routing path for telemetry data items #4

Open
rtamalin opened this issue Jun 3, 2024 · 0 comments
Labels

Comments

@rtamalin
Copy link
Collaborator

rtamalin commented Jun 3, 2024

When persisting telemetry data items in the Telemetry DB we should include the calculated route path #3 (or a reference to it) in the telemetry data item table.

The simplest approach, from a relational perspective, would probably be to add a new routing path table, and new routing paths to it, and then add a routing path id field to the telemetry data table with a foreign key reference to the routing path.

Alternatively, if we don't want to create a separate routing path table, and don't want to have to store an arbitrary sized routing path value, we could store a hash, e.g. SHA256, of the routing path value, with the extremely low risk of multiple routing paths potentially hashing to the same hash value.

@rtamalin rtamalin added enhancement New feature or request Telemetry Persistence labels Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant