Renamed metrics.barcodes.count to metrics.barcodes.created.
This commit is contained in:
parent
ab2834d597
commit
b731b9ad90
2 changed files with 4 additions and 3 deletions
|
@ -245,6 +245,7 @@ public class Prober
|
|||
|
||||
// Temporary fixed 2022-02.
|
||||
previousCounters.renamePath("metrics.service.files", "metrics.service.datafiles");
|
||||
previousCounters.renamePath("metrics.barcodes.count", "metrics.barcodes.created");
|
||||
|
||||
// Merge.
|
||||
logger.info("== Merging");
|
||||
|
|
|
@ -69,7 +69,7 @@ public class LibreQRProber
|
|||
// metrics.service.users
|
||||
// metrics.service.users.ipv4
|
||||
// metrics.service.users.ipv6
|
||||
// metrics.barcodes.count
|
||||
// metrics.barcodes.created
|
||||
// metrics.libreqr.barcodes.downloads
|
||||
result = probeHttpAccessLog(httpLogs, httpLogRegex);
|
||||
|
||||
|
@ -136,10 +136,10 @@ public class LibreQRProber
|
|||
}
|
||||
}
|
||||
|
||||
// metrics.barcodes.count
|
||||
// metrics.barcodes.created
|
||||
if ((log.getStatus().getCode() == 200) && (CREATE_PATTERN.matcher(log.getRequest()).matches()))
|
||||
{
|
||||
result.inc("metrics.barcodes.count", year, yearMonth, yearWeek, date);
|
||||
result.inc("metrics.barcodes.created", year, yearMonth, yearWeek, date);
|
||||
}
|
||||
|
||||
// metrics.libreqr.barcodes.downloads
|
||||
|
|
Loading…
Reference in a new issue