You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@diasdavid and I have a little service running that we instrument with epimetheus. There's two little issues:
Every possible request coming from the internet is counted, e.g. path="/phpmyadmin" or path="/wp-login.php"
We have only one route, which is at the root and parameterized (/{email}). Every possible parameter is counted, e.g. path="/[email protected]" and path="/[email protected]".
I'd propose using request.route.path instead of the actual path, which would end up as e.g. a path="/{email}" label. If the route is undefined, we'd fall back to path="".
We're using HAPI here, and I'm not sure whether the other server libraries expose the route of a request.
The text was updated successfully, but these errors were encountered:
@diasdavid and I have a little service running that we instrument with epimetheus. There's two little issues:
path="/phpmyadmin"
orpath="/wp-login.php"
/{email}
). Every possible parameter is counted, e.g.path="/[email protected]"
andpath="/[email protected]"
.I'd propose using
request.route.path
instead of the actual path, which would end up as e.g. apath="/{email}"
label. If the route is undefined, we'd fall back topath=""
.We're using HAPI here, and I'm not sure whether the other server libraries expose the route of a request.
The text was updated successfully, but these errors were encountered: