Fixed bad metrics prefix.

This commit is contained in:
Christian P. MOMON 2021-05-04 12:31:00 +02:00
parent 24620cca99
commit c672fed930

View file

@ -180,7 +180,7 @@ public class HttpAccessLogAnalyzer
// metrics.http.os.XXXXX // metrics.http.os.XXXXX
UserAgentOS os = log.getUserAgent().getOS(); UserAgentOS os = log.getUserAgent().getOS();
this.counters.inc("metrics.http.browsers." + os.toString().toLowerCase(), year, yearMonth, yearWeek, date); this.counters.inc("metrics.http.os." + os.toString().toLowerCase(), year, yearMonth, yearWeek, date);
// metrics.http.browsers.XXXXX // metrics.http.browsers.XXXXX
UserAgentBrowser browser = log.getUserAgent().getBrowser(); UserAgentBrowser browser = log.getUserAgent().getBrowser();