-
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(observability): emit RequestBuildError
when HttpSink::request_builder
errors
#14575
fix(observability): emit RequestBuildError
when HttpSink::request_builder
errors
#14575
Conversation
Signed-off-by: Stephen Wakely <[email protected]>
✅ Deploy Preview for vector-project ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
let byte_size = request.body().len(); | ||
let request = request.map(Body::from); | ||
let (protocol, endpoint) = uri::protocol_endpoint(request.uri().clone()); | ||
|
||
// Any errors raised in `http_client.call` results in a `GotHttpWarning` event being emmited |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 unrelated to this change, but since you mentioned it - should that always be a warning or does it already depend on the error raised?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think it is badly named. Will fix that in a separate PR.
Soak Test ResultsBaseline: 677ef7f 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.
|
Ref: #14526
Epic: #13995
This emits a
RequestBuildError
if therequest_builder
function returns an error.I have looked through all the sinks that implement this trait, and none currently emit an event here, so as far as I can tell there doesn't appear to be any risk of duplicate events.
Signed-off-by: Stephen Wakely [email protected]