-
Notifications
You must be signed in to change notification settings - Fork 5k
improve: use SetupMetricsOptions instead of SetupMetrics #46313
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
Conversation
💚 CLA has been signed |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
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) |
Hey @nodece |
Done. Could you check this? |
This is now correctly signed, thanks. |
dda9349
to
ac187c6
Compare
Hi @VihasMakwana, the issues flagged by golang-lint have been fixed. Could you please rerun the CI? |
@VihasMakwana @AndersonQ CI has been passed. |
/buildkite test this |
3eab784
to
2c5c95c
Compare
Rebase codebase |
This pull request is now in conflicts. Could you fix it? 🙏
|
2c5c95c
to
2b0ee1d
Compare
/test |
/test |
/test |
@kruskall could you re-review? |
--------- Co-authored-by: Anderson Queiroz <[email protected]> (cherry picked from commit 2d5086e) # Conflicts: # libbeat/cmd/instance/beat.go
--------- Co-authored-by: Anderson Queiroz <[email protected]> (cherry picked from commit 2d5086e) # Conflicts: # libbeat/cmd/instance/beat.go
--------- Co-authored-by: Anderson Queiroz <[email protected]> (cherry picked from commit 2d5086e) # Conflicts: # libbeat/cmd/instance/beat.go
--------- Co-authored-by: Anderson Queiroz <[email protected]> (cherry picked from commit 2d5086e)
Proposed commit message
The problem is that
SetupMetrics
inelastic-agent-system-metrics
is conditionally compiled and only available when the build tags(darwin && cgo) || (freebsd && cgo) || linux || windows
are satisfied. If you build on Darwin without cgo, it won't be compiled, hence the undefined symbol.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.