-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: send kept trace decision in a separate goroutine (#1412)
## Which problem is this PR solving? To reduce ingest latency, moving the work for publishing kept trace decisions into a separate goroutine so it doesn't block ingest incoming data. This code has been running in kibble for a few days and it's copied from the debug branch #1408 ## Short description of the changes - create a buffer for kept trace decision - make publishing kept trace decision non-blocking in the `collect` loop
- Loading branch information
Showing
2 changed files
with
83 additions
and
78 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