diff --git a/etc/telegraf.conf b/etc/telegraf.conf index ad6e2a533..0291cc3bd 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -1397,9 +1397,8 @@ # # A Github Webhook Event collector # [[inputs.github_webhooks]] -# ## Address and port to host Webhook listener on -# service_address = ":1618" - +# ## Path of the global server +# path = "/github" # # Read metrics from Kafka topic(s) # [[inputs.kafka_consumer]] @@ -1479,8 +1478,8 @@ # # A Rollbar Webhook Event collector # [[inputs.rollbar_webhooks]] -# ## Address and port to host Webhook listener on -# service_address = ":1619" +# ## Path of the global server +# path = "/rollbar" # # Statsd Server diff --git a/plugins/inputs/github_webhooks/github_webhooks.go b/plugins/inputs/github_webhooks/github_webhooks.go index 2c5241b29..a2af9abc3 100644 --- a/plugins/inputs/github_webhooks/github_webhooks.go +++ b/plugins/inputs/github_webhooks/github_webhooks.go @@ -30,7 +30,7 @@ func NewGithubWebhooks() *GithubWebhooks { func (gh *GithubWebhooks) SampleConfig() string { return ` - ## Address and port to host Webhook listener on + ## Path of the global server path = "/github" ` }