Rename eventhub -> eventhub_consumer
This commit is contained in:
parent
f69b639aa9
commit
79aad9f06a
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
##
|
|
@ -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{}
|
||||
})
|
||||
}
|
Loading…
Reference in New Issue