-
Notifications
You must be signed in to change notification settings - Fork 195
Ingest internal telemetry from the OTel Collector when it is running #9928
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
This pull request does not have a backport label. Could you fix it @faec? 🙏
|
internal/pkg/agent/application/monitoring/component/v1_monitor.go
Outdated
Show resolved
Hide resolved
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
internal/pkg/agent/application/monitoring/component/v1_monitor.go
Outdated
Show resolved
Hide resolved
This pull request is now in conflicts. Could you fix it? 🙏
|
|
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.
LGTM with one nit.
Approving to unblock the reviewer gate, but there's still unit test failures in CI which need resolved.
|
⏳ Build in-progress, with failures
Failed CI Steps
History
cc @faec |
…9928) Add a monitoring component to ingest telemetry values from the collector's prometheus endpoint into the `elastic_agent.collector` dataset. This includes a remapping script processor to convert the collector's metrics to their closest ECS equivalents when possible. This is a temporary approach that will not scale to full collector metrics in a general configuration, but gives us a backwards-compatible stopgap during the initial monitoring-only rollout. (cherry picked from commit a441ebe) # Conflicts: # NOTICE-fips.txt # NOTICE.txt # go.mod # internal/pkg/agent/application/application.go # internal/pkg/agent/application/monitoring/otel_remap.js # internal/pkg/agent/application/monitoring/v1_monitor.go # internal/pkg/agent/application/monitoring/v1_monitor_test.go # internal/pkg/agent/cmd/inspect.go # testing/integration/ess/beat_receivers_test.go
…9928) Add a monitoring component to ingest telemetry values from the collector's prometheus endpoint into the `elastic_agent.collector` dataset. This includes a remapping script processor to convert the collector's metrics to their closest ECS equivalents when possible. This is a temporary approach that will not scale to full collector metrics in a general configuration, but gives us a backwards-compatible stopgap during the initial monitoring-only rollout. (cherry picked from commit a441ebe) # Conflicts: # NOTICE-fips.txt # NOTICE.txt # go.mod
Add a monitoring component to ingest telemetry values from the collector's prometheus endpoint into the
elastic_agent.collector
dataset. This includes a remapping script processor to convert the collector's metrics to their closest ECS equivalents when possible.This is a temporary approach that will not scale to full collector metrics in a general configuration, but gives us a backwards-compatible stopgap during the initial monitoring-only rollout.
Checklist
./changelog/fragments
using the changelog toolHow to test this PR locally
Enable agent monitoring while at least one component (including monitoring itself) uses the otel runtime. Prometheus metrics from the collector should be ingested to the
elastic_agent.collector
dataset.Related issues