-
Notifications
You must be signed in to change notification settings - Fork 135
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
PMM-5492 Adding pprof query parameter to /logs.zip #893
Conversation
api/serverpb/json/header.json
Outdated
@@ -17,6 +17,15 @@ | |||
"description": "Returns the PMM Server logs.", | |||
"summary": "Logs", | |||
"operationId": "Logs", | |||
"parameters": [ | |||
{ | |||
"type": "integer", |
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 we replace it with a boolean
type?
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.
@BupycHuk
In JIRA ticket, we have: "User calls /logs.zip endpoint with pprof=1
query parameter" that's why I used integer here. Shall I update JIRA ticket as well?
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.
boolean supports pprof=1
as well and makes more sense
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.
Thank you for clarification. Changed.
Updated with changes from pmm-managed's PR (which has archived repository): https://github.com/percona/pmm-managed/pull/1117/commits |
@pkadej can you please take a look at why the managed tests are failing and increase the timeout if needed? |
87dcaa9
to
ec5ad60
Compare
@michal-kralik The problem wasn't PR related. Retriggered CI. |
PMM-5492 Add Pprof data to logs.zip
Build: SUBMODULES-2574