Prompt
What should I use if I need to see database bottlenecks in app requests?
Latest observation
Oct 20, 2026
OpenAI APIWeb search: off
Use APM (Application Performance Monitoring) with distributed tracing.
That’s the best way to see which app requests are slowed down by database calls and where the bottleneck is happening.
What to look for
- Request traces: show the full path of a request through your app
- Database spans: show query timing inside each request
- Slow query tracking: identifies specific DB queries causing delays
- Service maps / breakdowns: show whether time is spent in app code, DB, cache, or external services
Common tools
- Datadog APM
- New Relic
- Dynatrace
- OpenTelemetry + Jaeger/Tempo/Grafana
- Elastic APM
If you only need database-side visibility
Use database monitoring tools too, such as:
- pg_stat_statements for PostgreSQL
- MySQL slow query log
- SQL Server Query Store
- Oracle AWR/ASH
Best practice
Use both:
- APM/tracing to see bottlenecks in the context of app requests
- DB monitoring to pinpoint the exact slow queries
If you want, I can recommend the best option based on your stack, like Java/Spring, .NET, Node.js, Python, or Kubernetes.