From c85104f4f956607422bbbe683a38c0b9ea5cee05 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 28 Nov 2018 14:38:37 +0800 Subject: [PATCH] update freegeoip --- freegeoip/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/freegeoip/README.md b/freegeoip/README.md index d70cc2e..4bd1258 100644 --- a/freegeoip/README.md +++ b/freegeoip/README.md @@ -31,4 +31,16 @@ $ curl -s http://localhost:8080/json/8.8.8.8 | jq . "longitude": -97.822, "metro_code": 0 } + +$ curl -s http://localhost:8888/metrics +freegeoip_client_connections{proto="http"} 0 +freegeoip_client_country_code_total{country_code="unknown"} 7 +freegeoip_client_ipproto_version_total{ip="4"} 7 +freegeoip_db_events_total{event="loaded"} 1 +go_gc_duration_seconds{quantile="0"} 5.9754e-05 +go_gc_duration_seconds{quantile="0.25"} 7.0367e-05 +go_gc_duration_seconds{quantile="0.5"} 9.6169e-05 +go_gc_duration_seconds{quantile="0.75"} 0.000112867 +go_gc_duration_seconds{quantile="1"} 0.000260533 +go_gc_duration_seconds_sum 0.001055739 ```