Elastic-agent is able to monitor services components since https://github.com/elastic/elastic-agent/pull/4789 8.15.0, however "[Elastic Agent] CPU Usage" visualization in "[Elastic Agent] Agent metrics" dashboard does not show Endpoint CPU.
There are at least 2 reasons why Endpoint CPU percentage is not displayed:
Endpoint metrics are available under data_stream.dataset: elastic_agent.endpoint_security
CPU metrics for service runtimes are collected using a system/metrics input type and the documents are formatted as described in [metricbeat system process metricset](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-process.html) where system.process.cpu.total.time.ms is not defined
The goal of this issue is to modify managed dashboard "[Elastic Agent] Agent metrics" so that it displays Endpoint CPU usage
Elastic-agent is able to monitor services components since https://github.com/elastic/elastic-agent/pull/4789 8.15.0, however "[Elastic Agent] CPU Usage" visualization in "[Elastic Agent] Agent metrics" dashboard does not show Endpoint CPU.
The visualization currently filters on data_stream.dataset: elastic_agent.elastic_agent and aggregates system.process.cpu.total.time.ms following a custom formula
There are at least 2 reasons why Endpoint CPU percentage is not displayed:
The goal of this issue is to modify managed dashboard "[Elastic Agent] Agent metrics" so that it displays Endpoint CPU usage