-
Notifications
You must be signed in to change notification settings - Fork 3.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
HBASE-25685 asyncprofiler2.0 no longer supports svg; wants html #3079
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@@ -355,10 +358,10 @@ private Output getOutput(final HttpServletRequest req) { | |||
try { | |||
return Output.valueOf(outputArg.trim().toUpperCase()); | |||
} catch (IllegalArgumentException e) { | |||
return Output.SVG; | |||
return Output.HTML; |
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.
officially, async profiler 2 supports output format "flamegraph". But looks like "html" does the same.
} | ||
} | ||
return Output.SVG; | ||
return Output.HTML; |
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.
1.8.5 does support the HTML output even thought the doc doesn't mention it. So this is compatible across v1 and v2.
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.
given that html output is supported by v1 and v2, I think this is good.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
No description provided.