From cab64f1a0bd9ae90bde44e857972e711ef2f66f6 Mon Sep 17 00:00:00 2001 From: Cyril Duez Date: Fri, 27 May 2016 11:28:03 +0200 Subject: [PATCH] Update plugin config in config file. --- etc/telegraf.conf | 9 ++++----- plugins/inputs/github_webhooks/github_webhooks.go | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) 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" ` }