embarrassing

This commit is contained in:
Hendrik Schutter 2025-01-15 17:32:31 +01:00
parent 8a4eadefcb
commit 85e3509731

View File

@ -51,8 +51,8 @@ router.get("/", async (req: Request, res: Response) => {
locationsTotal.set((await locationService.getAllLocations()).length);
wifiLocationTotal.set((await wifiLocationService.getAllWifiLocations()).length);
wifiLocationNotResolvable.set((await wifiLocationService.getAllWifiLocationsByNotResolvable).length);
wifiLocationRequestLimitExceeded.set((await wifiLocationService.getAllWifiLocationsByRequestLimitExceeded).length);
wifiLocationNotResolvable.set((await wifiLocationService.getAllWifiLocationsByNotResolvable()).length);
wifiLocationRequestLimitExceeded.set((await wifiLocationService.getAllWifiLocationsByRequestLimitExceeded()).length);
// Increment the counter with labels
requestCounter.inc({ method: req.method, route: req.route.path, status: 200 });