Tigase statistics: is it possible to change the storage?

Igor Khomenko
Added about 4 years ago

Is it possible to change the storage for Tigase statistics?

Looks like now it is in memory and will be lost after server restart

Is there a way to store the data into DB for example for historical overview?

Replies (3)


Added by Artur Hefczyc TigaseTeam about 4 years ago

Yes, you can store Tigase statistics in database, file or any other storage you wish. Out of the box DB and flat file is supported. However, this is available through the public API, so you can add more plugins to store metrics in a different place or in a different way.

More details in the online documentation for --stats-archiv property

Added by Igor Khomenko about 4 years ago

Thanks Artur,

are you going to release the MongoDB support for stats archiv as well?

Added by Wojciech Kapcia TigaseTeam about 4 years ago

Actually Mongo support for CounterDataLogger (which seems to be most interesting to you) was added not long ago (v. comit)