-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
fix(aws_sqs source): Pass span context to spawned tasks #14254
Conversation
So that metrics are correctly tagged. Fixes: #14252 Signed-off-by: Jesse Szwedko <[email protected]>
✅ Deploy Preview for vector-project canceled.
|
Soak Test ResultsBaseline: 05fc485 ExplanationA soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core. The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed. No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%: Fine details of change detection per experiment.
|
We actually are using our assertion helpers for this source, but the assertion helpers don't check for component tags. |
Signed-off-by: Jesse Szwedko <[email protected]>
I tested this out and discovered the span propagation actually has to be on the future being spawned rather than the spawn call. I pushed c50e8dd to remedy that. This is a pretty subtle difference 😓 It seems to work now though. Hopefully we can get better tests around it. Looks like this gotcha is on clippy's radar too: rust-lang/rust-clippy#8722 |
Soak Test ResultsBaseline: 7b877d6 ExplanationA soak test is an integrated performance test for vector in a repeatable rig, with varying configuration for vector. What follows is a statistical summary of a brief vector run for each configuration across SHAs given above. The goal of these tests are to determine, quickly, if vector performance is changed and to what degree by a pull request. Where appropriate units are scaled per-core. The table below, if present, lists those experiments that have experienced a statistically significant change in their throughput performance between baseline and comparision SHAs, with 90.0% confidence OR have been detected as newly erratic. Negative values mean that baseline is faster, positive comparison. Results that do not exhibit more than a ±8.87% change in mean throughput are discarded. An experiment is erratic if its coefficient of variation is greater than 0.3. The abbreviated table will be omitted if no interesting changes are observed. No interesting changes in throughput with confidence ≥ 90.00% and absolute Δ mean >= ±8.87%: Fine details of change detection per experiment.
|
I can confirm now that this fix worked in the latest nightly image 👍. |
* fix(aws_sqs source): Pass span context to spawned tasks So that metrics are correctly tagged. Fixes: #14252 Signed-off-by: Jesse Szwedko <[email protected]> * Move span attachment Signed-off-by: Jesse Szwedko <[email protected]> Signed-off-by: Jesse Szwedko <[email protected]>
* fix(aws_sqs source): Pass span context to spawned tasks So that metrics are correctly tagged. Fixes: #14252 Signed-off-by: Jesse Szwedko <[email protected]> * Move span attachment Signed-off-by: Jesse Szwedko <[email protected]> Signed-off-by: Jesse Szwedko <[email protected]>
So that metrics are correctly tagged.
Fixes: #14252
I still want to test this manually. #14196 will verify it further and add tests, but this should at least fix the issue.
Signed-off-by: Jesse Szwedko [email protected]