default1.png default2.png
Nginx Geo MetricsReporter
Simple metrcis reporter with Python for track visitors' location and where connected to Nginx webservice.
How it works
Nginx-parser, parsing Nginx access.log
line by line, after recognizing any change in log file, a post request will be sent with some data like $remote_addr
and $host
to the Metricsreporter Webservice. Metricsreporter will grab information from Geo dataset
with previous step data and make that a metrics for Proemtheus
on /metrics
.