about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-09-17 09:56:26 +0200
committerAlan Pearce2023-09-17 09:56:26 +0200
commitdd8d6e2a89fa0b33ab1008d8cf5bc777d3d46a99 (patch)
tree34ccb28744379487ddf45f392a76a4669a03bb1a
parent105886c757f83cf7258fbafaa6c4f8580f2fc29a (diff)
downloadwebsite-dd8d6e2a89fa0b33ab1008d8cf5bc777d3d46a99.tar.lz
website-dd8d6e2a89fa0b33ab1008d8cf5bc777d3d46a99.tar.zst
website-dd8d6e2a89fa0b33ab1008d8cf5bc777d3d46a99.zip
Also rename requests metric
-rw-r--r--src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index 874da30..216dda1 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -32,8 +32,8 @@ type File = {
 
 const metrics = {
   requests: new prom.Counter({
-    name: "homestead_requests_by_path",
-    help: "Number of requests by path",
+    name: "homestead_requests",
+    help: "Number of requests by path, status code, and method",
     labelNames: ["path", "status_code", "method"],
   }),
   requestDuration: new prom.Histogram({