-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log any FQDN lookup errors and fallback to OS-reported hostname (#34946)
* Log any FQDN lookup errors, fallback to OS hostname, and move on. * Implement fallback logic * Bumping up go-sysinfo dependency version * Update call to host.ReportInfo * Better log message * Bumping up version on elastic-agent-system-metrics dependency * Updating NOTICE.txt * Log FQDN lookup failure as warning * Move FQDN initialization to after logging has been configured * Better log message * Add metric + test * Update NOTICE.txt * Use a single namespace for all add_host_metadata processor instances' monitoring * Fixing imports * Create monitoring registry only once * Check errors (cherry picked from commit 895505c)
- Loading branch information
1 parent
92a39e2
commit 64a1a32
Showing
6 changed files
with
196 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters