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

Adding further information regarding include_units #17069

Merged
merged 3 commits into from
Mar 6, 2024
Merged

Conversation

ollie-har
Copy link
Contributor

@ollie-har ollie-har commented Mar 6, 2024

What does this PR do?

This PR adds the fact that to collect all logs, we do not need to add a wildcard to the include_units section.

Motivation

  • Working on a customer case AGENT-11124, we discovered that the following prevented log collection:
include_units: 
  - *

Supporting Documentation:

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Changelog entries must be created for modifications to shipped code
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.

Motivation:
- Working on a customer case, we discovered that the following prevented log collection:
```
include_units: 
  - *
```

Supporting Documentation:
- https://github.com/DataDog/datadog-agent/blob/7.50.x/pkg/logs/tailers/journald/tailer.go#L116-L126
Removed the "to collect"
journald/README.md Outdated Show resolved Hide resolved
Co-authored-by: cecilia saixue watt <[email protected]>
@ollie-har ollie-har requested a review from cswatt March 6, 2024 16:35
Copy link
Member

@FlorentClarret FlorentClarret left a comment

Choose a reason for hiding this comment

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

Thank you!

@cswatt cswatt merged commit 3239303 into master Mar 6, 2024
34 checks passed
@cswatt cswatt deleted the ollieharDD-patch-1 branch March 6, 2024 17:00
marlon-merida pushed a commit that referenced this pull request Mar 11, 2024
* Update README.md

Motivation:
- Working on a customer case, we discovered that the following prevented log collection:
```
include_units: 
  - *
```

Supporting Documentation:
- https://github.com/DataDog/datadog-agent/blob/7.50.x/pkg/logs/tailers/journald/tailer.go#L116-L126

* Update README.md

Removed the "to collect"

* Update journald/README.md

Co-authored-by: cecilia saixue watt <[email protected]>

---------

Co-authored-by: Oliver Harrison <[email protected]>
Co-authored-by: cecilia saixue watt <[email protected]>
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.

3 participants