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 default values of logs_config.open_files_limit #28039

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

t5kaji
Copy link
Contributor

@t5kaji t5kaji commented Mar 8, 2025

What does this PR do? What is the motivation?

This PR fixes a discrepancy in the documented default value of logs_config.open_files_limit for Windows. The documentation incorrectly stated 200, while the actual default is now 500.

Additionally, this PR removes the hardcoded default value and instead provides a link to the config template file. This ensures accuracy and prevents similar discrepancies in future updates.

I’d appreciate any feedback on this change 🙏

Merge instructions

Merge readiness:

  • Ready for merge

Merge queue is enabled in this repo. To have it automatically merged after it receives the required reviews, create the PR (from a branch that follows the <yourname>/description naming convention) and then add the following PR comment:

/merge

Additional notes

Remove the hardcoded default value and instead provide a link to the config template file. Added instructions on how users can check the default value for their Agent version. This prevents discrepancies in future updates.
@t5kaji t5kaji requested a review from a team as a code owner March 8, 2025 00:41
@github-actions github-actions bot added the Guide Content impacting a guide label Mar 8, 2025
Copy link
Contributor

github-actions bot commented Mar 8, 2025

Preview links (active after the build_preview check completes)

Modified Files

**Note**: Increasing the tailed logs files limit might increase the resource consumption of the Agent.

[1]: https://github.com/DataDog/datadog-agent/blob/369a8dbb39dc6e8601d82c8f43caaaf88d6a0a55/pkg/config/config_template.yaml#L987-L993
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This commit hash points to the latest update to this file as of now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Guide Content impacting a guide
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant