-
Just installed Anubis a couple days ago and it's working great! I'd love help understanding what some of the metrics mean. For example, here is some of what we're seeing when we curl metrics:
How are policy results being counted? For instance, does "bot/generic-browser" represent unique agents, or does it include subsequent, unchallenged page visits by humans who pass initial validation? Thanks for the great work on this program! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The latter. Here is where the counter is defined: Lines 15 to 18 in 086f43e And here, inside of Line 115 in 086f43e Thus it will be incremented for every received request, not just the initial challenge-response "handshake." |
Beta Was this translation helpful? Give feedback.
The latter.
Here is where the counter is defined:
anubis/lib/policy/policy.go
Lines 15 to 18 in 086f43e
And here, inside of
maybeReverseProxy()
, it gets incremented, before checking if the request passes the selected policy.anubis/lib/anubis.go
Line 115 in 086f43e