Skip to content
Snippets Groups Projects
Verified Commit 22b3af61 authored by Kevin Morris's avatar Kevin Morris
Browse files

fix(PHP): sanitize and produce metrics at shutdown


This change now requires that PHP routes do not return HTTP 404
to be considered for the /metrics population. Additionally,
we make a small sanitization here to avoid trailing '/'
characters, unless we're on the homepage route.

Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
parent 3d971bfc
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment