-
Notifications
You must be signed in to change notification settings - Fork 267
Open
Labels
cocoindex-coreCocoIndex Core EngineCocoIndex Core Engine
Description
Currently all our loggings at Rust engine are at the global scope without structure, so it's not always easy to know where a specific log entry comes from. We want to adopt the tracing crate to improve it.
Specifically, we want to:
- Create spans at various levels. We may have the following type of spans:
- Flow builder(with flow name)
- For each op (with op name)
- Flow execution (with flow name)
- For each source (with source name)
- For each row
- Evaluate: For each op (with op name)
- Commit: For each target (with target kind)
- For each row
- For each source (with source name)
- Setup
- For each flow (with specific flow name)
- Each service handler has its own span
- Each API call has its own span
- Flow builder(with flow name)
- Replace various logging calls to the macros exposed by the
tracingpackage (more information). - Make sure trace entries are also emitted to logs (more information).
Metadata
Metadata
Assignees
Labels
cocoindex-coreCocoIndex Core EngineCocoIndex Core Engine
Type
Projects
Status
π¬ Prioritized