Show default port in consul sample config

This commit is contained in:
Daniel Nelson 2020-01-14 16:24:14 -08:00
parent d9113c5fdb
commit 0693748c35
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
2 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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"