elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.72k stars 8.14k forks source link

[Fleet] Add event based telemetry for agent actions #144531

Open juliaElastic opened 1 year ago

juliaElastic commented 1 year ago

We don't have a lot of insight currently on how much agent actions are being used, and what % of actions succeeded/failed.

It would be useful to add event based telemetry for outcome of actions:

Telemetry would be also useful to track usage/errors of new actions: request diagnostics, remote restart.

A corresponding indexer and job will be needed to index the data in telemetry cluster.

Related:

elasticmachine commented 1 year ago

Pinging @elastic/fleet (Team:Fleet)

amitkanfer commented 1 year ago

YES!

juliaElastic commented 1 year ago

@kpollich raised this issue to add telemetry on agent actions, please review

kpollich commented 1 year ago

Thanks, @juliaElastic - this looks like a great set of meaningful enhancements to our telemetry sender.

I think there's maybe some duplication of effort with the private issue I just linked above, though having separate telemetry more closely related to actions seems extremely useful.

I initially marked this as Needs Definition, but I think this is in a pretty workable state already. Thanks for the great description 🙂 - let's plan this for Sprint 4/8.7.