-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bulk: introduce an ingestionTracer to the bulk ingestion pipeline
This change introduces an `ingestionTracer` that is associated with a tracing span and is responsible for adding ingestion information to the trace in the form of lazy tags. It currently aggregates information about AddSSTable, AdminSplit and AdminScatter requests that are issued during ingestion. As part of introducing the tracer, all RPC requests during ingestion are now made in their own child span, and allow for us to inspect the returned trace for relevant information. This is beneficial if egs: there is a stuck AdminScatter as it will show up on the `tracez` page as a long running span. The `Render` methods responsible for displaying the aggregated information are just stubs that can be iterated on in the future. Egs: instead of displaying the throughput/duration of each RPC request at the level of the import/restore processor, we might want to bubble up the information to the flow coordinator who is then responsible for aggregating this information across nodes and exposing it. The ingestion tracer gives us a building block to capture and push relevant trace information further up the stack. Release note: None
- Loading branch information
1 parent
e175232
commit 833a108
Showing
8 changed files
with
860 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.