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