Removed bots from user in LibreQR metrics.
This commit is contained in:
parent
e86aeeabd5
commit
71da08488b
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ public class LibreQRHttpLogAnalyzer
|
|||
// metrics.service.users.ipv4
|
||||
// metrics.service.users.ipv6
|
||||
// metrics.barcodes.count
|
||||
if (USE_PATTERN.matcher(log.getRequest()).matches())
|
||||
if ((!log.isBot()) && (USE_PATTERN.matcher(log.getRequest()).matches()))
|
||||
{
|
||||
String key = String.format("%s---%s", log.getIp(), log.getUserAgent());
|
||||
|
||||
|
|
Loading…
Reference in a new issue