Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Oct 2, 2025

Proposed commit message

The problem is that SetupMetrics in elastic-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

  • My code follows the style guidelines of this project
  • 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 in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

This is an automatic backport of pull request #46313 done by [Mergify](https://mergify.com).

---------

Co-authored-by: Anderson Queiroz <[email protected]>
(cherry picked from commit 2d5086e)

# Conflicts:
#	libbeat/cmd/instance/beat.go
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Oct 2, 2025
@mergify mergify bot requested a review from a team as a code owner October 2, 2025 12:25
Copy link
Contributor Author

mergify bot commented Oct 2, 2025

Cherry-pick of 2d5086e has failed:

On branch mergify/bp/8.19/pr-46313
Your branch is up to date with 'origin/8.19'.

You are currently cherry-picking commit 2d5086e12.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   libbeat/cmd/instance/beat.go

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot requested review from orestisfl and VihasMakwana and removed request for a team October 2, 2025 12:25
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 2, 2025
@github-actions github-actions bot added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Oct 2, 2025
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Oct 2, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport conflicts There is a conflict in the backported pull request Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants