Change default port to 9182
This commit is contained in:
parent
deadaf3930
commit
ee30041e02
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue