igniterealtime / openfire-loadStats-plugin

The statistic plugin prints usage information of the database connection pool, thread pool used for processing incoming traffic and the NIO networking layer
1 stars 4 forks source link

Connection Pool Info Fix #4

Closed hamzaozturk closed 3 years ago

guusdk commented 3 years ago

Hmm, no closer inspection, the documentation of this plugin describes the columns that are printed in the files to match with what this PR seems to restore.

hamzaozturk commented 3 years ago

Actually, i have not added any new fields.

The current version of the code was not producing fields correctly.

DbConnectionManager.getConnectionProvider().toString()

1603815584710,org.jivesoftware.database.DefaultConnectionProvider@425d317,5,0,-1,2256957,84,70,339,0,179

Now, it produces correct output.

1603815377069,5,25,0,170250,5,0,-1,2256860,84,0,0,0,0

akrherz commented 3 years ago

Hi @hamzaozturk , as a part of a git cleanup, this PR will need some help. I am attempting now to clean this up. You did nothing wrong, this is all on my end :)

akrherz commented 3 years ago

Sadly, I had to redo this PR, could you please review #5 to verify your change is still accurate. Sorry about this.