From 4ea39c5997bfea97b322d8b503e202db005317dd Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 14 Sep 2023 11:39:20 +0200 Subject: Fix error in requestsByPath counter --- src/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 6699a10..69a7d86 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,6 +40,7 @@ const counters = { requestsByPath: new prom.Counter({ name: "requests_by_path", help: "Number of requests by path", + labelNames: ["path"], }), }; -- cgit 1.4.1