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
{{ message }}
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.
the extraMasks config replaces single parts of the route only. So you could replace each part of the path in isolation, not a group of the paths.
you could add extra masks for each kind of file, e.g. a regex for the main.js, a regex for the .css, and so on. This avoids having a different metric, once you deploy a new release of the static files.
And then you could aggregate the static files requests using a query from prometheus
Oh, that's a bit annoying. I know I can have prom ignore these things through relabel configs. It would be nice to do something similar in the plugin directly. Guess not :(
I'm using this middleware with a Next.js app and I've noticed that it grabs all the static files (which change with every release):
I've tried to use the extra masks option and tried multiple incantations of regex to no avail..
examples I've tried:
How can mask all the "_next/static" routes?
Example data:
The text was updated successfully, but these errors were encountered: