Uploaded image for project: 'Agroal'
  1. Agroal
  2. AG-198

[spring] agroalDataSource setMetrics always enable metrics

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.17, 2.1
    • 1.16, 2.0
    • spring
    • None
    • False
    • None
    • False

    Description

      Currently the implementation of method `setMetrics(boolean)` in class `io.agroal.springframework.boot.AgroalDataSource` is always invoking ``datasourceConfiguration.metricsEnabled(true) .

       

      I think the correct implementation would be:

       

      public void setMetrics(boolean metrics) {
              datasourceConfiguration.metricsEnabled(metrics);
      }
      

       

       

      Attachments

        Activity

          People

            lbarreiro-1 Luis Barreiro
            oscarburgos-martin Óscar Burgos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: