Skip to content

Commit

Permalink
Add suggestion for not using 5-minute average
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Jan 12, 2024
1 parent 1441a72 commit 68906ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/cpu-metrics-in-fleet.md
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@ metrics shown in the Fleet UI for every Agent are computed as follows from the d
the values for the Beat processes (along with the Agent process), we would be exposing internals of Agent to users, which
may be confusing for some users.

* We may want to reconsider taking a 5-minute average in the Elasticsearch query made by the Fleet UI and instead take a
30-second or 1-minute average (making corresponding adjustments to the `calendar_interval` value in the `cpu_time_series`
aggregation). This would result in a value closer to what's observed in `top` / `htop` output.

* We should enhance collection and aggregation to include CPU utilization for Agent components managed by the service
runtime (e.g. Endpoint) as well, not justAgent components managed by
the command runtime (e.g. Beats) as we do today.
Expand Down

0 comments on commit 68906ff

Please sign in to comment.