Skip to content
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

Send host.id received from profiler via IntakeV2 metadata #3616

Open
JonasKunz opened this issue May 6, 2024 · 0 comments
Open

Send host.id received from profiler via IntakeV2 metadata #3616

JonasKunz opened this issue May 6, 2024 · 0 comments
Labels

Comments

@JonasKunz
Copy link
Contributor

The universal profiling feature requires the host.id to be set for providing accurate CO2 and cost estimates.
For this reason, the profiling host agent sends the host.id via the domain socket to the apm-agent.

In addition elastic/apm-data#246 added support for receiving the host.id via IntakeV2 metadata.
Therefore we should take the host.id received from the profiler and send it as metadata.

Note that the profiler might initiate the correlation a while after the agent has already started. Therefore we will need to be able update the cached metadata to include the host.id.

@JonasKunz JonasKunz added the new-feature New feature label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant