A Streamlit web application for analyzing OpenSearch query performance with interactive visualizations.
- Live Query Execution: Connect to OpenSearch clusters and execute queries with profiling
- Profile Analysis: Analyze existing profile responses from queries run elsewhere
- Phase Timing: View query & fetch phase breakdowns with
phase_tookmetrics - Shard Performance: Identify slowest performing shards
- Component Analysis: Drill down into queries, collectors, and aggregations
- Interactive Charts: Copyable labels and detailed breakdowns
The app provides comprehensive query performance analysis with:
- Query & Fetch phase timing metrics
- Shard performance overview (top 10 slowest)
- Component-level analysis with interactive charts
- Detailed shard breakdowns with operation timings
pip install streamlit requests plotly
streamlit run app.pyAccess at http://localhost:8501
- Enter OpenSearch endpoint and index
- Modify the query JSON as needed
- Click "Execute" to run and analyze
- Paste OpenSearch profile response JSON
- Click "Analyze Profile"
- View comprehensive performance breakdown
- Python 3.7+
- streamlit
- requests
- plotly
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
