Skip to content

(fix) internal/civisibility: change http default values and reduce test time (V2)#3135

Merged
hannahkm merged 1 commit into
v2-devfrom
tony/civisibility-change-defaults-v2
Jan 31, 2025
Merged

(fix) internal/civisibility: change http default values and reduce test time (V2)#3135
hannahkm merged 1 commit into
v2-devfrom
tony/civisibility-change-defaults-v2

Conversation

@tonyredondo

Copy link
Copy Markdown
Member

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.

V1: #3134

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!

@pr-commenter

pr-commenter Bot commented Jan 31, 2025

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2025-01-31 14:49:27

Comparing candidate commit c38f1af in PR branch tony/civisibility-change-defaults-v2 with baseline commit 2641e5d in branch v2-dev.

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

@hannahkm
hannahkm merged commit 36f7fad into v2-dev Jan 31, 2025
@hannahkm
hannahkm deleted the tony/civisibility-change-defaults-v2 branch January 31, 2025 15:38
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