diff options
Diffstat (limited to 'src/app.ts')
-rw-r--r-- | src/app.ts | 4 |
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, }), }; |