Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-44

unavailable datasource statistics

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • JCA, JMX, Management
    • None

      In the java visual vm, in the mbean tab, under the "jboss.as:subsystem=datasources,data-source=MyDataSource" mbean, attribute "statistics" is marked as "Unavailable"

      When using the spy="true" attribute in the datasource subsystem in conjunction with the "org.jboss.jca" logger set as TRACE level in the logging subsystem, statistics are outputted as follow :

      Statistics:
      ActiveCount: 1
      AvailableCount: 99
      AverageBlockingTime: 0
      AverageCreationTime: 248
      CreatedCount: 1
      DestroyedCount: 0
      MaxCreationTime: 248
      MaxUsedCount: 1
      MaxWaitCount: 0
      MaxWaitTime: 0
      TimedOut: 0
      TotalBlockingTime: 0
      TotalCreationTime: 248

      I would except to find those statistics available through separates jmx attributes when using the spy="true".

            Unassigned Unassigned
            mathieu@mathieulachance.com Mathieu Lachance (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: