Skip to content
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

[7.x] Experimental self-profiling (#2839) #3037

Merged
merged 1 commit into from
Dec 11, 2019

Conversation

graphaelli
Copy link
Member

Backports the following commits to 7.x:

* vendor: add github.com/google/pprof/profile

* model/profile: add profile data model

* config: config for profiling the server

* beater: add profiling endpoint

* vendor: add github.com/OneOfOne/xxhash

Already being used by Beats.

* model: fix fields

* beater/api/profile: address review comments

* beater/config: split InstrumentationConfig out

* decoder: add LimitedReader

* beater/api/profile: use decoder.LimitedReader

* Add integration test

* idxmgmt: add "profile" event index

* tests/system: add system tests for profiling

* model/profile: remove profile.id

Not needed for now, and will get in the way of storage
optimisations (aggregating multiple profiles) later.
@graphaelli graphaelli merged commit b154fd5 into elastic:7.x Dec 11, 2019
@graphaelli graphaelli deleted the backport/7.x/pr-2839 branch December 11, 2019 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants