-
-
Notifications
You must be signed in to change notification settings - Fork 218
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
Add link to download ES profiler data #34497
Conversation
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.
Left an optional styling suggestion.
corehq/apps/case_search/templates/case_search/profile_case_search.html
Outdated
Show resolved
Hide resolved
io = BytesIO() | ||
io.write(json.dumps(profile_json).encode('utf-8')) | ||
io.seek(0) | ||
return get_download_url(io, name, content_type='application/json') |
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.
These files will get deleted after 24 hours, based on timeout
in get_download_url
, right?
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.
that's right
…rch.html Co-authored-by: Jenny Schweers <jschweers@dimagi.com>
Product Description
This builds off the case search profiler util introduced in #34373
It does a few things:
This screenshot shows all of that:
Technical Summary
Feature Flag
Safety Assurance
All of the functionality changes except the
_query_number
counter are gated behind adebug_mode
flag, and so should only affect usages of this utility, not general case searchSafety story
Automated test coverage
QA Plan
Rollback instructions
Labels & Review