-
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
- Loading branch information
1 parent
8407d76
commit 47b8be6
Showing
6 changed files
with
189 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10626,11 +10626,11 @@ these terms. | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/elastic/elastic-agent-system-metrics | ||
Version: v0.5.0 | ||
Version: v0.5.1-0.20230328163318-a87a0b315c42 | ||
Licence type (autodetected): Apache-2.0 | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected].0/LICENSE.txt: | ||
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected].1-0.20230328163318-a87a0b315c42/LICENSE.txt: | ||
|
||
Apache License | ||
Version 2.0, January 2004 | ||
|
@@ -12566,11 +12566,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/go-structform@v | |
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/elastic/go-sysinfo | ||
Version: v1.9.1-0.20230215152520-f544eca983fb | ||
Version: v1.9.1-0.20230328042007-6dcfe88b8359 | ||
Licence type (autodetected): Apache-2.0 | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected].20230215152520-f544eca983fb/LICENSE.txt: | ||
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected].20230328042007-6dcfe88b8359/LICENSE.txt: | ||
|
||
|
||
Apache License | ||
|
@@ -13684,6 +13684,37 @@ Contents of probable licence file $GOMODCACHE/github.com/fearful-symmetry/gorapl | |
limitations under the License. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/foxcpp/go-mockdns | ||
Version: v0.0.0-20201212160233-ede2f9158d15 | ||
Licence type (autodetected): MIT | ||
-------------------------------------------------------------------------------- | ||
|
||
Contents of probable licence file $GOMODCACHE/github.com/foxcpp/[email protected]/LICENSE: | ||
|
||
MIT License | ||
|
||
Copyright © 2019 Max Mazurov <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
||
|
||
-------------------------------------------------------------------------------- | ||
Dependency : github.com/elastic/fsevents | ||
Version: v0.0.0-20181029231046-e1d381a4d270 | ||
|
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