-
Notifications
You must be signed in to change notification settings - Fork 204
make otel runtime default for system/metrics #11613
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
base: main
Are you sure you want to change the base?
Conversation
|
This pull request does not have a backport label. Could you fix it @leehinman? 🙏
|
a85ca5c to
9bf6f18
Compare
0871d6c to
3795567
Compare
💔 Build Failed
Failed CI StepsHistory
cc @leehinman |
| } | ||
|
|
||
| require.Len(ct, status.Components, expectedComponentCount, "expected right number of components in agent status") | ||
|
|
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.
I'm not following why these lines were removed.
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.
@leehinman I think it'd be better if you explicitly set system/metrics to run in the process runtime in this test. We want to have a non-otel component in it to verify the env variable doesn't affect it, as far as I understand. @mauri870 is that correct?
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.
Agreed. The way I did it here is not the best, but the goal was to confirm the env changes the runtime of monitoring components but keeps non monitoring components unnafected.
|
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
What does this PR do?
Changes the default runtime for the "system/metrics" metricbeat input to be "otel"
Why is it important?
Part of conversion to beat receivers. "system/metrics" has been tested with otel runtime and has been deemed ready to be the default.
Checklist
./changelog/fragmentsusing the changelog toolDisruptive User Impact
One less agentbeat process will be running with the system integration and
elastic-agent otelwill collect the data using a beat receiver.Users should see no other change than the drop in processes.
How to test this PR locally
Integration test
Manual testing
Install agent with system integration in policy.
elastic-agent status --output fullwill be similar to:Can be overridden using #11186
Related issues
Questions to ask yourself