Prompt
Locust isn't giving me the reporting I need for bottleneck analysis
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
If Locust’s built-in stats aren’t enough for bottleneck analysis, the usual next step is to treat Locust as the traffic generator and pair it with deeper observability.
What to add
- Application metrics: latency percentiles, throughput, error rates, saturation metrics
- System metrics: CPU, memory, disk I/O, network, context switches
- Database metrics: slow queries, lock waits, connection pool usage, query plans
- Tracing: request path breakdown across services
- Logs: correlate spikes/errors with specific requests or code paths
Better reporting options alongside Locust
- Prometheus + Grafana for time-series bottleneck dashboards
- OpenTelemetry + Jaeger/Tempo for distributed tracing
- ELK / OpenSearch for log correlation
- A PM tool/APM like Datadog, New Relic, Dynatrace, AppDynamics if you want integrated analysis
Make Locust more useful
You can also extend Locust to emit:
- custom request metrics
- per-endpoint percentiles
- business-level KPIs
- CSV/JSON exports for offline analysis
Bottleneck-analysis workflow
- Run Locust with a controlled ramp-up
- Capture app + infra metrics at the same time
- Identify the first resource to saturate
- Correlate response-time knee points with CPU/memory/DB/IO changes
- Validate by isolating one subsystem at a time
If you want something more “report-like”
Consider exporting test results into:
- Grafana dashboards
- Jupyter notebooks / pandas
- CSV + custom analysis scripts
- Allure / HTML reports via custom post-processing
If you want, I can help you build a practical bottleneck-analysis setup around Locust—e.g. Locust + Prometheus/Grafana, or help you create a custom post-test report that shows percentiles, saturation points, and likely bottlenecks.