diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-01-28 13:06:47 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-01-28 13:24:36 -0500 |
| commit | 57bd9082dd4f01fab353db4485819a2f87416245 (patch) | |
| tree | 325d711b53edb22e285162f1a7560182b0f3e26a /internal/accept_encoding.go | |
| parent | a16146721f79e3ae30f59ed6515bbbf3ccb8dbcf (diff) | |
| download | xesite-57bd9082dd4f01fab353db4485819a2f87416245.tar.xz xesite-57bd9082dd4f01fab353db4485819a2f87416245.zip | |
internal/lume: don't capture metrics for paths that don't open
This fixes an issue where an attacker could create infinite cardinality
in my prometheus server by sending a bunch of bogus GET requests.
Metrics are only tracked for paths that make sense.
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'internal/accept_encoding.go')
0 files changed, 0 insertions, 0 deletions
