-
Notifications
You must be signed in to change notification settings - Fork 178
[9.0](backport #8148) otel: support system/metrics input with experimental otel runtime #8328
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
) * otel: support system/metrics input with experimental otel runtime * use EventuallyWithTf * add tests comparing final documents * trim test * remove TestSystemMetricsInput * remove unused vars * ignore host.network.ingress fields * fix typo in expectation message * don't compare system metrics directly, only compare the keys are present * ignore host.network.* fields * remove dot from prefix * ignore network activity fields * ignore flaky fields from network * stop ignoring elastic_agent.{snapshot,version} * reestructure test to use a single config * Revert "reestructure test to use a single config" Windows throws errors about named pipes. I suspect system/metrics input tries to register monitoring on the same socket. This reverts commit aa6b4c6. * remove agent.version from ignore list * reorder stripNondeterminism call * print documents in case of failure * compare host-wide and normal network events separately * simplify code * Add Sudo to define.Require * match for host metrics * filter network interface events * use tt.metricset, add note about network events * add metricsets to template * Update testing/integration/beat_receivers_test.go Co-authored-by: Mikołaj Świątek <[email protected]> * use AssertMapstrEqual --------- Co-authored-by: Mikołaj Świątek <[email protected]> (cherry picked from commit 5648918)
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
…which differs from the packaged beat
|
💔 Build Failed
Failed CI StepsHistory
cc @mauri870 |
Blocked on #8378 since it needs the Beats fix in elastic/beats#44456. |
I thought we decided not to backport these changes to 9.0. |
Ah, I forgot about that—sorry. Closing. |
What does this PR do?
This PR enables the system/metrics input to work with the otel runtime. It needs to be toggled explicitly by setting
_runtime_experimental: otel
in the input configuration.Checklist
./changelog/fragments
using the changelog toolRelated issues
This is an automatic backport of pull request #8148 done by [Mergify](https://mergify.com).