Skip to content

[Bugfix] [SLES-1749] histogram_aggregates and histogram_percentiles added to serverless in…#28102

Merged
dd-mergequeue[bot] merged 1 commit into
mainfrom
joey/serverless-histogram
Jul 31, 2024
Merged

[Bugfix] [SLES-1749] histogram_aggregates and histogram_percentiles added to serverless in…#28102
dd-mergequeue[bot] merged 1 commit into
mainfrom
joey/serverless-histogram

Conversation

@joeyzhao2018

@joeyzhao2018 joeyzhao2018 commented Jul 31, 2024

Copy link
Copy Markdown
Contributor

https://datadoghq.atlassian.net/browse/SLES-1749

What does this PR do?

Bugfix to include two missing configurations histogram_aggregates and histogram_percentiles in the config initialization for serverless

Motivation

Bugfix for https://datadoghq.atlassian.net/browse/SLES-1749

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

I used git bisect to locate the first bad commit as #23006
Then basically binary searched to find out these two configurations.
Once found, the bug became obvious as these two configurations should be included for dogstatsd configurations.

@joeyzhao2018 joeyzhao2018 added this to the 7.56.0 milestone Jul 31, 2024
@joeyzhao2018
joeyzhao2018 requested a review from a team as a code owner July 31, 2024 16:22
@pr-commenter

pr-commenter Bot commented Jul 31, 2024

Copy link
Copy Markdown

Test changes on VM

Use this command from test-infra-definitions to manually test this PR changes on a VM:

inv create-vm --pipeline-id=40589774 --os-family=ubuntu

Note: This applies to commit a3719e5

@pr-commenter

pr-commenter Bot commented Jul 31, 2024

Copy link
Copy Markdown

Regression Detector

Regression Detector Results

Run ID: 56c605e6-c498-49a5-83f7-54ae4938549b Metrics dashboard Target profiles

Baseline: 15e395d
Comparison: a3719e5

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 links
basic_py_check % cpu utilization +1.56 [-1.01, +4.12] Logs
uds_dogstatsd_to_api_cpu % cpu utilization +1.24 [+0.36, +2.12] Logs
otel_to_otel_logs ingress throughput +0.90 [+0.08, +1.71] Logs
idle memory utilization +0.47 [+0.43, +0.50] Logs
tcp_dd_logs_filter_exclude ingress throughput +0.00 [-0.01, +0.01] Logs
uds_dogstatsd_to_api ingress throughput +0.00 [-0.00, +0.00] Logs
pycheck_1000_100byte_tags % cpu utilization -0.92 [-5.67, +3.83] Logs
tcp_syslog_to_blackhole ingress throughput -1.70 [-14.42, +11.02] Logs
file_tree memory utilization -2.10 [-2.19, -2.00] Logs

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".

@dustmop dustmop left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for tracking this down and fixing it!

@joeyzhao2018

Copy link
Copy Markdown
Contributor Author

/merge

@dd-devflow

dd-devflow Bot commented Jul 31, 2024

Copy link
Copy Markdown

🚂 MergeQueue: pull request added to the queue

The median merge time in main is 23m.

Use /merge -c to cancel this operation!

@dd-mergequeue
dd-mergequeue Bot merged commit 94c9e78 into main Jul 31, 2024
@dd-mergequeue
dd-mergequeue Bot deleted the joey/serverless-histogram branch July 31, 2024 18:39
@github-actions github-actions Bot modified the milestones: 7.56.0, 7.57.0 Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants