This repository has been archived by the owner. It is now read-only.
We shouldn't log metrics events for unknown routes #2423
Closed
Comments
Ha, actually it was opt-in until very recently, I changed it to opt-out in #2373. No probs, I can change it back! |
|
The other thing we could do is just not emit the event whenever the response status is 404. |
I think that is fair. The original bug was found because I forgot to add a route explicitly to log metrics. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
From a recent discussion on dev-fxacct, a server misconfiguration lead to some requests for unknown URLs to the auth-server, and the following log output:
It seems weird that we're trying to log a flow event on a completely non-existent route. I wonder if the filtering list here:
https://github.com/mozilla/fxa-auth-server/blob/master/lib/metrics/events.js#L52
Should be an include-list, rather than an ignore-list.
The text was updated successfully, but these errors were encountered: