-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
@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"orpath="/wp-login.php" - We have only one route, which is at the root and parameterized (
/{email}). Every possible parameter is counted, e.g.path="/david@example.com"andpath="/lars@example.com".
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.
bbrown, sijmenvos and toniov
Metadata
Metadata
Assignees
Labels
No labels