Added chat metrics for Minetest.

This commit is contained in:
Christian P. MOMON 2023-01-06 23:07:50 +01:00
parent 3e328d186c
commit 999b61d3be

View file

@ -195,6 +195,10 @@ public class MinetestLogAnalyzer
{ {
this.counters.inc("metrics.metaverse.joiners", year, yearMonth, yearWeek, date); this.counters.inc("metrics.metaverse.joiners", year, yearMonth, yearWeek, date);
} }
else if (log.getMessage().contains("CHAT: <"))
{
this.counters.inc("metrics.metaverse.chat", year, yearMonth, yearWeek, date);
}
// metrics.service.ip // metrics.service.ip
// metrics.service.ip.ipv4 // metrics.service.ip.ipv4