Skip to content
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(data_dir lock) improve error message when failing to create data_dir lock #19694

Conversation

sebastiantia
Copy link
Contributor

No description provided.

Sebastian Tia added 2 commits January 23, 2024 16:40
@sebastiantia sebastiantia requested a review from pront January 23, 2024 21:42
Copy link

Your preview site for the Rust Doc will be ready in a few minutes, please allow time for it to build.

Heres your preview link:
Rust Doc preview

@datadog-vectordotdev
Copy link

Datadog Report

Branch report: sebtia/improve-error-message-when-failing-to-create-lockfile
Commit report: 797f9f7
Test service: vector

✅ 0 Failed, 2094 Passed, 0 Skipped, 1m 25s Wall Time

src/config/compiler.rs Outdated Show resolved Hide resolved
@pront pront added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Jan 24, 2024
Co-authored-by: Jesse Szwedko <[email protected]>
@sebastiantia sebastiantia marked this pull request as ready for review January 24, 2024 14:16
@sebastiantia sebastiantia requested a review from a team January 24, 2024 14:16
@sebastiantia sebastiantia added this pull request to the merge queue Jan 24, 2024
Copy link

Regression Detector Results

Run ID: ccf97068-3492-46b3-a2d5-1fb4267e3ceb
Baseline: 7cf2f00
Comparison: e886cdd
Total CPUs: 7

Performance changes are noted in the perf column of each table:

  • ✅ = significantly better comparison variant performance
  • ❌ = significantly worse comparison variant performance
  • ➖ = no significant change in performance

No significant changes in experiment optimization goals

Confidence level: 90.00%
Effect size tolerance: |Δ mean %| ≥ 5.00%

There were no significant changes in experiment optimization goals at this confidence level and effect size tolerance.

Fine details of change detection per experiment

perf experiment goal Δ mean % Δ mean % CI
syslog_log2metric_humio_metrics ingress throughput +3.20 [+3.08, +3.32]
datadog_agent_remap_blackhole_acks ingress throughput +1.63 [+1.54, +1.72]
file_to_blackhole egress throughput +1.60 [-0.85, +4.04]
http_to_http_acks ingress throughput +1.59 [+0.26, +2.91]
datadog_agent_remap_datadog_logs ingress throughput +0.99 [+0.91, +1.07]
datadog_agent_remap_blackhole ingress throughput +0.84 [+0.73, +0.95]
syslog_humio_logs ingress throughput +0.82 [+0.73, +0.92]
datadog_agent_remap_datadog_logs_acks ingress throughput +0.80 [+0.71, +0.89]
http_text_to_http_json ingress throughput +0.64 [+0.50, +0.78]
syslog_log2metric_splunk_hec_metrics ingress throughput +0.63 [+0.49, +0.77]
syslog_splunk_hec_logs ingress throughput +0.58 [+0.52, +0.63]
syslog_loki ingress throughput +0.44 [+0.40, +0.49]
syslog_log2metric_tag_cardinality_limit_blackhole ingress throughput +0.20 [+0.08, +0.32]
http_to_http_noack ingress throughput +0.18 [+0.08, +0.27]
syslog_regex_logs2metric_ddmetrics ingress throughput +0.17 [+0.04, +0.30]
http_to_s3 ingress throughput +0.13 [-0.16, +0.42]
socket_to_socket_blackhole ingress throughput +0.03 [-0.02, +0.09]
http_to_http_json ingress throughput +0.02 [-0.05, +0.09]
splunk_hec_to_splunk_hec_logs_acks ingress throughput +0.00 [-0.16, +0.16]
splunk_hec_indexer_ack_blackhole ingress throughput -0.01 [-0.15, +0.14]
splunk_hec_to_splunk_hec_logs_noack ingress throughput -0.03 [-0.14, +0.09]
enterprise_http_to_http ingress throughput -0.04 [-0.11, +0.03]
splunk_hec_route_s3 ingress throughput -0.64 [-1.14, -0.14]
otlp_grpc_to_blackhole ingress throughput -0.78 [-0.86, -0.69]
fluent_elasticsearch ingress throughput -0.82 [-1.28, -0.36]
http_elasticsearch ingress throughput -0.96 [-1.04, -0.88]
otlp_http_to_blackhole ingress throughput -1.52 [-1.65, -1.38]

Explanation

A regression test is an A/B test of target performance in a repeatable rig, where "performance" is measured as "comparison variant minus baseline variant" for an optimization goal (e.g., ingress throughput). Due to intrinsic variability in measuring that goal, we can only estimate its mean value for each experiment; we report uncertainty in that value as a 90.00% confidence interval denoted "Δ mean % CI".

For each experiment, we decide whether a change in performance is a "regression" -- a change worth investigating further -- if all of the following criteria are true:

  1. Its estimated |Δ mean %| ≥ 5.00%, indicating the change is big enough to merit a closer look.

  2. Its 90.00% confidence interval "Δ mean % CI" does not contain zero, indicating that if our statistical model is accurate, there is at least a 90.00% chance there is a difference in performance between baseline and comparison variants.

  3. Its configuration does not mark it "erratic".

Merged via the queue into master with commit e886cdd Jan 24, 2024
43 checks passed
@sebastiantia sebastiantia deleted the sebtia/improve-error-message-when-failing-to-create-lockfile branch January 24, 2024 15:51
AndrooTheChen pushed a commit to discord/vector that referenced this pull request Sep 23, 2024
…dir lock (vectordotdev#19694)

* fix

* cleanup

* Update src/config/compiler.rs

Co-authored-by: Jesse Szwedko <[email protected]>

* format

---------

Co-authored-by: Pavlos Rontidis <[email protected]>
Co-authored-by: Jesse Szwedko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Changes in this PR do not need user-facing explanations in the release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants