Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-4388

Enable database connection pool metrics for Quarkus services

XMLWordPrintable

    • Swatch Lightning Sprint 6

      We need to enable datasource metrics in all Quarkus services that use a database connection.

      Currently, our Quarkus services don't expose metrics about their database connection pools, which makes it difficult to detect when connections are being exhausted. This is a critical blind spot because connection pool exhaustion can cause service outages without warning. By enabling the quarkus.datasource.metrics.enabled=true property, we'll be able to monitor connection pool health and proactively identify issues before they impact users.

      These metrics are essential for understanding database connection usage patterns, detecting connection leaks, and preventing service degradation caused by pool exhaustion.

      Acceptance Criteria

      • Add the property quarkus.datasource.metrics.enabled=true to all Quarkus services that use a database
      • Create a Grafana dashboard showing the connection pool status for each service. Add one panel per service in its corresponding row (if one already exists). The dashboard should display key connection pool metrics (active connections, idle connections, pending acquisitions.)

              jcarvaja@redhat.com Jose Carvajal Hilario
              jcarvaja@redhat.com Jose Carvajal Hilario
              Tommaso Lencioni Tommaso Lencioni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: