23 May 2019 05:39 PM - last edited on 28 Jun 2021 12:57 PM by MaciejNeumann
I see there are other threads on this topic, but its still not exactly clear to me which one I would use for what I am after. I am using the JMX Editor to try and capture the database ActiveConnectionsCurrentCount for WLS datasources. When setting this up though there is SUM and Count. I am not exactly sure what the difference is and which one I would use in this situation?
Thanks!
Solved! Go to Solution.
03 Jun 2019 07:37 AM
I think you want to use COUNT for this metric. The metric will then reflect the actual count of the collected JMX attribute in the given point in time.
If you choose, SUM then as it says, it will sum the measured value. This would reflect the total number of connections. This might not be precise since the measurement is done every minute and you won't have information about connections that have been opened and closed between measurement times.
03 Jun 2019 12:35 PM
Thank you @Julius L. Much appreciated!