about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.ts b/src/app.ts
index 72708b6..4765811 100644
--- a/src/app.ts
+++ b/src/app.ts
@@ -45,12 +45,12 @@ const metrics = {
       "hostname",
       "method",
       "content_encoding",
-    ],
+    ] as const,
   }),
   requestDuration: new prom.Histogram({
     name: "homestead_request_duration_seconds",
     help: "Request duration in seconds",
-    labelNames: ["path"],
+    labelNames: ["path"] as const,
   }),
 };