style: Add deprecation notice to renamed plugins (#10867)

This commit is contained in:
Thomas Casteleyn 2022-04-12 15:50:27 +02:00 committed by GitHub
parent 5676326ae9
commit 5e9312b167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -8,6 +8,10 @@ var Deprecations = map[string]telegraf.DeprecationInfo{
Since: "1.7.0",
Notice: "use 'inputs.jolokia2' with the 'cassandra.conf' example configuration instead",
},
"cisco_telemetry_gnmi": {
Since: "1.15.0",
Notice: "has been renamed to 'gnmi'",
},
"http_listener": {
Since: "1.9.0",
Notice: "has been renamed to 'influxdb_listener', use 'inputs.influxdb_listener' or 'inputs.http_listener_v2' instead",
@ -29,6 +33,10 @@ var Deprecations = map[string]telegraf.DeprecationInfo{
Since: "1.4.0",
Notice: "use 'inputs.kafka_consumer' instead, NOTE: 'kafka_consumer' only supports Kafka v0.8+",
},
"KNXListener": {
Since: "1.20.1",
Notice: "has been renamed to 'knx_listener'",
},
"logparser": {
Since: "1.15.0",
Notice: "use 'inputs.tail' with 'grok' data format instead",