Change default port to 9182

This commit is contained in:
Calle Pettersson 2016-08-27 14:49:34 +02:00
parent deadaf3930
commit ee30041e02
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ See [Wiki](https://github.com/martinlindhe/wmi_exporter/wiki/TODO)
go build .
.\wmi_exporter.exe
The prometheus metrics will be exposed on [localhost:9129](http://localhost:9129)
The prometheus metrics will be exposed on [localhost:9182](http://localhost:9182)
## License

View File

@ -57,7 +57,7 @@ func (c *WmiExporter) Collect(ch chan<- prometheus.Metric) {
func main() {
var (
addr = flag.String("telemetry.addr", ":9129", "host:port for WMI exporter")
addr = flag.String("telemetry.addr", ":9182", "host:port for WMI exporter")
metricsPath = flag.String("telemetry.path", "/metrics", "URL path for surfacing collected metrics")
)
flag.Parse()