-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
use go-sysinfo v1.14.1 and elastic-agent-system-metrics v0.10.6 #40324
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
@AndersonQ I think the test cases are failing because the non-fatal PR is yet to be merged. #40298, it requires one more review from code owner and we should be good to go. |
Removed by review, thought it was just a version bump but saw a change in beat.go file. |
go-sysinfo was lower-casing FQDN by default, this new version does not. Not its user should do it if necessary. elastic-agent-system-metrics is also upgraded to a version that lowercase the FQDN when it's used as `host.name`
c7b941d
to
9a62d84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* use go-sysinfo v1.14.1 and elastic-agent-system-metrics v0.10.6 go-sysinfo was lower-casing FQDN by default, this new version does not. Not its user should do it if necessary. elastic-agent-system-metrics is also upgraded to a version that lowercase the FQDN when it's used as `host.name` (cherry picked from commit a4568f9) # Conflicts: # go.mod # go.sum
* use go-sysinfo v1.14.1 and elastic-agent-system-metrics v0.10.6 go-sysinfo was lower-casing FQDN by default, this new version does not. Not its user should do it if necessary. elastic-agent-system-metrics is also upgraded to a version that lowercase the FQDN when it's used as `host.name` (cherry picked from commit a4568f9) # Conflicts: # go.mod # go.sum
For anyone looking at this PR: it was not backported and it will be in 8.16.x as the change might constitute a breaking change in terms of host names |
Proposed commit message
use go-sysinfo v1.14.1 and elastic-agent-system-metrics v0.10.6
go-sysinfo was lower-casing FQDN by default, this new version does not. Not its user should do it if necessary. elastic-agent-system-metrics is also upgraded to a version that lowercase the FQDN when it's used as
host.name
Checklist
[ ] I have commented my code, particularly in hard-to-understand areas[ ] I have made corresponding changes to the documentation[ ] I have made corresponding change to the default configuration files[ ] I have added tests that prove my fix is effective or that my feature works[ ] I have added an entry inCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
It might cause the FQDN or anything using it to be reported with mixed case instead of lower case
How to test this PR locally
The same idea as described on #39993
Ingest data, ensure the host metadata is added and check them on kibana
host.hostname
is being lowercased #39993Screenshots