Update README and CONTRIBUTING.

This commit is contained in:
Cyril Duez 2016-05-27 11:18:19 +02:00
parent d401b71262
commit 9a5be78719
2 changed files with 16 additions and 2 deletions

View File

@ -160,6 +160,17 @@ and `Stop()` methods.
* Same as the `Plugin` guidelines, except that they must conform to the
`inputs.ServiceInput` interface.
## Webhook Input Plugins
A webhook plugins `Register()` itself to the internal webserver under a specific path.
It will then be called in background upon according http requests. The `github_webhooks` plugins
illustrate this behaviour.
### Webhook Plugin Guidelines
* Same as the `Plugin` guidelines, except that they must conform to the
`inputs.WebhookInput` interface.
## Output Plugins
This section is for developers who want to create a new output sink. Outputs

View File

@ -215,6 +215,9 @@ Telegraf can also collect metrics via the following service plugins:
* [mqtt_consumer](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mqtt_consumer)
* [kafka_consumer](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/kafka_consumer)
* [nats_consumer](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/nats_consumer)
and via webhook plugins:
* [github_webhooks](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/github_webhooks)
* [rollbar_webhooks](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/rollbar_webhooks)