Add Particle Webhook Plugin (#3477)
This commit is contained in:
committed by
Daniel Nelson
parent
8364417009
commit
b813e2ecae
@@ -15,6 +15,7 @@ import (
|
||||
"github.com/influxdata/telegraf/plugins/inputs/webhooks/github"
|
||||
"github.com/influxdata/telegraf/plugins/inputs/webhooks/mandrill"
|
||||
"github.com/influxdata/telegraf/plugins/inputs/webhooks/papertrail"
|
||||
"github.com/influxdata/telegraf/plugins/inputs/webhooks/particle"
|
||||
"github.com/influxdata/telegraf/plugins/inputs/webhooks/rollbar"
|
||||
)
|
||||
|
||||
@@ -34,6 +35,7 @@ type Webhooks struct {
|
||||
Mandrill *mandrill.MandrillWebhook
|
||||
Rollbar *rollbar.RollbarWebhook
|
||||
Papertrail *papertrail.PapertrailWebhook
|
||||
Particle *particle.ParticleWebhook
|
||||
|
||||
srv *http.Server
|
||||
}
|
||||
@@ -62,6 +64,9 @@ func (wb *Webhooks) SampleConfig() string {
|
||||
|
||||
[inputs.webhooks.papertrail]
|
||||
path = "/papertrail"
|
||||
|
||||
[inputs.webhooks.particle]
|
||||
path = "/particle"
|
||||
`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user