-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
profiling: fix setup page and instructions #150885
profiling: fix setup page and instructions #150885
Conversation
1627148
to
6801ad9
Compare
6801ad9
to
69d9620
Compare
@@ -124,7 +124,8 @@ docker.elastic.co/observability/profiling-agent:stable /root/pf-host-agent \\ | |||
}), | |||
content: ( | |||
<EuiCodeBlock paddingSize="s" isCopyable> | |||
wget -O- https://releases.prodfiler.com/stable/pf-host-agent_linux_amd64.tgz | tar xz | |||
wget -O pf-host-agent.tgz "https://ela.st/pf-host-agent-amd64" && tar xzf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you explain why you changed this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's been requested in https://github.com/elastic/prodfiler/issues/2961#issue-1574328032
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, it has been requested without giving a reason. Would be interesting to know. Maybe some OSX or zsh incompatibility ? Do you remember or can you find out ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe there's a misunderstanding here 😄
The major change here is the use of a different URL, a redirect.
The redirect URL does not have a file extension, so the downloaded file piped into tar
would fail.
Aside from the URL, we mainly changed the wget option to download to a file instead of STDOUT.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you pipe the wget output to tar, you don't need any file extension.
Just try it out yourself:
wget -O- https://ela.st/pf-host-agent-amd64 | tar xz
works like a charm without having to store an intermediate file.
Can you add two screenshots (before / after) ? I am not sure where to look at atm (running Kibana with your branch locally). |
69d9620
to
b8d53a6
Compare
b8d53a6
to
a454f40
Compare
810dec9
to
c351b81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Signed-off-by: inge4pres <[email protected]>
…-ref HEAD~1..HEAD --fix'
6d63aa1
to
0d8a649
Compare
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @inge4pres |
Resolves elastic/prodfiler#2961. We update the setup information text instructions to add data for Universal Profiling Beta. Signed-off-by: inge4pres <[email protected]> Co-authored-by: boriskirov <[email protected]> Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit 560c3b9)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.7`: - [profiling: fix setup page and instructions (#150885)](#150885) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Francesco Gualazzi","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-02-15T10:50:29Z","message":"profiling: fix setup page and instructions (#150885)\n\nResolves https://github.com/elastic/prodfiler/issues/2961.\r\nWe update the setup information text instructions to add data for\r\nUniversal Profiling Beta.\r\n\r\n\r\nSigned-off-by: inge4pres <[email protected]>\r\nCo-authored-by: boriskirov <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"560c3b96f81ce2167a3d104bf97e4fe5a1e7fb76","branchLabelMapping":{"^v8.8.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","8.7 candidate","ci:build-cloud-image","ci:cloud-deploy","ci:cloud-redeploy","v8.7.0","v8.8.0"],"number":150885,"url":"https://github.com/elastic/kibana/pull/150885","mergeCommit":{"message":"profiling: fix setup page and instructions (#150885)\n\nResolves https://github.com/elastic/prodfiler/issues/2961.\r\nWe update the setup information text instructions to add data for\r\nUniversal Profiling Beta.\r\n\r\n\r\nSigned-off-by: inge4pres <[email protected]>\r\nCo-authored-by: boriskirov <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"560c3b96f81ce2167a3d104bf97e4fe5a1e7fb76"}},"sourceBranch":"main","suggestedTargetBranches":["8.7"],"targetPullRequestStates":[{"branch":"8.7","label":"v8.7.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.8.0","labelRegex":"^v8.8.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/150885","number":150885,"mergeCommit":{"message":"profiling: fix setup page and instructions (#150885)\n\nResolves https://github.com/elastic/prodfiler/issues/2961.\r\nWe update the setup information text instructions to add data for\r\nUniversal Profiling Beta.\r\n\r\n\r\nSigned-off-by: inge4pres <[email protected]>\r\nCo-authored-by: boriskirov <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"560c3b96f81ce2167a3d104bf97e4fe5a1e7fb76"}}]}] BACKPORT--> Co-authored-by: Francesco Gualazzi <[email protected]>
Resolves elastic/prodfiler#2961. We update the setup information text instructions to add data for Universal Profiling Beta. Signed-off-by: inge4pres <[email protected]> Co-authored-by: boriskirov <[email protected]> Co-authored-by: kibanamachine <[email protected]>
Signed-off-by: inge4pres <[email protected]> ## Summary Include the creation of symbolizer package policy in the setup initiated by users when they opt-in Universal Profiling. ### Checklist - [X] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [X] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Related issues or PRs * #155642 * #150885 --------- Signed-off-by: inge4pres <[email protected]> Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Jen Huang <[email protected]>
Signed-off-by: inge4pres <[email protected]> ## Summary Include the creation of symbolizer package policy in the setup initiated by users when they opt-in Universal Profiling. ### Checklist - [X] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [X] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Related issues or PRs * #155642 * #150885 --------- Signed-off-by: inge4pres <[email protected]> Co-authored-by: kibanamachine <[email protected]> Co-authored-by: Jen Huang <[email protected]> (cherry picked from commit d4f6cf7)
) # Backport This will backport the following commits from `main` to `8.8`: - [Profiling: symbolization created on user opt-in (#156089)](#156089) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Francesco Gualazzi","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-05-02T18:24:54Z","message":"Profiling: symbolization created on user opt-in (#156089)\n\nSigned-off-by: inge4pres <[email protected]>\r\n\r\n## Summary\r\n\r\nInclude the creation of symbolizer package policy in the setup initiated\r\nby users when they opt-in Universal Profiling.\r\n\r\n### Checklist\r\n\r\n- [X]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [X] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Related issues or PRs\r\n* https://github.com/elastic/kibana/pull/155642\r\n* https://github.com/elastic/kibana/pull/150885\r\n\r\n---------\r\n\r\nSigned-off-by: inge4pres <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Jen Huang <[email protected]>","sha":"d4f6cf703da8022aeedfabca6ff7689faf67e071","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","auto-backport","ci:build-cloud-image","8.8 candidate","v8.8.0","v8.9.0"],"number":156089,"url":"https://github.com/elastic/kibana/pull/156089","mergeCommit":{"message":"Profiling: symbolization created on user opt-in (#156089)\n\nSigned-off-by: inge4pres <[email protected]>\r\n\r\n## Summary\r\n\r\nInclude the creation of symbolizer package policy in the setup initiated\r\nby users when they opt-in Universal Profiling.\r\n\r\n### Checklist\r\n\r\n- [X]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [X] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Related issues or PRs\r\n* https://github.com/elastic/kibana/pull/155642\r\n* https://github.com/elastic/kibana/pull/150885\r\n\r\n---------\r\n\r\nSigned-off-by: inge4pres <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Jen Huang <[email protected]>","sha":"d4f6cf703da8022aeedfabca6ff7689faf67e071"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156089","number":156089,"mergeCommit":{"message":"Profiling: symbolization created on user opt-in (#156089)\n\nSigned-off-by: inge4pres <[email protected]>\r\n\r\n## Summary\r\n\r\nInclude the creation of symbolizer package policy in the setup initiated\r\nby users when they opt-in Universal Profiling.\r\n\r\n### Checklist\r\n\r\n- [X]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [X] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n### Related issues or PRs\r\n* https://github.com/elastic/kibana/pull/155642\r\n* https://github.com/elastic/kibana/pull/150885\r\n\r\n---------\r\n\r\nSigned-off-by: inge4pres <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Jen Huang <[email protected]>","sha":"d4f6cf703da8022aeedfabca6ff7689faf67e071"}}]}] BACKPORT--> Co-authored-by: Francesco Gualazzi <[email protected]>
Signed-off-by: inge4pres [email protected]
Summary
Resolves https://github.com/elastic/prodfiler/issues/2961.
We update the setup information text instructions to add data for Universal Profiling Beta.
Checklist
Delete any items that are not applicable to this PR.
For maintainers
Please test in Cloud using the build from CI.