Merge pull request #8 from carlpett/new-port

Change default port to 9182
This commit is contained in:
Martin Lindhe 2016-08-27 15:10:29 +02:00 committed by GitHub
commit d7c06648cb
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()