Rename eventhub -> eventhub_consumer

This commit is contained in:
Daniel Nelson 2020-03-16 12:15:18 -07:00
parent f69b639aa9
commit 79aad9f06a
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
3 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ import (
_ "github.com/influxdata/telegraf/plugins/inputs/ecs"
_ "github.com/influxdata/telegraf/plugins/inputs/elasticsearch"
_ "github.com/influxdata/telegraf/plugins/inputs/ethtool"
_ "github.com/influxdata/telegraf/plugins/inputs/eventhub"
_ "github.com/influxdata/telegraf/plugins/inputs/eventhub_consumer"
_ "github.com/influxdata/telegraf/plugins/inputs/exec"
_ "github.com/influxdata/telegraf/plugins/inputs/execd"
_ "github.com/influxdata/telegraf/plugins/inputs/fail2ban"

View File

@ -5,7 +5,7 @@ This plugin provides a consumer for use with Azure Event Hubs and Azure IoT Hub.
## Configuration
```toml
[[inputs.eventhub]]
[[inputs.eventhub_consumer]]
## The default behavior is to create a new Event Hub client from environment variables.
## This requires one of the following sets of environment variables to be set:
##

View File

@ -416,7 +416,7 @@ func (e *EventHub) Stop() {
}
func init() {
inputs.Add("eventhub", func() telegraf.Input {
inputs.Add("eventhub_consumer", func() telegraf.Input {
return &EventHub{}
})
}