Show default port in consul sample config
This commit is contained in:
parent
d9113c5fdb
commit
0693748c35
|
@ -12,7 +12,7 @@ report those stats already using StatsD protocol if needed.
|
|||
# Gather health check statuses from services registered in Consul
|
||||
[[inputs.consul]]
|
||||
## Consul server address
|
||||
# address = "localhost"
|
||||
# address = "localhost:8500"
|
||||
|
||||
## URI scheme for the Consul server, one of "http", "https"
|
||||
# scheme = "http"
|
||||
|
|
|
@ -5,7 +5,6 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/hashicorp/consul/api"
|
||||
|
||||
"github.com/influxdata/telegraf"
|
||||
"github.com/influxdata/telegraf/internal/tls"
|
||||
"github.com/influxdata/telegraf/plugins/inputs"
|
||||
|
@ -28,7 +27,7 @@ type Consul struct {
|
|||
|
||||
var sampleConfig = `
|
||||
## Consul server address
|
||||
# address = "localhost"
|
||||
# address = "localhost:8500"
|
||||
|
||||
## URI scheme for the Consul server, one of "http", "https"
|
||||
# scheme = "http"
|
||||
|
|
Loading…
Reference in New Issue