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

Add delay for telemetry requests #198

Merged
merged 8 commits into from
Oct 29, 2024
Merged

Add delay for telemetry requests #198

merged 8 commits into from
Oct 29, 2024

Conversation

kevingosse
Copy link
Contributor

@kevingosse kevingosse commented Oct 29, 2024

Extend --trace-request-delay to also affect trace requests.

Also, add a test/settings endpoint to change the value of settings on the fly.

@kevingosse kevingosse marked this pull request as ready for review October 29, 2024 14:03
Copy link
Member

@Kyle-Verhoog Kyle-Verhoog left a comment

Choose a reason for hiding this comment

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

Just one concern about the exposure of raw setting names leading to inadvertent breaking changes. Other than that looks good!

---
features:
- |
Added a /test/settings endpoint to change the settings on the fly.
Copy link
Member

@Kyle-Verhoog Kyle-Verhoog Oct 29, 2024

Choose a reason for hiding this comment

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

little bit iffy about exposing the raw config values direct to users. This'll probably result in accidental breakages to downstream test suites that depend on config values that we might accidentally change in the test agent.

If we do wanna go this route then I'll want to ensure we have tests covering the config names we want to be stable. Otherwise can we hold off on adding this endpoint for now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done in faf6994

@Kyle-Verhoog Kyle-Verhoog merged commit eb78b47 into master Oct 29, 2024
11 checks passed
@Kyle-Verhoog Kyle-Verhoog added this to the 1.20.0 milestone Oct 29, 2024
@kevingosse kevingosse deleted the kevin/change_config branch October 29, 2024 17:18
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.

2 participants