all repos — homestead @ c54bf87f151ba5df64db8db31c13c86c9cbe64d8

Code for my website

Also rename requests metric

Alan Pearce
commit

c54bf87f151ba5df64db8db31c13c86c9cbe64d8

parent

f8e44b687c754cd95197f0d4a7784ac696553303

1 file changed, 2 insertions(+), 2 deletions(-)

jump to
M src/index.tssrc/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({