Telegraf v1.24.0 Release Notes

Release Date: 2022-09-12 // 23 days ago
  • ๐Ÿ›  Bugfixes

    • #11779 Add missing entry json_transformation to missingTomlField
    • ๐Ÿ“œ #11288 Add reset-mode flag for CSV parser
    • ๐ŸŽ #11512 Add version number to MacOS packages
    • ๐Ÿ”€ #11489 Backport sync sample.conf and README.md files
    • ๐Ÿ“œ #11777 Do not error out for parsing errors in datadog mode
    • ๐Ÿ”€ #11521 Make docs & go.mod cleanup post-redis merge
    • ๐Ÿ”จ #11656 Refactor telegraf version
    • ๐Ÿšš #11563 Remove shell execution for license-checker
    • #11755 Sort labels in prometheusremotewrite serializer
    • ๐Ÿ’… #11440 Update prometheus parser to be a new style parser plugin
    • ๐Ÿ’… #11456 Update prometheusremotewrite parser to be a new style parser plugin
    • ๐Ÿšš #10570 Use os-agnositc systemd detection, remove sysv in RPM packaging
    • #11615 agent Add flushBatch method
    • #11692 inputs.jolokia2 Add optional origin header
    • #11629 inputs.mongodb Add an option to bypass connection errors on start
    • #11723 inputs.opcua Assign node id correctly
    • ๐Ÿ”Œ #11673 inputs.prometheus Plugin run outside k8s cluster error
    • #11701 inputs.sqlserver Fixing wrong filtering for sqlAzureMIRequests and sqlAzureDBRequests
    • ๐Ÿ’… #11471 inputs.upsd Move to new sample.conf style
    • #11613 inputs.x509 Multiple sources with non-overlapping DNS entries
    • #11767 outputs.execd Fixing the execd behavior to not throw error when partially unserializable metrics are written
    • โšก๏ธ #11560 outputs.wavefront Update wavefront sdk and use non-deprecated APIs

    ๐Ÿ”‹ Features

    • #11307 serializers.csv Add CSV serializer
    • ๐Ÿ”Œ #11054 outputs.redistimeseries Add RedisTimeSeries plugin
    • ๐Ÿ”Œ #7995 outputs.stomp Add Stomp (Active MQ) output plugin
    • 0๏ธโƒฃ #11300 Add default appType as config option to groundwork output
    • #11398 Add license checking tool
    • ๐Ÿ‘ #11399 Add proxy support for outputs/cloudwatch
    • #11516 Added metrics for member and replica-set avg health of MongoDB
    • ๐Ÿ”Œ #11233 Adding aws metric streams input plugin
    • #9717 Allow collecting node-level metrics for Couchbase buckets
    • #11282 Make the command config a subcommand
    • ๐Ÿ’… #11367 Migrate collectd parser to new style
    • ๐Ÿ’… #11371 Migrate dropwizard parser to new style
    • ๐Ÿ’… #11381 Migrate form_urlencoded parser to new style
    • ๐Ÿ’… #11405 Migrate graphite parser to new style
    • ๐Ÿ’… #11408 Migrate grok to new parser style
    • ๐Ÿ’… #11432 Migrate influx and influx_upstream parsers to new style
    • ๐Ÿ’… #11226 Migrate json parser to new style
    • ๐Ÿ’… #11343 Migrate json_v2 parser to new style
    • ๐Ÿ’… #11366 Migrate logfmt parser to new style
    • ๐Ÿ’… #11402 Migrate nagios parser to new style
    • #11700 Migrate to urfave/cli
    • ๐Ÿ’… #11407 Migrate value parser to new style
    • ๐Ÿ’… #11374 Migrate wavefront parser to new style
    • ๐Ÿ‘ #11373 inputs.nats_consumer Add simple support for jetstream subjects
    • ๐Ÿ”Œ #9015 inputs.supervisor Add Supervisord input plugin
    • ๐Ÿ— #11524 Tool to build custom Telegraf builds
    • #11493 common.tls Implement minimum TLS version for clients
    • ๐Ÿ”Œ #11619 external Add nsdp external plugin
    • #9890 inputs.upsd Add upsd implementation
    • #11458 inputs.cisco_telemetry_mdt Add GRPC Keepalive/timeout config options
    • ๐Ÿ‘ #11784 inputs.directory_monitor Support paths for files_to_ignore and files_to_monitor
    • #11773 inputs.directory_monitor Traverse sub-directories
    • 0๏ธโƒฃ #11220 inputs.kafka_consumer Option to set default fetch message bytes
    • ๐Ÿง #8988 inputs.linux_cpu Add plugin to collect CPU metrics on Linux
    • ๐Ÿ”Š #9185 inputs.logstash Record number of failures
    • #11469 inputs.modbus Error out on requests with no fields defined
    • #11426 inputs.mqtt_consumer Add incoming mqtt message size calculation
    • #10874 inputs.nginx_plus_api Gather limit_reqs metrics
    • #11593 inputs.ntpq Add option to specify command flags
    • #11592 inputs.ntpq Add possibility to query remote servers
    • #11594 inputs.ntpq Allow to specify reach output format
    • #11572 inputs.openstack Add allow_reauth config option for openstack client
    • #11391 inputs.smart Collect SSD endurance information where available in smartctl
    • #11688 inputs.sqlserver Add db name to io stats for MI
    • #11709 inputs.sqlserver Improved filtering for active requests
    • ๐Ÿ”Œ #11518 inputs.statsd Add median timing calculation to statsd input plugin
    • ๐ŸŒฒ #9440 inputs.syslog Log remote host as source tag
    • #11271 inputs.x509_cert Add smtp protocol
    • ๐Ÿ‘ #11284 output.mqtt Add support for MQTT protocol version 5
    • ๐Ÿ‘ #11649 outputs.amqp Add proxy support
    • #11439 outputs.graphite Retry connecting to servers with failed send attempts
    • ๐Ÿ“œ #11443 outputs.groundwork Improve metric parsing to extend output
    • ๐Ÿ”Œ #11557 outputs.iotdb Add new output plugin to support Apache IoTDB
    • #11672 outputs.postgresql Add Postgresql output
    • โœ… #11529 outputs.redistimeseries Add integration test
    • #11551 outputs.sql Add settings for go sql.DB settings
    • ๐Ÿ“œ #11251 parsers.json Allow JSONata based transformations in JSON serializer
    • ๐Ÿ“œ #11558 parsers.xpath Add support for returning underlying data-types
    • #11306 processors.starlark Add starlark benchmark for tag-concatenation
    • #11475 inputs.rabbitmq Add support for head_message_timestamp metric
    • ๐Ÿ‘ #9333 inputs.redis Add Redis 6 ACL auth support
    • ๐Ÿ›ฐ #11690 serializers.prometheus Provide option to reduce payload size by removing HELP from payload
    • ๐Ÿ‘ #9319 proxy.x509_cert Add proxy support

    โšก๏ธ Dependency Updates

    • โšก๏ธ #11671 Update github.com/jackc/pgx/v4 from 4.16.1 to 4.17.0
    • โšก๏ธ #11669 Update github.com/Azure/go-autorest/autorest from 0.11.24 to 0.11.28
    • โšก๏ธ #11670 Update github.com/aws/aws-sdk-go-v2/service/ec2 from 1.51.2 to 1.52.1
    • โšก๏ธ #11675 Update github.com/urfave/cli/v2 from 2.3.0 to 2.11.2
    • โšก๏ธ #11679 Update github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.13.6 to 1.13.12
    • โšก๏ธ #11695 Update github.com/aliyun/alibaba-cloud-sdk-go from 1.61.1695 to 1.61.1727
    • โšก๏ธ #11676 Update go.mongodb.org/mongo-driver from 1.9.1 to 1.10.1
    • โšก๏ธ #11710 Update github.com/wavefronthq/wavefront-sdk-go from 0.10.1 to 0.10.2
    • โšก๏ธ #11711 Update github.com/aws/aws-sdk-go-v2/service/sts from 1.16.7 to 1.16.13
    • โšก๏ธ #11716 Update github.com/aerospike/aerospike-client-go/v5 from 5.7.0 to 5.9.0
    • โšก๏ธ #11717 Update github.com/hashicorp/consul/api from 1.13.1 to 1.14.0
    • โšก๏ธ #11721 Update github.com/tidwall/gjson from 1.14.1 to 1.14.3
    • โšก๏ธ #11699 Update github.com/rabbitmq/amqp091-go from 1.3.4 to 1.4.0
    • โšก๏ธ #11743 Update github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.15.10 to 1.16.1
    • โšก๏ธ #11744 Update github.com/gophercloud/gophercloud from 0.25.0 to 1.0.0
    • โšก๏ธ #11745 Update k8s.io/client-go from 0.24.3 to 0.25.0
    • โšก๏ธ #11747 Update github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.12.11 to 1.12.13
    • โšก๏ธ #11763 Update github.com/urfave/cli/v2 from 2.11.2 to 2.14.1
    • โšก๏ธ #11764 Update gonum.org/v1/gonum from 0.11.0 to 0.12.0
    • โšก๏ธ #11770 Update github.com/Azure/azure-kusto-go from 0.7.0 to 0.8.0
    • โšก๏ธ #11746 Update google.golang.org/grpc from 1.48.0 to 1.49.0

    ๐Ÿ’ฅ BREAKING CHANGES

    • #11493 common.tls Set default minimum TLS version to v1.2 for security reasons on both server and client connections. This is a change from the previous defaults (TLS v1.0) on the server configuration and might break clients relying on older TLS versions. You can manually revert to older versions on a per-plugin basis using the tls_min_version option in the plugins required

Previous changes from v1.23.4

  • ๐Ÿ›  Bugfixes

    • โœ… #11647 Bump github.com/lxc/lxd to be able to run tests
    • ๐Ÿ— #11664 Sync sql output and input build constraints to handle loong64 in go1.19.
    • โšก๏ธ #10841 Updating credentials file to not use endpoint_url parameter
    • #10851 inputs.cloudwatch Customizable batch size when querying
    • #11577 inputs.kube_inventory Send file location to enable token auto-refresh
    • #11578 inputs.kubernetes Refresh token from file at each read
    • โšก๏ธ #11635 inputs.mongodb Update version check for newer versions
    • #11539 inputs.opcua Return an error with mismatched types
    • #11548 inputs.sqlserver Set lower deadlock priority
    • #11556 inputs.stackdriver Handle when no buckets available
    • ๐Ÿ‘• #11576 inputs Linter issues
    • ๐Ÿ‘• #11595 outputs Linter issues
    • ๐Ÿ‘• #11607 parsers Linter issues

    ๐Ÿ”‹ Features

    • #11622 Add coralogix dialect to opentelemetry

    โšก๏ธ Dependency Updates

    • โœ… #11412 deps Bump github.com/testcontainers/testcontainers-go from 0.12.0 to 0.13.0
    • #11565 deps Bump github.com/apache/thrift from 0.15.0 to 0.16.0
    • #11567 deps Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.46.0 to 1.51.0
    • โšก๏ธ #11494 deps Update all go.opentelemetry.io dependencies
    • #11569 deps Bump github.com/go-ldap/ldap/v3 from 3.4.1 to 3.4.4
    • #11574 deps Bump github.com/karrick/godirwalk from 1.16.1 to 1.17.0
    • #11568 deps Bump github.com/vmware/govmomi from 0.28.0 to 0.29.0
    • #11347 deps Bump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1.4.1
    • #11580 deps Bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.7
    • ๐Ÿ”Š #11582 deps Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs
    • #11583 deps Bump github.com/Azure/go-autorest/autorest/adal
    • #11581 deps Bump github.com/pion/dtls/v2 from 2.0.13 to 2.1.5
    • #11590 deps Bump github.com/Azure/azure-event-hubs-go/v3
    • #11586 deps Bump github.com/aws/aws-sdk-go-v2/service/cloudwatch
    • #11585 deps Bump github.com/aws/aws-sdk-go-v2/service/kinesis
    • #11584 deps Bump github.com/aws/aws-sdk-go-v2/service/dynamodb
    • ๐Ÿšฆ #11598 deps Bump github.com/signalfx/golib/v3 from 3.3.43 to 3.3.45
    • โšก๏ธ #11605 deps Update github.com/BurntSushi/toml from 0.4.1 to 1.2.0
    • โšก๏ธ #11604 deps Update cloud.google.com/go/pubsub from 1.23.0 to 1.24.0
    • โšก๏ธ #11602 deps Update k8s.io/apimachinery from 0.24.2 to 0.24.3
    • โšก๏ธ #11603 deps Update github.com/Shopify/sarama from 1.34.1 to 1.35.0
    • #11616 deps Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
    • #11636 deps Bump github.com/emicklei/go-restful from v2.9.5+incompatible to v3.8.0
    • #11641 deps Bump github.com/hashicorp/consul/api from 1.12.0 to 1.13.1
    • #11640 deps Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0
    • #11643 deps Bump google.golang.org/api from 0.85.0 to 0.91.0
    • #11644 deps Bump github.com/antchfx/xmlquery from 1.3.9 to 1.3.12
    • #11651 deps Bump github.com/aws/aws-sdk-go-v2/service/ec2
    • #11652 deps Bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds
    • ๐Ÿ”Š #11653 deps Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs