Skip to content

[7.x] Endpoint Telemetry: Agents Metrics + Policy Config / Response (#102171)#103851

Merged
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-102171
Jun 30, 2021
Merged

[7.x] Endpoint Telemetry: Agents Metrics + Policy Config / Response (#102171)#103851
kibanamachine merged 1 commit intoelastic:7.xfrom
kibanamachine:backport/7.x/pr-102171

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…c#102171)

* [PH] Initial setup for endpoint task telemetry.

* Refactor / Add daily task for collecting fleet detail / policy resp / EP metrics

* [PH CD] Code walkthrough. Start fetching fleet policy configs.

* [PH] pass in fleet agent service rather than homebrew kuerys.

* [PH] prepare to move away from legacy es client. Get fleet ep agents.

* Fetch agent policy configs.

* Stub ep policy responses.

* Fix CI + Types. Fix dep injection. Reimagine SO client creation.

* Create SO client properly

* Fetch EP Policy responses.

* Fetch EP Policy responses.

* Remove unused import

* Fetch failed policy responses from EP data stream.

* Remove unused imports.

* Combine failed policy responses with policy configs.

* Attach fleet agent + ep agent ids

* Add dedicated channel sender. Temp disable with feature flag.

* Remove ublock from the failed policy response.

* Fetch endpoint metrics.

* Fix bad merge commit.

* Get EP telemetry.

* Record last execution time of endpoint task

* Remove send on demand feature flag.

* Simplify cache conditional.

* Refactor into Promise.allSettled

* Fix type error.

* Bail if there is no endpoint metrics

* Bump interval to 24h.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Jun 30, 2021
@kibanamachine kibanamachine enabled auto-merge (squash) June 30, 2021 09:37
@kibanamachine
Copy link
Copy Markdown
Contributor Author

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @pjhampton

@kibanamachine kibanamachine merged commit 3365f1b into elastic:7.x Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants