diff options
author | Alan Pearce | 2023-09-14 11:39:20 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-15 19:24:52 +0200 |
commit | 4ea39c5997bfea97b322d8b503e202db005317dd (patch) | |
tree | a88fc8b5b11441882097e9be19f54434a8ec2639 | |
parent | 627aec8448ca075ea4bf87f85229c67a7374eac0 (diff) | |
download | website-4ea39c5997bfea97b322d8b503e202db005317dd.tar.lz website-4ea39c5997bfea97b322d8b503e202db005317dd.tar.zst website-4ea39c5997bfea97b322d8b503e202db005317dd.zip |
Fix error in requestsByPath counter
-rw-r--r-- | src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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"], }), }; |