Also rename requests metric
Alan Pearce alan@alanpearce.eu
Sun, 17 Sep 2023 09:56:26 +0200
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M src/index.ts → src/index.ts
@@ -32,8 +32,8 @@ }; 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({