You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logs: remove health platform references from Logs Agent (#46818)
### What does this PR do?
Removes the Logs Agent’s integration with the Health Platform that was used to report Docker file tailing permission issues. Concretely, this PR:
- Drops the `healthplatform` dependency wiring from the logs agent component.
- Simplifies the container launcher and tailer factory constructors by removing the `healthPlatform` parameter.
- Removes the Docker file permission error detection and reporting code path (including the issue reporting helper functions).
- Updates mocks and unit tests to reflect the removal.
### Motivation
The Logs Agent should no longer mention or depend on the Health Platform for reporting issues in this flow as it is now a built-in check of the platform
### Describe how you validated your changes
- Ran unit tests for the logs agent / container launcher / tailer factory packages (including updated tests in `pkg/logs/launchers/container/...`).
- Ensured the agent compiles with the updated constructor signatures and fx wiring changes.
### Additional Notes
Co-authored-by: louis.coquerelle <louis.coquerelle@datadoghq.com>
0 commit comments