about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorAlan Pearce2023-09-14 11:39:20 +0200
committerAlan Pearce2023-09-15 19:24:52 +0200
commit4ea39c5997bfea97b322d8b503e202db005317dd (patch)
treea88fc8b5b11441882097e9be19f54434a8ec2639 /src
parent627aec8448ca075ea4bf87f85229c67a7374eac0 (diff)
downloadhomestead-4ea39c5997bfea97b322d8b503e202db005317dd.tar.lz
homestead-4ea39c5997bfea97b322d8b503e202db005317dd.tar.zst
homestead-4ea39c5997bfea97b322d8b503e202db005317dd.zip
Fix error in requestsByPath counter
Diffstat (limited to 'src')
-rw-r--r--src/index.ts1
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"],
   }),
 };