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) internal/civisibility: change http default values and reduce test time. #3134

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

tonyredondo
Copy link
Member

@tonyredondo tonyredondo commented Jan 31, 2025

What does this PR do?

This PR changes the defaults of the CI Visibility http clients, Currently in the worst case scenario the client were blocking the test process up to 60 seconds. This PR reduces this time by changing the constant default values. As a direct impact, this change reduces the time for testing the package.

V2: #3135

Motivation

The current defaults are too large...

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.
  • Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.
  • For internal contributors, a matching PR should be created to the v2-dev branch and reviewed by @DataDog/apm-go.

Unsure? Have a question? Request a review!

@tonyredondo tonyredondo requested review from a team as code owners January 31, 2025 14:02
@tonyredondo tonyredondo changed the title (feat) internal/civisibility: change http default values and reduce test time. (chore) internal/civisibility: change http default values and reduce test time. Jan 31, 2025
@tonyredondo tonyredondo changed the title (chore) internal/civisibility: change http default values and reduce test time. (fix) internal/civisibility: change http default values and reduce test time. Jan 31, 2025
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jan 31, 2025

Datadog Report

Branch report: tony/civisibility-change-defaults
Commit report: 4b1205b
Test service: dd-trace-go

✅ 0 Failed, 5216 Passed, 72 Skipped, 1m 23.76s Total Time

@pr-commenter
Copy link

pr-commenter bot commented Jan 31, 2025

Benchmarks

Benchmark execution time: 2025-01-31 14:25:51

Comparing candidate commit b33d550 in PR branch tony/civisibility-change-defaults with baseline commit ddfe2d4 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 0 unstable metrics.

@tonyredondo tonyredondo force-pushed the tony/civisibility-change-defaults branch from b33d550 to 114c177 Compare January 31, 2025 16:21
@tonyredondo tonyredondo enabled auto-merge (squash) January 31, 2025 16:21
@tonyredondo tonyredondo merged commit 7dec46c into main Jan 31, 2025
175 of 176 checks passed
@tonyredondo tonyredondo deleted the tony/civisibility-change-defaults branch January 31, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants