Find and fix performance issues in your code usign Digma by Roni Dover

Learn how Digma analyzes observability data to detect performance issues early. Discover features like bottleneck detection, N+1 query alerts, and cross-service impact analysis.

Key takeaways
  • Digma is an IntelliJ plugin and Docker backend that analyzes observability data to detect performance issues without code changes

  • The tool provides continuous feedback by analyzing OpenTelemetry data locally, in CI, staging, or production environments

  • Key features include:

    • Prioritized list of performance issues based on impact
    • Detection of code usage patterns across services
    • Analysis of release stability
    • Early identification of bottlenecks and N+1 queries
    • Integration with existing development workflows
  • Up to 20-30% of production issues can be detected locally during development

  • The system analyzes multiple factors to determine issue severity:

    • Performance impact
    • Number of affected services
    • Usage patterns
    • Environment context
    • Query complexity
  • Data analysis includes:

    • Resource allocation patterns
    • Concurrency behavior
    • System behavior under different loads
    • Service dependencies
    • Query performance patterns
  • The tool helps prevent issues by:

    • Providing immediate feedback during development
    • Identifying cross-service impacts
    • Monitoring release stability
    • Detecting regressions early
    • Prioritizing fixes based on impact
  • Integration is simple:

    • Plugin installation only
    • No code instrumentation required
    • Supports existing OpenTelemetry setup
    • Can be deployed via Helm for team usage
    • Runs asynchronously to minimize resource impact