diff --git a/README.md b/README.md index d3cfd5c..1d6ba15 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ $ ./fastd-exporter --instance ffda The exporter will need read access to both the instances `fastd.conf` and `status socket`, keep that in mind. -By default the metrics webserver will listen on `:9099`, which can be changed through the `--web.listen-address` parameter. +By default the metrics webserver will listen on `:9281`, which can be changed through the `--web.listen-address` parameter. Check out the help for additional information. diff --git a/fastd-exporter.go b/fastd-exporter.go index 7734327..bdc0275 100644 --- a/fastd-exporter.go +++ b/fastd-exporter.go @@ -18,13 +18,12 @@ import ( ) var ( - address = flag.String("web.listen-address", ":9099", "Address on which to expose metrics and web interface.") + address = flag.String("web.listen-address", ":9281", "Address on which to expose metrics and web interface.") metricsPath = flag.String("web.telemetry-path", "/metrics", "Path under which to expose metrics.") instances = flag.String("instances", "", "Fastd instances to report metrics on, comma separated.") ) -// These are the structs necessary for unmarshalling the data that is being -// received on fastds unix socket. +// These are the structs necessary for unmarshalling the data that is being received on fastds unix socket. type PacketStatistics struct { Count int `json:"packets"` Bytes int `json:"bytes"`