Adding country info to logs and metrics when using route_geoip escaper + g3iploc #903
|
Hi everyone 👋, First of all thanks a lot for building and maintaining g3proxy I’m trying the route_geoip escaper along with g3iploc, and it’s been working well so far. One thing I’m curious about: Is there a way to get the country resolved by g3iploc to show up in the logs of g3proxy? And even better, could the country be exposed as a label/dimension in the metrics (e.g. g3proxy_escaper_tcp_connect_attempt), so that stats could be broken down by country? Right now I only see the usual fields, but having the country available in logs and metrics would make monitoring and debugging much easier. Is this already possible through configuration, or would it require code changes/feature work? Thanks a lot for the awesome project g3proxy’s been a pleasure to use so far! |
Replies: 1 comment
No.
You can route the traffic to each country that you want to monitor to it's own escaper, so you will have |
No.
You can route the traffic to each country that you want to monitor to it's own escaper, so you will have
escaper.route.request.*metrics available.