Skip to content

Make breaking changes that require a major version update (2.0) #9478

@sjwang90

Description

@sjwang90

Just because 2.0 isn’t required to be backward compatible doesn’t mean we can ignore usability for current users. When we remove something people use we should replace it with a clear error so people know a change has been made and they need to adapt.

The errors should recommend a migration path or actively allow users push an update to their config. For example, the udp_listener will be removed. If someone tries to use it there should be an error saying to migrate to socket_listener. It shouldn’t be a warning that the user can ignore, but instead be a fatal error that requires the user to adapt their config before continuing to use telegraf.

Deprecated

Entire Plugins

Partially resolved in: #9609

Refactor plugins

Input plugin settings

  • Activemq server and port
  • Aerospike enable_ssl
  • Amqp_consumer url
  • Consul datacentre
  • Disk mountpoints
  • Docker container_names
  • Docker perdevice
  • Docker total
  • Filecount directory
  • Http_listener_v2 path
  • Http_response address
  • Httpjson name
  • Influxdb_listener max_line_size
  • Mongodb ssl_enabled and cacerts
  • MQTT Consumer metric_buffer
  • MQTT Consumer servers format without scheme
  • NATS Consumer metric_buffer
  • Nsq name
  • Nsq_consumer server
  • Openldap ssl and ssl_ca
  • PostgreSQL address default value "local" instead of "localhost" #4872
  • Rabbitmq name
  • Rabbitmq queues
  • Smart path
  • Sqlserver query_version and azuredb
  • Statsd convert_names
  • Statsd parse_data_dog_tags
  • Statsd udp_packet_size
  • Vsphere force_discover_on_init
  • Win_perfcounters PreVistaSupport
  • Zookeeper enable_ssl

Output plugin settings

Resolved in: #11748

  • AMQP database and retention_policy
  • AMQP precision
  • AMQP url
  • Influxdb precision
  • Influxdb url
  • Kinesis partitionkey and use_random_partitionkey
  • Librato source_tag
  • Wavefront string_to_number subtable

Processor plugin settings

Serializers

Common settings

  • flush_buffer_when_full
  • utc
  • Kafka enable_tls
  • TLS ssl_ca, ssl_cert and ssl_key

Metric formats

Internal APIs

Builds, Packaging

Support only one v1/v2 plugins

Remove version nomenclature from plugin

Note that the two InfluxDB output plugins will remain. They are named influxdb and influxdb_v2, but in this case the version doesn't refer to the plugin but the compatible version of influxdb.

Metadata

Metadata

Assignees

Labels

area/agentbreaking changeImprovement to Telegraf that requires changes to the plugin or agent; for minor/major releasespm/core capabilityFeature requests that impact and improve core TelegrafrfcRequest for comment - larger issues that require clarification

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions