mirror of
https://github.com/prometheus-community/windows_exporter
synced 2024-12-21 22:20:02 +00:00
Merge pull request #8 from carlpett/new-port
Change default port to 9182
This commit is contained in:
commit
d7c06648cb
@ -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
Block a user