339 KiB
Changelog
v1.32.3 [2024-11-18]
Important Changes
- PR #16015 changes the
internal counters of the Bind plugin to unsigned integers matching the server
implementation. We keep backward compatibility by setting
report_counters_as_inttotrueby default to avoid type conflicts on the output side. However, you should change this setting tofalseas soon as possible to avoid invalid values and parsing errors with the v3 XML statistics.
Bugfixes
- #16123
agentRestore setup order of stateful plugins to Init() then SetState() - #16111
common.socketMake sure the scanner buffer matches the read-buffer size - #16156
common.socketUse read buffer size config setting as a datagram reader buffer size - #16015
inputs.bindConvert counters to uint64 - #16171
inputs.gnmiRegister connection statistics before creating client - #16197
inputs.netflowCast TCP ports to uint16 - #16110
inputs.ntpqAvoid panic on empty lines and make sure -p is present - #16155
inputs.snmpFix crash when trying to format fields from unknown OIDs - #16145
inputs.snmp_trapRemove timeout deprecation - #16108
loggerAvoid setting the log-format default too early
Dependency Updates
- #16093
depsBump cloud.google.com/go/pubsub from 1.42.0 to 1.45.1 - #16175
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.37 to 1.17.44 - #16096
depsBump github.com/gofrs/uuid/v5 from 5.2.0 to 5.3.0 - #16136
depsBump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 - #16094
depsBump github.com/gopacket/gopacket from 1.2.0 to 1.3.0 - #16133
depsBump github.com/jackc/pgtype from 1.14.3 to 1.14.4 - #16131
depsBump github.com/openconfig/gnmi from 0.10.0 to 0.11.0 - #16092
depsBump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 - #16178
depsBump github.com/rclone/rclone from 1.67.0 to 1.68.1 - #16132
depsBump github.com/shirou/gopsutil/v4 from 4.24.9 to 4.24.10 - #16176
depsBump github.com/sijms/go-ora/v2 from 2.8.19 to 2.8.22 - #16134
depsBump github.com/testcontainers/testcontainers-go/modules/kafka from 0.33.0 to 0.34.0 - #16174
depsBump github.com/tidwall/gjson from 1.17.1 to 1.18.0 - #16135
depsBump github.com/vmware/govmomi from 0.39.0 to 0.45.1 - #16095
depsBump golang.org/x/sys from 0.25.0 to 0.26.0 - #16177
depsBump golang.org/x/text from 0.19.0 to 0.20.0 - #16172
depsBump golangci-lint from v1.61.0 to v1.62.0
v1.32.2 [2024-10-28]
Bugfixes
- #15966
agentUse a unique WAL file for plugin instances of the same type - #16074
inputs.kafka_consumerFix deadlock - #16009
inputs.netflowCast complex types to field compatible ones - #16026
inputs.opcuaAllow to retry reads on invalid sessions - #16060
inputs.procstatCorrectly use systemd-unit setting for finding them - #16008
inputs.win_eventlogHandle XML data fields' filtering the same way as event fields - #15968
outputs.remotefileCreate a new serializer instance per output file - #16014
outputs.syslogTrim field-names belonging to explicit SDIDs correctly
Dependency Updates
- #15992
depsBump cloud.google.com/go/bigquery from 1.62.0 to 1.63.1 - #16056
depsBump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.14.0 to 1.16.0 - #16021
depsBump github.com/IBM/sarama from 1.43.2 to 1.43.3 - #16019
depsBump github.com/alitto/pond from 1.9.0 to 1.9.2 - #16018
depsBump github.com/apache/thrift from 0.20.0 to 0.21.0 - #16054
depsBump github.com/aws/aws-sdk-go-v2 from 1.32.1 to 1.32.2 - #15996
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.40.4 to 1.42.1 - #16055
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.42.1 to 1.42.2 - #16057
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.34.9 to 1.36.2 - #16022
depsBump github.com/docker/docker from 27.1.1+incompatible to 27.3.1+incompatible - #15993
depsBump github.com/gosnmp/gosnmp from 1.37.0 to 1.38.0 - #15947
depsBump github.com/gwos/tcg/sdk from v8.7.2 to v8.8.0 - #16053
depsBump github.com/lxc/incus/v6 from 6.2.0 to 6.6.0 - #15994
depsBump github.com/signalfx/golib/v3 from 3.3.53 to 3.3.54 - #15995
depsBump github.com/snowflakedb/gosnowflake from 1.11.1 to 1.11.2 - #16020
depsBump go.step.sm/crypto from 0.51.1 to 0.54.0 - #16023
depsBump github.com/shirou/gopsutil from v3.24.4 to v4.24.9
v1.32.1 [2024-10-07]
Important Changes
- PR #15796 changes the
delivery state update of un-parseable messages from
ACKtoNACKwithout requeueing. This way, those messages are not lost and can optionally be handled using a dead-letter exchange by other means. - Removal of old-style serializer creation. This should not directly affect users as it is an API change. All serializers in Telegraf are already ported to the new framework. If you experience any issues with not being able to create serializers let us know!
Bugfixes
- #15969
agentFix buffer not flushing if all metrics are written - #15937
configCorrectly print removal version info - #15900
common.httpKeep timeout after creating oauth client - #15796
inputs.amqp_consumerNACKing messages on non-delivery related errors - #15923
inputs.cisco_telemetry_mdtHandle NXOS DME subtree telemetry format - #15907
inputs.consulMove config checking to Init method - #15982
inputs.influxdb_v2_listenerFix concurrent read/write dict - #15960
inputs.vsphereAdd tags to VSAN ESA disks - #15921
parsers.avroAdd mutex to cache access - #15965
processors.aws_ec2Remove leading slash and cancel worker only if it exists
Dependency Updates
- #15932
depsBump cloud.google.com/go/monitoring from 1.20.2 to 1.21.1 - #15863
depsBump github.com/Azure/azure-kusto-go from 0.15.3 to 0.16.1 - #15862
depsBump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.13.0 to 1.14.0 - #15957
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.16.12 to 1.16.14 - #15859
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.34.4 to 1.34.9 - #15931
depsBump github.com/boschrexroth/ctrlx-datalayer-golang from 1.3.0 to 1.3.1 - #15890
depsBump github.com/harlow/kinesis-consumer from v0.3.6-0.20240606153816-553e2392fdf3 to v0.3.6-0.20240916192723-43900507c911 - #15904
depsBump github.com/netsampler/goflow2/v2 from 2.1.5 to 2.2.1 - #15903
depsBump github.com/p4lang/p4runtime from 1.3.0 to 1.4.0 - #15905
depsBump github.com/prometheus/client_golang from 1.20.2 to 1.20.3 - #15930
depsBump github.com/prometheus/client_golang from 1.20.3 to 1.20.4 - #15962
depsBump github.com/prometheus/common from 0.55.0 to 0.60.0 - #15860
depsBump github.com/snowflakedb/gosnowflake from 1.10.0 to 1.11.1 - #15954
depsBump github.com/srebhan/protobufquery from 0.0.0-20230803132024-ae4c0d878e55 to 1.0.1 - #15929
depsBump go.mongodb.org/mongo-driver from 1.16.0 to 1.17.0 - #15902
depsBump golang.org/x/mod from 0.19.0 to 0.21.0 - #15955
depsBump golang.org/x/oauth2 from 0.21.0 to 0.23.0 - #15861
depsBump golang.org/x/term from 0.23.0 to 0.24.0 - #15856
depsBump golangci-lint from v1.60.3 to v1.61.0 - #15933
depsBump k8s.io/apimachinery from 0.30.1 to 0.31.1 - #15901
depsBump modernc.org/sqlite from 1.32.0 to 1.33.1
v1.32.0 [2024-09-09]
Important Changes
- This release contains a logging overhaul as well as some new features for
logging (see PRs #15556,
#15629,
#15677,
#15695 and
#15751).
As a consequence the redunant
logtargetsetting is deprecated,stderris used if nologfileis provided, otherwise messages are logged to the given file. For using the Windowseventlogsetlogformat = "eventlog"! - This release contains a change in json_v2 parser config parsing - if the config is empty (not define any rules), initialization will fail (see PR #15844).
- This release contains a feature for a disk-backed metric buffer under the
buffer_strategyagent config (see PR #15564). Please note, this feature is experimental, please give it a test and report any issues you encounter.
New Plugins
- #15700
inputs.slurmSLURM workload manager - #15602
outputs.parquetParquet file writer - #15569
outputs.remotefileOutput to remote location like S3
Features
- #15732
agentAdd config check sub-command - #15564
agentAdd metric disk buffer - #15645
agentEnable watching for new configuration files - #15644
agentWatch for deleted files - #15695
loggingAdd 'trace' log-level - #15677
loggingAllow to override log-level per plugin - #15751
loggingImplement structured logging - #15640
common.cookieAllow usage of secrets in headers - #15636
common.shimEnable metric tracking within external plugins - #15570
common.tlsAllow group aliases for cipher-suites - #15628
inputs.amd_rocm_smiParse newer ROCm versions - #15519
inputs.azure_monitorAdd client options parameter - #15544
inputs.elasticsearchAdd support for custom headers - #15688
inputs.elasticsearchGather enrich stats - #15834
inputs.execdAllow to provide logging prefixes on stderr - #15764
inputs.http_listener_v2Add unix socket mode - #15495
inputs.ipmi_sensorCollect additional commands - #15790
inputs.kafka_consumerAllow to select the metric time source - #15648
inputs.modbusAllow reading single bits of input and holding registers - #15528
inputs.mqtt_consumerAdd variable length topic parsing - #15486
inputs.mqtt_consumerImplement startup error behaviors - #15749
inputs.mysqlAdd support for replica status - #15521
inputs.netflowAdd more fields for sFlow extended gateway packets - #15396
inputs.netflowAdd support for sFlow drop notification packets - #15468
inputs.openstackAllow collection without admin privileges - #15637
inputs.opentelemetryAdd profiles support - #15423
inputs.procstatAdd ability to collect per-process socket statistics - #15655
inputs.s7commImplement startup-error behavior settings - #15600
inputs.sqlAdd SAP HANA SQL driver - #15424
inputs.sqlserverIntroduce user specified ID parameter for ADD logins - #15687
inputs.statsdExpose allowed_pending_messages as internal stat - #15458
inputs.systemd_unitsSupport user scoped units - #15702
outputs.datadogAdd support for submitting alongside dd-agent - #15668
outputs.dynatraceReport metrics as a delta counter using regular expression - #15471
outputs.elasticsearchAllow custom template index settings - #15613
outputs.elasticsearchSupport data streams - #15722
outputs.kafkaAdd option to add metric name as record header - #15689
outputs.kafkaAdd option to set producer message timestamp - #15787
outputs.syslogImplement startup error behavior options - #15697
parsers.valueAdd base64 datatype - #15795
processors.aws_ec2Allow to use instance metadata
Bugfixes
- #15661
agentFix buffer directory config and document - #15788
inputs.kinesis_consumerHonor the configured endpoint - #15791
inputs.mysqlEnforce float for all known floating-point information - #15743
inputs.snmpAvoid sending a nil to gosmi's GetEnumBitsFormatted - #15815
loggerHandle trace level for standard log - #15781
outputs.kinesisHonor the configured endpoint - #15615
outputs.remotefileResolve linter not checking error - #15740
serializers.templateUnwrap metrics if required
Dependency Updates
- #15829
depsBump github.com/BurntSushi/toml from 1.3.2 to 1.4.0 - #15775
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.16.11 to 1.16.12 - #15733
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.38.7 to 1.40.3 - #15761
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.40.3 to 1.40.4 - #15827
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.37.3 to 1.38.0 - #15760
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.25.5 to 1.27.4 - #15737
depsBump github.com/eclipse/paho.mqtt.golang from 1.4.3 to 1.5.0 - #15734
depsBump github.com/google/cel-go from 0.20.1 to 0.21.0 - #15777
depsBump github.com/miekg/dns from 1.1.59 to 1.1.62 - #15828
depsBump github.com/openconfig/goyang from 1.5.0 to 1.6.0 - #15735
depsBump github.com/pion/dtls/v2 from 2.2.11 to 2.2.12 - #15779
depsBump github.com/prometheus/client_golang from 1.19.1 to 1.20.2 - #15831
depsBump github.com/prometheus/prometheus from 0.53.1 to 0.54.1 - #15736
depsBump github.com/redis/go-redis/v9 from 9.5.1 to 9.6.1 - #15830
depsBump github.com/seancfoley/ipaddress-go from 1.6.0 to 1.7.0 - #15842
depsBump github.com/showwin/speedtest-go from 1.7.7 to 1.7.9 - #15778
depsBump go.step.sm/crypto from 0.50.0 to 0.51.1 - #15776
depsBump golang.org/x/net from 0.27.0 to 0.28.0 - #15757
depsBump golang.org/x/sync from 0.7.0 to 0.8.0 - #15759
depsBump gonum.org/v1/gonum from 0.15.0 to 0.15.1 - #15758
depsBump modernc.org/sqlite from 1.30.0 to 1.32.0 - #15756
depsBump super-linter/super-linter from 6.8.0 to 7.0.0 - #15826
depsBump super-linter/super-linter from 7.0.0 to 7.1.0 - #15780
depsBump tj-actions/changed-files from 44 to 45
v1.31.3 [2024-08-12]
Bugfixes
- #15552
inputs.chronyUse DGRAM for the unix socket - #15667
inputs.diskioPrint warnings once, add details to messages - #15670
inputs.mqtt_consumerRestore trace logging option - #15696
inputs.opcuaReconnect if closed connection - #15724
inputs.smartctlUse --scan-open instead of --scan to provide correct device type info - #15649
inputs.tailPrevent deadlock when closing and max undelivered lines hit
Dependency Updates
- #15720
depsBump Go from v1.22.5 to v1.22.6 - #15683
depsBump cloud.google.com/go/bigquery from 1.61.0 to 1.62.0 - #15654
depsBump cloud.google.com/go/monitoring from 1.19.0 to 1.20.2 - #15679
depsBump cloud.google.com/go/monitoring from 1.20.2 to 1.20.3 - #15626
depsBump github.com/antchfx/xmlquery from 1.4.0 to 1.4.1 - #15706
depsBump github.com/apache/iotdb-client-go from 1.2.0-tsbs to 1.3.2 - #15651
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.17 to 1.17.27 - #15703
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from v1.27.4 to v1.29.3 - #15681
depsBump github.com/docker/docker from 25.0.5-incompatible to 27.1.1-incompatible - #15650
depsBump github.com/gofrs/uuid/v5 from 5.0.0 to 5.2.0 - #15705
depsBump github.com/gorilla/websocket from 1.5.1 to 1.5.3 - #15708
depsBump github.com/multiplay/go-ts3 from 1.1.0 to 1.2.0 - #15707
depsBump github.com/prometheus-community/pro-bing from 0.4.0 to 0.4.1 - #15709
depsBump github.com/prometheus/prometheus from 0.48.1 to 0.53.1 - #15680
depsBump github.com/vmware/govmomi from 0.37.2 to 0.39.0 - #15682
depsBump go.mongodb.org/mongo-driver from 1.14.0 to 1.16.0 - #15652
depsBump go.step.sm/crypto from 0.47.1 to 0.50.0 - #15653
depsBump google.golang.org/grpc from 1.64.1 to 1.65.0 - #15704
depsBump super-linter/super-linter from 6.7.0 to 6.8.0
v1.31.2 [2024-07-22]
Bugfixes
- #15589
common.socketSwitch to context to simplify closing - #15601
inputs.pingCheck addr length to avoid crash - #15618
inputs.snmpTranslate field correctly when not in table - #15586
parsers.xpathAllow resolving extensions - #15630
tools.custom_builderHandle multiple instances of the same plugin correctly
Dependency Updates
- #15582
depsBump cloud.google.com/go/storage from 1.41.0 to 1.42.0 - #15623
depsBump cloud.google.com/go/storage from 1.42.0 to 1.43.0 - #15607
depsBump github.com/alitto/pond from 1.8.3 to 1.9.0 - #15625
depsBump github.com/antchfx/xpath from 1.3.0 to 1.3.1 - #15622
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.34.3 to 1.37.3 - #15606
depsBump github.com/hashicorp/consul/api from 1.26.1 to 1.29.1 - #15604
depsBump github.com/jackc/pgx/v4 from 4.18.2 to 4.18.3 - #15581
depsBump github.com/nats-io/nats-server/v2 from 2.10.16 to 2.10.17 - #15603
depsBump github.com/openconfig/goyang from 1.0.0 to 1.5.0 - #15624
depsBump github.com/sijms/go-ora/v2 from 2.8.4 to 2.8.19 - #15585
depsBump github.com/testcontainers/testcontainers-go/modules/kafka from 0.30.0 to 0.31.0 - #15605
depsBump github.com/tinylib/msgp from 1.1.9 to 1.2.0 - #15584
depsBump github.com/urfave/cli/v2 from 2.27.1 to 2.27.2 - #15614
depsBump google.golang.org/grpc from 1.64.0 to 1.64.1 - #15608
depsBump super-linter/super-linter from 6.6.0 to 6.7.0
For versions earlier than v1.13 and earlier see CHANGELOG-1.13.md.
v1.31.1 [2024-07-01]
Bugfixes
- #15488
agentIgnore startup-errors in test mode - #15568
inputs.chronyHandle ServerStats4 response - #15551
inputs.chronySupport local (reference) sources - #15565
inputs.gnmiHandle YANG namespaces in paths correctly - #15496
inputs.http_responseFix for IPv4 and IPv6 addresses when interface is set - #15493
inputs.mysqlHandle custom TLS configs correctly - #15514
loggingAdd back constants for backward compatibility - #15531
secretstores.oauth2Ensure endpoint params is not nil
Dependency Updates
- #15483
depsBump cloud.google.com/go/monitoring from 1.18.1 to 1.19.0 - #15559
depsBump github.com/Azure/azure-kusto-go from 0.15.2 to 0.15.3 - #15489
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.5.1 to 1.6.0 - #15560
depsBump github.com/Azure/go-autorest/autorest/azure/auth from 0.5.12 to 0.5.13 - #15480
depsBump github.com/IBM/sarama from 1.43.1 to 1.43.2 - #15526
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.37.0 to 1.38.7 - #15527
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.30.2 to 1.32.9 - #15558
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.32.9 to 1.33.2 - #15448
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.161.1 to 1.162.1 - #15557
depsBump github.com/go-ldap/ldap/v3 from 3.4.6 to 3.4.8 - #15523
depsBump github.com/linkedin/goavro/v2 from 2.12.0 to 2.13.0 - #15484
depsBump github.com/microsoft/go-mssqldb from 1.7.0 to 1.7.2 - #15561
depsBump github.com/nats-io/nats-server/v2 from 2.10.14 to 2.10.16 - #15524
depsBump github.com/prometheus/common from 0.53.0 to 0.54.0 - #15481
depsBump github.com/prometheus/procfs from 0.15.0 to 0.15.1 - #15482
depsBump github.com/rabbitmq/amqp091-go from 1.9.0 to 1.10.0 - #15525
depsBump go.step.sm/crypto from 0.44.1 to 0.47.1 - #15479
depsBump super-linter/super-linter from 6.5.1 to 6.6.0
v1.31.0 [2024-06-10]
Important Changes
- PR #15186 changes the
meaning of
inputs.procstatfieldsread_bytesandwrite_byteson Linux to now contain all I/O operations for consistency with other operating-systems. The previous values are output asdisk_read_bytesanddisk_write_bytesmeasuring only the I/O on the storage layer.
New Plugins
- #15066
inputs.smartctlsmartctl - #15298
parsers.openmetricsOpenMetrics - #15008
parsers.parquetApache Parquet - #15094
processors.timestampTimestamp
Features
- #15433
agentAdd uint support in cli test output - #15377
agentIntroduce CLI option to set config URL retry attempts - #15388
agentIntroduce CLI option to reload remote URL configs on change - #15030
aggregators.basicstatsAdd last field - #15268
aggregators.finalAdd option to disable appending _final - #15319
aggregators.mergeAllow to round metric timestamps - #15426
cliList available parsers and serializers - #15341
common.opcuaAdd session timeout as configuration option - #15395
input.azure_monitorUse default Azure credentials chain when no secret provided - #15233
inputs.cephUse perf schema to determine metric type - #14992
inputs.dns_queryAllow ignoring errors of specific types - #15400
inputs.execAdd option to ignore return code - #15271
inputs.execdAdd option to not restart program on error - #15330
inputs.fileAdd tag with absolute path of file - #15171
inputs.gnmiAdd keepalive settings - #15278
inputs.gnmiAdd option to create more descriptive tags - #15173
inputs.gnmiAdd secret store support for username and password - #15201
inputs.gnmiAdd yang-model decoding of JSON IETF payloads - #15256
inputs.gnmiAllow to pass accepted cipher suites - #15454
inputs.http_listenerAllow setting custom success return code - #15110
inputs.http_responseAdd cookie authentication - #15438
inputs.influxdbAdd metrics for build, crypto and commandline - #15361
inputs.influxdb_v2_listenerAdd support for rate limiting - #15407
inputs.influxdb_v2_listenerSupport secret store for token - #15329
inputs.internet_speedIntroduce packet loss field - #15368
inputs.kafka_consumerAdd resolve canonical bootstrap server option - #15169
inputs.knx_listenerAdd support for string data type - #15069
inputs.knx_listenerAllow usage of DPT string representation - #15049
inputs.kubernetesAdd option to node metric name - #15044
inputs.lustre2Add eviction_count field - #15042
inputs.lustre2Add health-check metric - #14813
inputs.lustre2Add support for bulk read/write stats - #15045
inputs.lustre2Skip brw_stats in case of insufficient permissions - #15270
inputs.mockAdd baseline option to sine - #15314
inputs.netflowAdd support for IPFIX option packets - #15180
inputs.netflowAdd support for netflow v9 option packets - #15282
inputs.nvidia_smiAdd power-limit field for v12 scheme - #15460
inputs.openstackUse service catalog from v3 authentication if available - #15231
inputs.opentelemetryAdd option to set max receive message size - #15299
inputs.procstatAdd option to select properties to collect - #14948
inputs.procstatAllow multiple selection criteria - #15186
inputs.procstatReport consistent I/O on Linux - #14981
inputs.radiusProvide setting to set request IP address - #15293
inputs.redisAdd latency percentiles metric - #15000
inputs.s7commAdd optional connection type setting - #15439
inputs.snmpConvert octet string with invalid data to hex - #15137
inputs.sqlserverAdd persistent version store metrics - #15380
inputs.statsdAdd support for DogStatsD v1.2 - #15371
inputs.statsdAllow counters to report as float - #15306
inputs.win_eventlogAdd option to define event batch-size - #14973
inputs.win_wmiAdd support for remote queries - #15300
inputs.win_wmiAllow to invoke methods - #15145
inputsAdd framework to retry on startup errors - #15065
outputs.cratedbAllow configuration of startup error handling - #15477
outputs.elasticsearchAllow settings extra headers for elasticsearch output - #15225
outputs.influxdbAdd option to define local address - #15228
outputs.influxdb_v2Add option to set local address - #15475
outputs.influxdb_v2Preserve custom query parameters on write - #15429
outputs.mqttAdd client trace logging, resolve MQTT5 reconnect login - #15041
outputs.postgresqlAdd secret store support - #15073
outputs.postgresqlAllow configuration of startup error handling - #14884
outputsAdd framework to retry on startup errors - #14952
parser.prometheusremotewriteParse and generate histogram buckets - #14961
parsers.binaryAllow base64-encoded input data - #15328
processors.parserAdd base64 decode for fields - #15434
processors.printerEmbed Influx serializer options - #15170
processors.starlarkAllow persistence of global state - #15220
serializers.influxAdd option to omit timestamp - #14975
snmpAdd secret support for auth_password and priv_password
Bugfixes
- #15402
agentWarn on multiple agent configuration tables seen - #15440
inputs.cloudwatchAdd accounts when enabled - #15428
inputs.cloudwatchEnsure account list is larger than index - #15456
inputs.ecsCheck for nil pointer before use - #15401
inputs.postgresql_extensibleUse same timestamp for each gather - #15260
inputs.procstatDo not report dead processes as running for orphan PID files - #15332
inputs.smartctlAdd additional fields - #15466
processors.snmp_lookupReturn empty tag-map on error to avoid panic
Dependency Updates
- #15385
depsBump cloud.google.com/go/storage from 1.40.0 to 1.41.0 - #15446
depsBump github.com/awnumar/memguard from 0.22.4 to 0.22.5 - #15413
depsBump github.com/fatih/color from 1.16.0 to 1.17.0 - #15410
depsBump github.com/jhump/protoreflect from 1.15.6 to 1.16.0 - #15441
depsBump github.com/lxc/incus v0.4.0 to v6.2.0 - #15381
depsBump github.com/miekg/dns from 1.1.58 to 1.1.59 - #15444
depsBump github.com/openzipkin/zipkin-go from 0.4.2 to 0.4.3 - #15412
depsBump github.com/prometheus/common from 0.52.2 to 0.53.0 - #15362
depsBump github.com/showwin/speedtest-go from 1.7.5 to 1.7.6 - #15382
depsBump github.com/showwin/speedtest-go from 1.7.6 to 1.7.7 - #15384
depsBump github.com/snowflakedb/gosnowflake from 1.7.2 to 1.10.0 - #15470
depsBump go from v1.22.3 to v1.22.4 - #15411
depsBump golang.org/x/crypto from 0.22.0 to 0.23.0 - #15447
depsBump golang.org/x/net from 0.24.0 to 0.25.0 - #15383
depsBump k8s.io/* from 0.29.3 to 0.30.1 - #15445
depsBump modernc.org/sqlite from 1.29.10 to 1.30.0 - #15409
depsBump modernc.org/sqlite from 1.29.5 to 1.29.10 - #15386
depsBump super-linter/super-linter from 6.4.1 to 6.5.0 - #15408
depsBump super-linter/super-linter from 6.5.0 to 6.5.1 - #15393
depsSwitch to github.com/leodido/go-syslog - #15403
depsUpdate OpenTelemetry dependencies
v1.30.3 [2024-05-20]
Bugfixes
- #15213
httpStop plugins from leaking file descriptors on telegraf reload - #15312
input.redisDiscard invalid errorstat lines - #15317
inputs.cloudwatchOption to produce dense metrics - #15259
inputs.gnmiEnsure path contains elements to avoid panic - #15239
inputs.http_listener_v2Wrap timestamp parsing error messages - #15323
inputs.netflowLog unknown fields only once - #15212
inputs.sysstatPrevent default sadc_interval from increasing on reload - #15223
makefileUse go's dependency checker for per platform builds - #15224
outputs.graphiteHandle local address without port correctly - #15277
outputs.lokiOption to sanitize label names - #15346
windowsMake sure to log the final error message on exit
Dependency Updates
- #15262
depsBump cloud.google.com/go/bigquery from 1.59.1 to 1.61.0 - #15308
depsBump github.com/Azure/azure-kusto-go from 0.15.0 to 0.15.2 - #15203
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.713 to 1.62.721 - #15349
depsBump github.com/antchfx/xmlquery from 1.3.18 to 1.4.0 - #15263
depsBump github.com/antchfx/xpath from 1.2.5 to 1.3.0 - #15348
depsBump github.com/aws/aws-sdk-go-v2/config from 1.27.9 to 1.27.13 - #15202
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.9 to 1.17.11 - #15350
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.151.1 to 1.161.1 - #15307
depsBump github.com/coocood/freecache from 1.2.3 to 1.2.4 - #15205
depsBump github.com/google/cel-go from 0.18.1 to 0.20.1 - #15276
depsBump github.com/grid-x/modbus from v0.0.0-20211113184042-7f2251c342c9 to v0.0.0-20240503115206-582f2ab60a18 - #15347
depsBump github.com/nats-io/nats-server/v2 from 2.10.9 to 2.10.14 - #15310
depsBump github.com/pion/dtls/v2 from 2.2.10 to 2.2.11 - #15265
depsBump github.com/prometheus/procfs from 0.13.0 to 0.14.0 - #15272
depsBump github.com/shirou/gopsutil/v3 from v3.24.3 to v3.24.4 - #15264
depsBump github.com/testcontainers/testcontainers-go/modules/kafka from 0.26.1-0.20231116140448-68d5f8983d09 to 0.30.0 - #15351
depsBump github.com/vmware/govmomi from 0.37.0 to 0.37.2 - #15327
depsBump go from v1.22.2 to v1.22.3 - #15206
depsBump golang.org/x/mod from 0.16.0 to 0.17.0 - #15266
depsBump golang.org/x/sync from 0.6.0 to 0.7.0 - #15303
depsBump golangci-lint from v1.57.2 to v1.58.0 - #15309
depsBump google.golang.org/api from 0.171.0 to 0.177.0 - #15207
depsBump super-linter/super-linter from 6.3.1 to 6.4.1 - #15316
depsMigrate to maintained gopacket library
v1.30.2 [2024-04-22]
Important Changes
- PR #15108 reverts the
behavior of
inputs.systemd_unitsback to pre-v1.30.0 to only collect units already loaded by systemd, i.e. not collecting disabled or static units. This was necessary because using unspecific filters will cause significant load on the system as systemd needs to read all unit-files matching the pattern in each gather cycle. If you use specific patterns and want to collect non-loaded units, please set thecollect_disabled_unitsoption totrue.
Bugfixes
- #15054
agentEnsure import of required package for pprof support - #15155
inputs.diskioUpdate path from /sys/block to /sys/class/block - #15146
inputs.modbusAvoid overflow when calculating with uint16 addresses - #15144
inputs.nvidiaInclude power limit field for v11 - #15178
inputs.opcuaMake sure to always create a request - #15176
inputs.phpfpmCheck for error before continue processing - #15195
inputs.prometheusCorrectly handle host header - #15078
inputs.prometheusRemove duplicate response_timeout option - #15154
inputs.sqlserverHonor timezone on backup metrics - #15129
inputs.systemd_unitsReconnect if connection is lost - #15108
inputs.systemd_unitsRevert to only gather loaded units by default - #15132
inputs.win_eventlogHandle empty query correctly - #15157
outputs.opensearchCorrectly error during failures or disconnect - #15196
outputs.sqlEnable the use of krb5 with mssql driver - #15168
systemdRemove 5 second timeout, use default (90 seconds)
Dependency Updates
- #15087
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.563 to 1.62.708 - #15163
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.708 to 1.62.713 - #15086
depsBump github.com/apache/iotdb-client-go from 0.12.2-0.20220722111104-cd17da295b46 to 1.2.0-tsbs - #15125
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.36.1 to 1.37.0 - #15164
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.27.1 to 1.27.4 - #15161
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.25.2 to 1.25.5 - #15162
depsBump github.com/go-sql-driver/mysql from 1.7.1 to 1.8.1 - #15084
depsBump github.com/gophercloud/gophercloud from 1.9.0 to 1.11.0 - #15126
depsBump github.com/jackc/pgtype from 1.14.2 to 1.14.3 - #15100
depsBump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 - #15127
depsBump github.com/redis/go-redis/v9 from 9.2.1 to 9.5.1 - #15082
depsBump github.com/shirou/gopsutil from v3.23.11 to v3.24.3 - #15085
depsBump github.com/testcontainers/testcontainers-go from 0.27.0 to 0.29.1 - #15160
depsBump github.com/vmware/govmomi from 0.33.1 to 0.37.0 - #15193
depsBump golang.org/x/net from 0.22.0 to 0.23.0 - #15128
depsBump golang.org/x/oauth2 from 0.18.0 to 0.19.0 - #15124
depsBump k8s.io/client-go from 0.29.2 to 0.29.3 - #15123
depsBump super-linter/super-linter from 6.3.0 to 6.3.1 - #15083
depsBump tj-actions/changed-files from 43 to 44
v1.30.1 [2024-04-01]
Bugfixes
- #14966
inputs.chronyRemove chronyc dependency in documentation - #15003
inputs.diskioAdd missing udev properties - #14979
inputs.dns_queryFill out additional record fields - #15025
inputs.dns_queryInclude the canonical CNAME target - #15007
inputs.knx_listenerIgnore GroupValueRead requests - #14959
inputs.knx_listenerReconnect after connection loss - #15063
inputs.mysqlParse boolean values in metric v1 correctly - #15012
inputs.mysqlUse correct column-types for Percona 8 user stats - #15023
inputs.nvidia_smiAdd process info metrics - #14977
inputs.openstackResolve regression in block storage and server info - #15036
inputs.phpfpmAdd timeout for fcgi - #15011
inputs.pingAdd option to force ipv4 - #15021
inputs.prometheusInitialize logger of parser - #14996
inputs.smartImprove regexp to support flags with a plus - #14987
inputs.systemd_unitsHandle disabled multi-instance units correctly - #14958
outputs.bigqueryAdd scope to bigquery and remove timeout context - #14991
secretsAvoid count underflow by only counting initialized secrets - #15040
windowsEnsure watch-config is passed to Windows service
Dependency Updates
- #15071
depsBump github.com/IBM/sarama from v1.42.2 to v1.43.1 - #15017
depsBump github.com/aws/aws-sdk-go-v2 from 1.25.3 to 1.26.0 - #15058
depsBump github.com/aws/aws-sdk-go-v2/config from 1.27.5 to 1.27.9 - #15060
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.15.2 to 1.16.0 - #14969
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.34.2 to 1.34.3 - #15014
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.149.3 to 1.151.1 - #14971
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.28.2 to 1.28.4 - #15029
depsBump github.com/docker/docker from 25.0.0+incompatible to 25.0.5+incompatible - #15016
depsBump github.com/jackc/pgtype from 1.14.0 to 1.14.2 - #14978
depsBump github.com/jackc/pgx/v4 from 4.18.1 to 4.18.2 - #14968
depsBump github.com/klauspost/compress from 1.17.6 to 1.17.7 - #14967
depsBump github.com/pion/dtls/v2 from 2.2.8 to 2.2.10 - #15059
depsBump github.com/prometheus-community/pro-bing from 0.3.0 to 0.4.0 - #14970
depsBump github.com/prometheus/procfs from 0.12.0 to 0.13.0 - #15009
depsBump github.com/stretchr/testify v1.8.4 to v1.9.0 - #15061
depsBump go.step.sm/crypto from 0.43.0 to 0.44.1 - #15018
depsBump golang.org/x/crypto from 0.20.0 to 0.21.0 - #15015
depsBump gonum.org/v1/gonum from 0.14.0 to 0.15.0 - #15057
depsBump google.golang.org/api from 0.165.0 to 0.171.0 - #14989
depsBump google.golang.org/protobuf from 1.32.0 to 1.33.0 - #15013
depsBump tj-actions/changed-files from 42 to 43
v1.30.0 [2024-03-11]
Deprecation Removals
This release removes the following deprecated plugins:
inputs.cassandrain #14859inputs.httpjsonin #14860inputs.ioin #14861inputs.jolokiain #14862inputs.kafka_consumer_legacyin #14863inputs.snmp_legacyin #14864inputs.tcp_listenerin #14865inputs.udp_listenerin #14866outputs.riemann_legacyin #14867
Furthermore, the following deprecated plugin options are removed:
mountpointsofinputs.diskin #14913metric_bufferofinputs.mqtt_consumerin #14914metric_bufferofinputs.nats_consumerin #14915urlofoutputs.influxdbin #14916
Replacements do exist, so please migrate your configuration in case you are
still using one of those plugins. The telegraf config migrate command might
be able to assist with the procedure.
Important Changes
- The default read-timeout of
inputs.syslogof five seconds is not a sensible default as the plugin will close the connection if the time between consecutive messages exceeds the timeout. #14837 sets the timeout to infinite (i.e zero) as this is the expected behavior. - With correctly sanitizing PostgreSQL addresses (PR #14829)
the
servertag value for a URI-format address might change in case it contains spaces, backslashes or single-quotes in non-redacted parameters.
New Plugins
- #13739
outputs.zabbixAdd Zabbix plugin - #14474
serializers.binaryAdd binary serializer - #14223
processors.snmp_lookupAdd SNMP lookup processor
Features
- #14491 Add loongarch64 nightly and release builds
- #14882
agentAdd option to skip re-running processors after aggregators - #14676
common.opcuaAdd debug info for nodes not in server namespace - #14743
httpAllow secrets in headers - #14806
inputs.aerospikeDeprecate plugin - #14872
inputs.amd_rocm_smiAdd startup_error_behavior config option - #14673
inputs.chronyAllow to collect additional metrics - #14629
inputs.chronyRemove chronyc dependency - #14585
inputs.kafka_consumerMark messages that failed parsing - #14507
inputs.kernelAdd Pressure Stall Information - #14764
inputs.modbusAdd workaround for unusual string-byte locations - #14625
inputs.netAdd speed metric - #14680
inputs.nvidia_smiAdd startup_error_behavior config option - #14424
inputs.prometheusAdd internal metrics - #14661
inputs.prometheusAdd option to limit body length - #14702
inputs.redfishAllow secrets for username/password configuration - #14613
inputs.smartAdd a device_type tag to differentiate disks behind a RAID controller - #14792
inputs.sqlserverAdd stolen target memory ratio - #14814
inputs.systemd_unitsAllow to query unloaded/disabled units - #14539
inputs.systemd_unitsIntroduce show subcommand for additional data - #14684
inputs.win_servicesMake service selection case-insensitive - #14628
outputs.graphiteAllow to set the local address to bind - #14236
outputs.natsIntroduce NATS Jetstream option - #14658
outputs.nebius_cloud_monitoringAdd service configuration setting - #14836
outputs.websocketAllow specifying secrets in headers - #14870
serializers.csvAllow specifying fixed column order
Bugfixes
- #14840
agentCatch panics in inputs goroutine - #14858
configReword error message about missing config option - #14874
inputs.docker_logUse correct name when matching container - #14951
inputs.gnmiAdd option to guess path tag from subscription - #14953
inputs.gnmiHandle canonical field-name correctly - #14910
inputs.netflowFallback to IPFIX mappings for Netflow v9 - #14852
inputs.phpfpmContinue despite erroneous sockets - #14871
inputs.prometheusList namespaces only when filtering by namespace - #14606
parsers.prometheusDo not touch input data for protocol-buffers - #14880
processors.overrideCorrect TOML tag name - #14937
statefileEnsure valid statefile in package
Dependency Updates
- #14931
depsBump all github.com/aws/aws-sdk-go-v2 dependencies - #14894
depsBump cloud.google.com/go/bigquery from 1.58.0 to 1.59.1 - #14932
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.27.0 to 1.30.2 - #14949
depsBump github.com/cloudevents/sdk-go/v2 from 2.15.0 to 2.15.2 - #14929
depsBump github.com/eclipse/paho.golang from 0.20.0 to 0.21.0 - #14892
depsBump github.com/microsoft/go-mssqldb from 1.6.0 to 1.7.0 - #14923
depsBump github.com/netsampler/goflow2 from v1.3.6 to v2.1.2 - #14895
depsBump github.com/peterbourgon/unixtransport from 0.0.3 to 0.0.4 - #14933
depsBump github.com/prometheus/client_model from 0.5.0 to 0.6.0 - #14857
depsBump github.com/srebhan/cborquery from v0.0.0-20230626165538-38be85b82316 to v1.0.1 - #14918
depsBump github.com/vapourismo/knx-go from v0.0.0-20240107135439-816b70397a00 to v0.0.0-20240217175130-922a0d50c241 - #14893
depsBump go.mongodb.org/mongo-driver from 1.13.1 to 1.14.0 - #14891
depsBump golang.org/x/crypto from 0.19.0 to 0.20.0 - #14930
depsBump modernc.org/sqlite from 1.28.0 to 1.29.2 - #14897
depsBump super-linter/super-linter from 6.1.1 to 6.2.0 - #14934
depsBump super-linter/super-linter from 6.2.0 to 6.3.0
v1.29.5 [2024-02-20]
Bugfixes
- #14669
inputs.filecountRespect symlink files with FollowSymLinks - #14838
inputs.gnmiNormalize path for inline origin handling - #14679
inputs.kafka_consumerFix typo of msg_headers_as_tags - #14707
inputs.postgresql_extensibleAdd support for bool tags - #14659
inputs.redfishResolve iLO4 fan data - #14665
inputs.snmp_trapEnable SHA ciphers - #14635
inputs.vsphereUse guest.guestId value if set for guest name - #14752
outputs.mqttRetry metrics for server timeout - #14770
processors.execdAccept tracking metrics instead of dropping them - #14832
processors.unpivotHandle tracking metrics correctly - #14654
rpmEnsure telegraf is installed after useradd
Dependency Updates
- #14690
depsBump cloud.google.com/go/bigquery from 1.57.1 to 1.58.0 - #14772
depsBump cloud.google.com/go/pubsub from 1.33.0 to 1.36.1 - #14819
depsBump cloud.google.com/go/storage from 1.36.0 to 1.38.0 - #14688
depsBump github.com/Azure/azure-event-hubs-go/v3 from 3.6.1 to 3.6.2 - #14845
depsBump github.com/DATA-DOG/go-sqlmock from 1.5.0 to 1.5.2 - #14820
depsBump github.com/IBM/sarama from 1.42.1 to 1.42.2 - #14774
depsBump github.com/awnumar/memguard from 0.22.4-0.20231204102859-fce56aae03b8 to 0.22.4 - #14687
depsBump github.com/cloudevents/sdk-go/v2 from 2.14.0 to 2.15.0 - #14769
depsBump github.com/eclipse/paho.golang from 0.11.0 to 0.20.0 - #14775
depsBump github.com/google/uuid from 1.5.0 to 1.6.0 - #14686
depsBump github.com/gopcua/opcua from 0.4.0 to 0.5.3 - #14848
depsBump github.com/gophercloud/gophercloud from 1.7.0 to 1.9.0 - #14755
depsBump github.com/gwos/tcg/sdk from v0.0.0-20220621192633-df0eac0a1a4c to v8.7.2 - #14816
depsBump github.com/jhump/protoreflect from 1.15.4 to 1.15.6 - #14773
depsBump github.com/klauspost/compress from 1.17.4 to 1.17.6 - #14817
depsBump github.com/miekg/dns from 1.1.57 to 1.1.58 - #14766
depsBump github.com/showwin/speedtest-go from 1.6.7 to 1.6.10 - #14765
depsBump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1 - #14818
depsBump go.opentelemetry.io/collector/pdata from 1.0.1 to 1.1.0 - #14768
depsBump golang.org/x/oauth2 from 0.16.0 to 0.17.0 - #14849
depsBump google.golang.org/api from 0.162.0 to 0.165.0 - #14847
depsBump google.golang.org/grpc from 1.61.0 to 1.61.1 - #14689
depsBump k8s.io/apimachinery from 0.29.0 to 0.29.1 - #14767
depsBump k8s.io/client-go from 0.29.0 to 0.29.1 - #14846
depsBump k8s.io/client-go from 0.29.1 to 0.29.2 - #14850
depsBump super-linter/super-linter from 6.0.0 to 6.1.1 - #14771
depsBump tj-actions/changed-files from 41 to 42 - #14757
depsGet rid of golang.org/x/exp and use stable versions instead - #14753
depsUse github.com/coreos/go-systemd/v22 instead of git version
v1.29.4 [2024-01-31]
Bugfixes
- #14619
inputs.snmp_trapHandle octet strings - #14649
inputs.tempFix regression in metric formats - #14655
processors.parserDrop tracking metrics when not carried forward
Dependency Updates
- #14651
depsBump all AWS dependencies - #14642
depsBump github.com/compose-spec/compose-go from 1.20.0 to 1.20.2 - #14641
depsBump github.com/gosnmp/gosnmp from 1.36.1 to 1.37.0 - #14643
depsBump github.com/microsoft/go-mssqldb from 1.5.0 to 1.6.0 - #14644
depsBump github.com/nats-io/nats-server/v2 from 2.10.6 to 2.10.9 - #14640
depsBump github.com/yuin/goldmark from 1.5.6 to 1.6.0
v1.29.3 [2024-01-29]
Bugfixes
- #14627
common.encodingRemove locally-defined errors and use upstream ones - #14553
inputs.gnmiRefactor alias handling to prevent clipping - #14575
inputs.tempRecover pre-v1.22.4 temperature sensor readings - #14526
inputs.win_perf_countersCheck errors post-collection for skip - #14570
inputs.win_perf_countersIgnore PdhCstatusNoInstance as well - #14519
outputs.iotdbHandle paths that contain illegal characters - #14604
outputs.lokiDo not close body before reading it - #14582
outputs.mqttPreserve leading slash in topic
Dependency Updates
- #14578
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.29.5 to 1.31.0 - #14576
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.26.5 to 1.26.7 - #14577
depsBump github.com/clarify/clarify-go from 0.2.4 to 0.3.1 - #14607
depsBump github.com/docker/docker from 24.0.7+incompatible to 25.0.0+incompatible - #14545
depsBump github.com/docker/go-connections from 0.4.0 to 0.5.0 - #14609
depsBump github.com/fatih/color from 1.15.0 to 1.16.0 - #14546
depsBump github.com/gorilla/mux from 1.8.0 to 1.8.1 - #14562
depsBump github.com/intel/powertelemetry from 1.0.0 to 1.0.1 - #14611
depsBump github.com/nats-io/nats.go from 1.31.0 to 1.32.0 - #14544
depsBump github.com/prometheus/common from 0.44.0 to 0.45.0 - #14608
depsBump github.com/testcontainers/testcontainers-go from 0.26.0 to 0.27.0 - #14573
depsBump github.com/vapourismo/knx-go from v0.0.0-20220829185957-fb5458a5389d to 20240107135439-816b70397a00 - #14574
depsBump go.opentelemetry.io/collector/pdata from 1.0.0-rcv0016 to 1.0.1 - #14541
depsBump go.starlark.net from go.starlark.net v0.0.0-20220328144851-d1966c6b9fcd to v0.0.0-20231121155337-90ade8b19d09 - #14543
depsBump k8s.io/client-go from 0.28.3 to 0.29.0 - #14610
depsBump modernc.org/sqlite from 1.24.0 to 1.28.0
v1.29.2 [2024-01-08]
Bugfixes
- #14522
common.kafkaCorrectly set gssapi username/password - #14462
inputs.phpfpmAdd pid field to differentiate metrics - #14489
inputs.phpfpmUse logger without causing panic - #14493
inputs.procstatCorrectly set tags on procstat_lookup - #14447
inputs.upsdAdd additional fields to upsd from NUT - #14463
inputs.vsphereResolve occasional serverFault - #14458
outputs.bigqueryIgnore fields containing NaN or infinity - #14481
outputs.influxdbSupport setting Host header - #14481
outputs.influxdb_v2Support setting Host header - #14471
outputs.prometheus_clientAlways default to TCP - #14460
processors.filterRename processors.Filter -> processors.filter - #14523
processors.starlarkUse tracking ID to identify tracking metrics - #14517
systemdAllow notify access from all
Dependency Updates
- #14525
depsBump collectd.org from v0.5.0 to v0.6.0 - #14506
depsBump github.com/Azure/azure-kusto-go from 0.13.1 to 0.15.0 - #14483
depsBump github.com/containerd/containerd from 1.7.7 to 1.7.11 - #14476
depsBump github.com/djherbis/times from 1.5.0 to 1.6.0 - #14496
depsBump github.com/dvsekhvalnov/jose2go from v1.5.0 to v1.5.1-0.20231206184617-48ba0b76bc88 - #14478
depsBump github.com/google/uuid from 1.4.0 to 1.5.0 - #14477
depsBump github.com/jhump/protoreflect from 1.15.3 to 1.15.4 - #14504
depsBump github.com/pion/dtls/v2 from 2.2.7 to 2.2.8 - #14503
depsBump github.com/prometheus/prometheus from 0.48.0 to 0.48.1 - #14515
depsBump github.com/sijms/go-ora/v2 from 2.7.18 to 2.8.4 - #14475
depsBump go.mongodb.org/mongo-driver from 1.12.1 to 1.13.1 - #14480
depsBump golang.org/x/crypto from 0.16.0 to 0.17.0 - #14479
depsBump golang.org/x/net from 0.17.0 to 0.19.0 - #14505
depsBump google.golang.org/protobuf from 1.31.1-0.20231027082548-f4a6c1f6e5c1 to 1.32.0
v1.29.1 [2023-12-13]
Bugfixes
- #14443
inputs.clickhouseOmit zookeeper metrics on clickhouse cloud - #14430
inputs.php-fpmParse JSON output - #14440
inputs.procstatRevert unintended renaming of systemd_unit option
Dependency Updates
- #14435
depsBump github.com/go-ldap/ldap/v3 from 3.4.5 to 3.4.6 - #14433
depsBump github.com/klauspost/compress from 1.17.3 to 1.17.4 - #14432
depsBump github.com/openzipkin/zipkin-go from 0.4.1 to 0.4.2 - #14431
depsBump github.com/tidwall/gjson from 1.14.4 to 1.17.0 - #14441
depsUpdate all github.com/aws/aws-sdk-go-v2 dependencies
v1.29.0 [2023-12-11]
Important Changes
- Removed useless, all-zero fields in
inputs.procstat. Up to now, Telegraf reports the fieldscpu_time_guest,cpu_time_guest_nice,cpu_time_idle,cpu_time_irq,cpu_time_nice,cpu_time_soft_irqandcpu_time_stealwhich are never set by the underlying library. As a consequence those fields were always zero. #14224 removes those useless fields. In case you reference them, please adapt your queries!
New Plugins
- #13995
inputs.ldapAdd LDAP input plugin supporting OpenLDAP and 389ds - #11958
outputs.opensearchAdd OpenSearch output plugin - #14330
processors.filterAdd filter processor plugin - #13657
secretstoresAdd systemd-credentials plugin
Features
- #14361
agentAllow separators for namepass and namedrop filters - #14062
aggregators.finalAllow to specify output strategy - #14103
common.httpAdd support for connecting over unix-socket - #14345
common.opcuaAdd option to include OPC-UA DataType as a field - #14012
configDeprecatefieldpassandfielddropmodifiers - #14004
input.intel_pmtAdd pci_bdf tag to uniquely identify GPUs and other peripherals - #14001
inputs.amqp_consumerAdd secretstore support for username and password - #13894
inputs.dockerAdd disk usage - #14308
inputs.dpdkAdd options to customize error-behavior and metric layout - #14207
inputs.elasticsearchUse HTTPClientConfig struct - #14207
inputs.elasticsearch_queryUse HTTPClientConfig struct - #14091
inputs.gnmiRework plugin - #14189
inputs.http_responseAdd body form config option - #14363
inputs.intel_powerstatExtract business logic to external library - #13924
inputs.kafka_consumerAdd message headers as metric tags - #14320
inputs.kafka_consumerAdd option to set metric name from message header - #14207
inputs.kibanaUse HTTPClientConfig struct - #13993
inputs.kube_inventorySupport filtering pods and nodes by node name - #13996
inputs.kube_inventorySupport using kubelet to get pods data - #14092
inputs.ldapCollect additional fields - #14207
inputs.logstashUse HTTPClientConfig struct - #14145
inputs.modbusAdd support for string fields - #14375
inputs.nats_consumerAdd nkey-seed-file authentication - #13923
inputs.opcua_listenerAdd monitoring params - #14214
inputs.openweathermapAdd per-city query scheme for current weather - #13417
inputs.procstatObtain process information through supervisor - #13991
inputs.rabbitmqAdd secretstore support for username and password - #14143
inputs.redfishAllow specifying which metrics to collect - #14111
inputs.snmpHint to use source tag - #14172
inputs.socket_listenerAdd vsock support to socket listener and writer - #13978
inputs.sqlAdd Oracle driver - #14200
inputs.sqlAdd IBM Netezza driver - #14073
inputs.win_serviceReduce required rights to GENERIC_READ - #14401
migrationsAdd migration for fieldpass and fielddrop - #14114
migrationsAdd migration for inputs.jolokia - #14122
migrationsAdd migration for inputs.kafka_consumer_legacy - #14123
migrationsAdd migration for inputs.snmp_legacy - #14119
migrationsAdd migration for inputs.tcp_listener - #14120
migrationsAdd migration for inputs.udp_listener - #14121
migrationsAdd migration for outputs.riemann_legacy - #14141
migrationsAdd option migration for inputs.disk - #14233
migrationsAdd option migration for inputs.mqtt_consumer - #14234
migrationsAdd option migration for inputs.nats_consumer - #14341
migrationsAdd option migration for outputs.influxdb - #14047
outputs.azure_data_explorerSet user agent string - #14342
outputs.bigqueryAllow to add metrics in one compact table - #14086
outputs.bigqueryMake project no longer a required field - #13672
outputs.execAdd ability to exec command once per metric - #14108
outputs.prometheus_clientSupport listening on vsock - #14172
outputs.socket_writerAdd vsock support to socket listener and writer - #14017
outputs.stackdriverAdd metric type config options - #14275
outputs.stackdriverEnable histogram support - #14136
outputs.wavefrontUse common/http to configure http client - #13903
parsers.avroAllow connection to https schema registry - #13914
parsers.avroGet metric name from the message field - #13945
parsers.avroSupport multiple modes for union handling - #14065
processors.dedupAdd state persistence between runs - #13971
processors.regexAllow batch transforms using named groups - #13998
secretsAdd unprotected secret implementation
Bugfixes
- #14331
common.oauthInitialize EndpointParams to avoid panic with audience settings - #14350
inputs.httpUse correct token variable - #14420
inputs.intel_powerstatFix unit tests to work on every CPU/platform - #14388
inputs.modbusSplit large request correctly at field borders - #14373
inputs.netflowHandle malformed inputs gracefully - #14394
inputs.s7commReconnect if query fails - #14357
inputs.tailRetry opening file after permission denied - #14419
licenseCorrect spelling of jmhodges/clock license - #14416
outputs.bigqueryCorrect use of auto-detected project ID - #14340
outputs.opensearchExpose TLS setting correctly - #14021
outputs.opensearchMigrate to new secrets API - #14232
outputs.prometheus_clientEnsure v1 collector data expires promptly - #13961
parsers.avroClean up Warnf error wrapping error - #13939
parsers.avroAttempt to read CA cert file only if filename is not empty string - #14351
parsers.json v2Correct wrong name of config option - #14344
parsers.json_v2Reset state before parsing - #14395
processors.starlarkAvoid negative refcounts for tracking metrics - #14137
processors.starlarkMaintain tracking information post-apply
Dependency Updates
- #14352
depsBump cloud.google.com/go/bigquery from 1.56.0 to 1.57.1 - #14324
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.26.0 to 1.27.2 - #14323
depsBump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor from 0.10.1 to 0.10.2 - #14354
depsBump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitor from 0.10.2 to 0.11.0 - #14355
depsBump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources from 1.1.1 to 1.2.0 - #14382
depsBump github.com/golang-jwt/jwt/v5 from 5.0.0 to 5.2.0 - #14385
depsBump github.com/IBM/sarama from 1.41.3 to 1.42.1 - #14384
depsBump github.com/influxdata/tail from 1.0.1-0.20210707231403-b283181d1fa7 to 1.0.1-0.20221130111531-19b97bffd978 - #14383
depsBump github.com/jackc/pgconn from 1.14.0 to 1.14.1 - #14386
depsBump github.com/nats-io/nats-server/v2 from 2.9.23 to 2.10.6 - #14321
depsBump github.com/prometheus/prometheus from 0.46.0 to 0.48.0 - #14325
depsBump github.com/vmware/govmomi from 0.32.0 to 0.33.1 - #14353
depsBump golang.org/x/text from 0.13.0 to 0.14.0 - #14322
depsBump k8s.io/api from 0.28.3 to 0.28.4 - #14349
depsPoint kafka dependency to IBM organization
v1.28.5 [2023-11-15]
Bugfixes
- #14294
inputs.ecsCorrect v4 metadata URLs - #14274
inputs.intel_rdtDo not fail on missing PIDs - #14283
inputs.s7commTruncate strings to reported length - #14296
parsers.json_v2Log inner errors
Dependency Updates
- #14287
depsBump github.com/gosnmp/gosnmp from 1.35.1-0.20230602062452-f30602b8dad6 to 1.36.1 - #14286
depsBump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1 - #14285
depsBump golang.org/x/sync from 0.4.0 to 0.5.0 - #14289
depsBump golang.org/x/mod from 0.13.0 to 0.14.0 - #14288
depsBump google.golang.org/api from 0.149.0 to 0.150.0
v1.28.4 [2023-11-13]
Bugfixes
- #14240
configFix comment removal in TOML files - #14187
inputs.cgroupEscape backslashes in path - #14267
inputs.diskAdd inodes_used_percent field - #14197
inputs.ecsFix cgroupv2 CPU metrics - #14194
inputs.ecsTest for v4 metadata endpoint - #14262
inputs.ipsetParse lines with timeout - #14243
inputs.mqtt_consumerResolve could not mark message delivered - #14195
inputs.netflowFix sFlow metric timestamp - #14191
inputs.prometheusRead bearer token from file every time - #14068
inputs.s7commFix bit queries - #14241
inputs.win_perf_counterDo not rely on returned buffer size - #14176
inputs.zfsParse metrics correctly on FreeBSD 14 - #14280
inputs.zfsSupport gathering metrics on zfs 2.2.0 and later - #14115
outputs.elasticsearchPrint error status value - #14213
outputs.timestreamClip uint64 values - #14149
parsers.json_v2Prevent race condition in parse function
Dependency Updates
- #14253
depsBump cloud.google.com/go/storage from 1.30.1 to 1.34.1 - #14218
depsBump github.com/aws/aws-sdk-go-v2/config from 1.18.42 to 1.19.1 - #14167
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.13.40 to 1.13.43 - #14249
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.23.5 to 1.26.0 - #14166
depsBump github.com/antchfx/xmlquery from 1.3.17 to 1.3.18 - #14217
depsBump github.com/antchfx/xpath from 1.2.5-0.20230505064641-588960cceeac to 1.2.5 - #14219
depsBump github.com/benbjohnson/clock from 1.3.3 to 1.3.5 - #14216
depsBump github.com/compose-spec/compose-go from 1.16.0 to 1.20.0 - #14211
depsBump github.com/docker/docker from 24.0.6 to 24.0.7 - #14164
depsBump github.com/hashicorp/consul/api from 1.24.0 to 1.25.1 - #14251
depsBump github.com/hashicorp/consul/api from 1.25.1 to 1.26.1 - #14225
depsBump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 - #14168
depsBump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 - #14252
depsBump github.com/rabbitmq/amqp091-go from 1.8.1 to 1.9.0 - #14250
depsBump github.com/showwin/speedtest-go from 1.6.6 to 1.6.7 - #14192
depsBump google.golang.org/grpc from 1.58.2 to 1.58.3 - #14165
depsBump k8s.io/client-go from 0.28.2 to 0.28.3
v1.28.3 [2023-10-23]
Bugfixes
- #14049
inputs.infinibandHandle devices without counters - #14105
inputs.jenkinsFilter after searching sub-folders - #14132
inputs.jolokia2_agentTrim quotes around tags - #14041
inputs.mqttReference correct password variable - #14010
inputs.postgresql_extensibleRestore default db name - #14045
inputs.s7commAllow PDU-size to be set as config option - #14153
inputs.vaultUse http client to handle redirects correctly - #14131
metricpassUse correct logic expression in benchmark - #14154
outputs.kafkaSimplify send-error handling - #14135
outputs.nebius_cloud_monitoringUse correct endpoint - #14060
outputs.redistimeseriesHandle string fields correctly - #14150
serializers.jsonAppend newline for batch-serialization
Dependency Updates
- #14036
depsBump github.com/apache/arrow/go/v13 from 13.0.0-git to 13.0.0 - #14125
depsBump github.com/google/cel-go from 0.14.1-git to 0.18.1 - #14127
depsBump github.com/google/go-cmp from 0.5.9 to 0.6.0 - #14085
depsBump github.com/jhump/protoreflect from 1.15.1 to 1.15.3 - #14039
depsBump github.com/klauspost/compress from 1.16.7 to 1.17.0 - #14077
depsBump github.com/miekg/dns from 1.1.55 to 1.1.56 - #14124
depsBump github.com/nats-io/nats.go from 1.28.0 to 1.31.0 - #14146
depsBump github.com/nats-io/nats-server/v2 from 2.9.9 to 2.9.23 - #14037
depsBump github.com/netsampler/goflow2 from 1.3.3 to 1.3.6 - #14040
depsBump github.com/signalfx/golib/v3 from 3.3.50 to 3.3.53 - #14076
depsBump github.com/testcontainers/testcontainers-go from 0.22.0 to 0.25.0 - #14038
depsBump github.com/yuin/goldmark from 1.5.4 to 1.5.6 - #14075
depsBump golang.org/x/mod from 0.12.0 to 0.13.0 - #14095
depsBump golang.org/x/net from 0.15.0 to 0.17.0 - #14074
depsBump golang.org/x/oauth2 from 0.11.0 to 0.13.0 - #14078
depsBump gonum.org/v1/gonum from 0.13.0 to 0.14.0 - #14126
depsBump google.golang.org/api from 0.139.0 to 0.147.0
v1.28.2 [2023-10-02]
Bugfixes
- #13963
inputs.cisco_telemetry_mdtPrint string message on decode failure - #13937
inputs.execClean up grandchildren processes - #13977
inputs.intel_pmtHandle telem devices without numa_node attribute - #13958
inputs.jti_openconfig_telemetryDo not block gRPC dial - #13997
inputs.mockAlign plugin with documentation - #13982
inputs.nfsclientAvoid panics, better error messages - #13962
inputs.nvidia_smiAdd legacy power readings to v12 schema - #14011
inputs.openstackHandle dependencies between enabled services and available endpoints - #13972
inputs.postgresql_extensibleRestore outputaddress behavior - #13927
inputs.smartRemove parsing error message - #13915
inputs.systemd_unitsAdd missing upstream states - #13930
outputs.cloudwatchIncrease number of metrics per write - #14009
outputs.stackdriverDo not shallow copy map - #13931
outputs.stackdriverDrop metrics on InvalidArgument gRPC error - #14008
parsers.json_v2Handle optional fields properly - #13947
processors.templateHandle tracking metrics correctly
Dependency Updates
- #13941
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.470 to 1.62.563 - #13988
depsBump github.com/aws/aws-sdk-go-v2/config from 1.18.27 to 1.18.42 - #13943
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.20.9 to 1.23.5 - #13986
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.80.1 to 1.120.0 - #13987
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.13.8 to 1.13.11 - #13985
depsBump github.com/eclipse/paho.mqtt.golang from 1.4.2 to 1.4.3 - #13989
depsBump github.com/google/uuid from 1.3.0 to 1.3.1 - #13942
depsBump github.com/shirou/gopsutil/v3 from 3.23.6 to 3.23.8 - #14022
depsBump github.com/vmware/govmomi from 0.28.0 to 0.32.0 - #13940
depsBump golang.org/x/net from 0.14.0 to 0.15.0 - #13944
depsBump k8s.io/api from 0.28.1 to 0.28.2
v1.28.1 [2023-09-12]
Bugfixes
- #13909
packagingRevert permission change on package configs - #13910
inputs.redisFix password typo - #13907
inputs.vsphereFix config name typo in example
v1.28.0 [2023-09-11]
Important Changes
- #13791
metricpassRemoved the Python compatibility support for "not", "and", and "or" keywords. This support was incorrectly removing these keywords from actual data. Users should instead use the standard "!", "&&", and "||" operators. - #13856
parsers.avroThe avro processor will no longer create a timestamp field by default unless explicitly provided in the parser config. - #13778
packagingThe default permissions on/etc/telegraf/telegraf.confand/etc/telegraf/telegraf.don new installs will drop read access for other. Updates and upgrades do not change permissions.
New Plugins
- #13801
inputs.intel_pmtIntel PMT - #13731
inputs.s7commS7comm - #12747
inputs.tacacsTacacs - #13785
processors.splitSplit metrics - #13621
secretstores.oauth2OAuth2 services - #13656
serializers.templateTemplate based serializer
Features
- #13605
agentAdd option to avoid filtering of global tags - #13774
agentWatch default config files if none specified - #13787
cliAdd plugins subcommand to list available and deprecated - #13496
inputs.amqp_consumerAdd support to rabbitmq stream queue - #13877
inputs.cisco_telemetry_mdtAdd microbust support - #13825
inputs.couchbaseAdd failover metrics - #13452
inputs.fail2banAllow specification of socket - #13754
inputs.fibaroSupport HC3 device types - #13622
inputs.httpRework token options - #13610
inputs.influxdb_listenerAdd token based authentication - #13793
inputs.internalAdd Go metric collection option - #13649
inputs.jenkinsAdd option for node labels as tag - #13709
inputs.jti_openconfig_telemetryAdd keep-alive setting - #13728
inputs.kernelCollect KSM metrics - #13507
inputs.modbusAdd per-metric configuration style - #13733
inputs.nvidia_smiAdd Nvidia DCGM MIG usage values - #13783
inputs.nvidia_smiAdd additional fields - #13678
inputs.nvidia_smiSupport newer data schema versions - #13443
inputs.openstackGather cinder services - #13846
inputs.opentelemetryAdd configurable log record dimensions - #13436
inputs.pgbouncerAdd show_commands to select the collected pgbouncer metrics - #13620
inputs.postgresql_extensibleIntroduce max_version for query - #13505
inputs.procstatAdd status field - #13624
inputs.prometheusAlways apply kubernetes label and field selectors - #13433
inputs.ravendbAdd new disk metrics fields - #13727
inputs.redfishAdd additional chassis tags - #13866
inputs.redisAdd additional commandstat fields - #13723
inputs.redisSupport of redis 6.2 ERRORSTATS - #13864
inputs.redis_sentinelAllow username and password - #13699
inputs.solrSupport version 7.x to 9.3 - #13448
inputs.sqlserverAdd IsHadrEnabled server property - #13890
inputs.vsphereAllow to set vSAN sampling interval - #13720
inputs.vsphereSupport explicit proxy setting - #13471
internalAdd gather_timeouts metric - #13423
internalAdd zstd to internal content_coding - #13411
kafkaSet and send SASL extensions - #13532
migrationsAdd migration for inputs.httpjson - #13536
migrationsAdd migration for inputs.io - #13673
outputs.execdAdd option for batch format - #13245
outputs.fileAdd compression - #13651
outputs.httpAllow PATCH method - #13763
outputs.postgresqlAdd option to create time column with timezone - #13750
outputs.postgresqlAdd option to rename time column - #13899
outputs.prometheus_clientAdd secretstore support for basic_password - #13857
outputs.wavefrontAdd more auth options and update SDK - #13607
parsers.avroAdd support for JSON format - #13419
parsers.influxAllow a user to set the timestamp precision - #13506
parsers.valueAdd support for automatic fallback for numeric types - #13480
parsers.xpathAdd Concise Binary Object Representation parser - #13690
parsers.xpathAdd option to store fields as base64 - #13553
processors.parserAllow also non-string fields - #13606
processors.templateUnify template metric - #13874
prometheusAllow to specify metric type
Bugfixes
- #13849 Change the systemd KillMode from control-group to mixed
- #13777
inputs.amqp_consumerPrint error on connection failure - #13886
inputs.kafka_consumerUse per-message parser to avoid races - #13840
inputs.opcuaVerify groups or root nodes included in config - #13602
inputs.postgresqlFix default database definition - #13779
inputs.procstatCollect swap via /proc/$pid/smaps - #13870
inputs.sqlserverCast max_size to bigint - #13833
inputs.sysstatRemove tmpfile to avoid file-descriptor leak - #13791
metricpassRemove python logic compatibility - #13875
outputs.sqlMove conversion_style config option to the right place - #13856
parsers.avroDo not force addition of timestamp as a field - #13855
parsers.avroHandle timestamp format checking correctly - #13865
sqlAllow sqlite on Windows (amd64 and arm64)
Dependency Updates
- #13808
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.18.2 to 1.18.5 - #13811
depsBump github.com/hashicorp/consul/api from 1.20.0 to 1.24.0 - #13809
depsBump github.com/nats-io/nats.go from 1.27.0 to 1.28.0 - #13765
depsBump github.com/prometheus/prometheus from 0.42.0 to 0.46.0 - #13895
depsBump github.com/showwin/speedtest-go from 1.6.2 to 1.6.6 - #13810
depsBump k8s.io/api from 0.27.4 to 0.28.1
v1.27.4 [2023-08-21]
Bugfixes
- #13693
inputs.cisco_telemetry_mdtFix MDT source field overwrite - #13682
inputs.opcuaRegister node IDs again on reconnect - #13742
inputs.opcua_listenerAvoid segfault when subscription was not successful - #13745
outputs.stackdriverRegenerate time interval for unknown metrics - #13719
parsers.xpathHandle protobuf maps correctly - #13722
serializers.nowmetricAdd option for JSONv2 format
Dependency Updates
- #13766
depsBump cloud.google.com/go/pubsub from 1.32.0 to 1.33.0 - #13767
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.13.26 to 1.13.32 - #13703
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.13.4 to 1.13.7 - #13702
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.17.14 to 1.18.0 - #13769
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.18.0 to 1.18.2 - #13734
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.19.3 to 1.21.2 - #13735
depsBump github.com/gophercloud/gophercloud from 1.2.0 to 1.5.0 - #13737
depsBump github.com/microsoft/go-mssqldb from 1.3.1-0.20230630170514-78ad89164253 to 1.5.0 - #13768
depsBump github.com/miekg/dns from 1.1.51 to 1.1.55 - #13706
depsBump github.com/openconfig/gnmi from 0.9.1 to 0.10.0 - #13705
depsBump github.com/santhosh-tekuri/jsonschema/v5 from 5.3.0 to 5.3.1 - #13736
depsBump go.mongodb.org/mongo-driver from 1.11.6 to 1.12.1 - #13738
depsBump golang.org/x/oauth2 from 0.10.0 to 0.11.0 - #13704
depsBump google.golang.org/api from 0.129.0 to 0.134.0
v1.27.3 [2023-07-31]
Bugfixes
- #13614
agentRespect processor order in file - #13675
configHandle escaping and quotation correctly - #13671
configSetup logger for secret-stores - #13646
inputs.dockerAdd restart count - #13647
inputs.jti_openconfig_telemetryReauthenticate connection on reconnect - #13663
inputs.mqtt_consumerAdd client trace logs via option - #13629
inputs.prometheusDo not collect metrics from finished pods - #13627
inputs.prometheusFix missing metrics when multiple plugin instances specified - #13597
outputs.nebius_cloud_monitoringReplace reserved label names - #13292
outputs.opentelemetryGroup metrics by age and timestamp - #13575
outputs.stackdriverAdd tag as resource label option - #13662
parsers.xpathEnsure precedence of explicitly defined tags and fields - #13665
parsers.xpathFix field-names for arrays of simple types - #13660
parsers.xpathImprove handling of complex-type nodes - #13604
tools.custom_builderIgnore non-plugin sections during configuration
Dependency Updates
- #13668
depsBump github.com/aliyun/alibaba-cloud-sdk-go 1.62.389 to 1.62.470 - #13640
depsBump github.com/antchfx/jsonquery from 1.3.1 to 1.3.2 - #13639
depsBump github.com/antchfx/xmlquery from 1.3.15 to 1.3.17 - #13679
depsBump github.com/antchfx/xpath from v1.2.4 to latest master - #13589
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.17.3 to 1.20.0 - #13669
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.19.2 to 1.19.3 - #13670
depsBump github.com/eclipse/paho.golang from 0.10.0 to 0.11.0 - #13588
depsBump github.com/go-ldap/ldap/v3 from 3.4.4 to 3.4.5 - #13603
depsBump github.com/jaegertracing/jaeger from 1.38.0 to 1.47.0 - #13586
depsBump github.com/opensearch-project/opensearch-go/v2 from 2.2.0 to 2.3.0 - #13585
depsBump github.com/prometheus-community/pro-bing from 0.2.0 to 0.3.0 - #13666
depsBump github.com/shirou/gopsutil/v3 from 3.23.5 to 3.23.6 - #13638
depsBump github.com/thomasklein94/packer-plugin-libvirt from 0.3.4 to 0.5.0 - #13667
depsBump k8s.io/api from 0.27.2 to 0.27.4 - #13587
depsBump k8s.io/apimachinery from 0.27.2 to 0.27.3 - #13641
depsBump modernc.org/sqlite from 1.23.1 to 1.24.0
v1.27.2 [2023-07-10]
Bugfixes
- #13570
configReplace environment variables if existing but empty - #13525
inputs.cloud_pubsubProperly lock for decompression - #13517
inputs.gnmiAdd option to explicitly trim field-names - #13497
inputs.internet_speedAdd location as a field - #13485
inputs.modbusCheck number of register for datatype - #13486
inputs.modbusFix optimization of overlapping requests and add warning - #13478
inputs.mqtt_consumerCorrectly handle semaphores on messages - #13574
inputs.mqtt_consumerPrint warning on no metrics generated - #13514
inputs.opcuaEnsure connection after reconnect - #13495
inputs.phpfpmCheck address length to avoid crash - #13542
inputs.snmp_trapCopy GoSNMP global defaults to prevent side-effects - #13557
inputs.vpshereCompare versions as a string - #13527
outputs.graphiteRework connection handling - #13562
outputs.influxdb_v2Expose HTTP/2 client timeouts - #13454
outputs.stackdriverOptions to use official path and types - #13522
outputs.sumologicUnwrap serializer for type check - #13547
parsers.binaryFix binary parser example in README.md - #13526
parsers.grokUse UTC as the default timezone - #13550
parsers.xpathHandle explicitly defined fields correctly - #13564
processors.printerConvert output to string - #13489
secretstoresSkip dbus connection with kwallet - #13511
serializers.splunkmetricFix TOML option name for multi-metric - #13563
tools.custom_builderError out for unknown plugins in configuration
Dependency Updates
- #13524 Replace github.com/denisenkom/go-mssqldb with github.com/microsoft/go-mssqldb
- #13501
depsBump cloud.google.com/go/bigquery from 1.51.1 to 1.52.0 - #13500
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.337 to 1.62.389 - #13504
depsBump github.com/aws/aws-sdk-go-v2/config from 1.18.8 to 1.18.27 - #13537
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.17.8 to 1.17.14 - #13509
depsBump github.com/gopcua/opcua from 0.3.7 to 0.4.0 - #13502
depsBump github.com/prometheus/client_golang from 1.15.1 to 1.16.0 - #13544
depsBump github.com/snowflakedb/gosnowflake from 1.6.13 to 1.6.22 - #13541
depsBump github.com/urfave/cli/v2 from 2.25.5 to 2.25.7 - #13538
depsBump golang.org/x/text from 0.9.0 to 0.10.0 - #13554
depsBump golang.org/x/text from 0.10.0 to 0.11.0 - #13540
depsBump google.golang.org/api from 0.126.0 to 0.129.0
v1.27.1 [2023-06-21]
Bugfixes
- #13434 Handle compression level correctly for different algorithms
- #13457
configRestore old environment var behavior with option - #13446
custom_builderCorrectly handle serializers and parsers
Dependency Updates
- #13469
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.13.20 to 1.13.26 - #13468
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.25.9 to 1.26.2 - #13465
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.16.0 to 1.17.2 - #13466
depsBump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.1 - #13427
depsBump github.com/jackc/pgx/v4 from 4.17.1 to 4.18.1 - #13429
depsBump github.com/nats-io/nats.go from 1.24.0 to 1.27.0 - #13467
depsBump github.com/prometheus-community/pro-bing from 0.1.0 to 0.2.0 - #13428
depsBump golang.org/x/crypto from 0.8.0 to 0.9.0 - #13431
depsBump golang.org/x/term from 0.8.0 to 0.9.0 - #13430
depsBump modernc.org/sqlite from 1.21.0 to 1.23.1
v1.27.0 [2023-06-12]
Important Changes
- Fix parsing of timezone abbreviations such as
MST. Up to now, when parsing times with abbreviated timezones (i.e. the format ) the timezone information is ignored completely and the timestamp is located in UTC. This is a golang issue (see #9617 or #56528). If you worked around that issue, please remove the workaround before using v1.27+. In case you experience issues with abbreviated timezones please file an issue! - Removal of old-style parser creation. This should not directly affect users as it is an API change. All parsers in Telegraf are already ported to the new framework. If you experience any issues with not being able to create parsers let us know!
New Plugins
- #11155
inputs.ctrlx_datalayerctrlX Data Layer - #13397
inputs.intel_basebandIntel Baseband Accelerator - #13220
outputs.clarifyClarify - #13379
outputs.nebius_cloud_monitoringNebius Cloud Monitoring - #13061
processors.scaleScale - #13035
secretstores.dockerDocker Store - #13150
secretstores.httpHTTP Store - #13224
serializers.cloudeventsCloudEvents
Features
- #13144 Add common expression language metric filtering
- #13364
agentAdd option to avoid filtering of explicit plugin tags - #13118
aggregators.basicstatsAdd percentage change - #13094
cloud_pubsubAdd support for gzip compression - #12863
common.opcuaAdd support for secret-store secrets - #13262
common.tlsAdd support for passphrase-protected private key - #13377
configAdd framework for migrating deprecated plugins - #13229
configSupport shell like syntax for environment variable substitution - #12448
inputs.cloudwatchAdd support for cross account observability - #13089
inputs.directory_monitorImprove internal stats - #13163
inputs.filecountAdd oldestFileTimestamp and newestFileTimestamp - #13326
inputs.gnmiAllow canonical field names - #13116
inputs.gnmiSupport Juniper GNMI Extension Header - #12797
inputs.internet_speedSupport multi-server test - #11831
inputs.kafka_consumerAdd regular expression support for topics - #13040
inputs.kubernetesExtend kube_inventory plugin to include and extend resource quota, secret, node, and pod measurement - #13293
inputs.nats_consumerAdd receiver subject as tag - #13047
inputs.netflowAdd sFlow decoder - #13360
inputs.netflowAllow custom PEN field mappings - #13133
inputs.nvidia_smiAdd additional memory related fields - #13404
inputs.opentelemetryAdd configurable span dimensions - #12851
inputs.prometheusControl which pod metadata is added as tags - #13289
inputs.sqlAdd disconnected_servers_behavior field in the configuration - #13091
inputs.sqlAdd FlightSQL support - #13261
inputs.sqlserverAdd Azure Arc-enabled SQL MI support - #13284
inputs.sqlserverCheck SQL Server encryptionEnforce with xp_instance_regread - #13087
inputs.statsdAdd optional temporality and start_time tag for statsd metrics - #13048
inputs.suricataAdd ability to parse drop or rejected - #11955
inputs.vsphereAdd vSAN extension - #13316
internalAdd additional faster compression options - #13157
outputs.lokiAdd option for metric name label - #13349
outputs.wavefrontAdd TLS and HTTP Timeout configuration fields - #13167
parsers.opentsdbAdd OpenTSDB data format parser - #13075
processors.aws_ec2Add caching of imds and ec2 tags - #13147
processors.parserAdd merge with timestamp option - #13227
processors.scaleAdd scaling by factor and offset - #13253
processors.templateAllowtagto be a template - #12971
serializer.prometheusremoteImprove performance - #13275
testAllow to capture all messages during test
Bugfixes
- #13238
inputs.cloud_pubsubFix gzip decompression - #13304
inputs.gnmiAllow optional origin for update path - #13332
inputs.gnmiHandle canonical field-name correctly for non-explicit subscriptions - #13350
inputs.mqttACK messages when persistence is enabled - #13361
inputs.mysqlUpdate MariaDB Dialect regex version check - #13325
inputs.netflowFix field mappings - #13320
inputs.netflowHandle PEN messages correctly - #13231
inputs.prometheusAvoid race when creating informer factory - #13288
inputs.socket_listenerAvoid noisy logs on closed connection - #13307
inputs.tempIgnore warnings and instead return only errors - #13412
inputs.upsdHandle float battery.runtime value - #13363
internalFix time parsing for abbreviated timezones - #13408
outputs.sqlUse config.duration to correctly to parse toml config - #13252
outputs.wavefrontFlush metric buffer before reaching overflow - #13301
processors.lookupDo not strip tracking info - #13164
serializers.influxRestore disabled uint support by default - #13394
testsReplace last 'cat' instance in tests
Dependency Updates
- #13359
depsBump cloud.google.com/go/monitoring from 1.13.0 to 1.14.0 - #13312
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.193 to 1.62.337 - #13390
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.13.2 to 1.13.3 - #13391
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.18.9 to 1.19.0 - #13313
depsBump github.com/Azure/azure-event-hubs-go/v3 from 3.4.0 to 3.5.0 - #13314
depsBump github.com/Azure/go-autorest/autorest from 0.11.28 to 0.11.29 - #13265
depsBump github.com/influxdata/influxdb-observability libraries from 0.3.3 to 0.3.15 - #13311
depsBump github.com/jackc/pgconn from 1.13.0 to 1.14.0 - #13357
depsBump github.com/jackc/pgtype from 1.12.0 to 1.14.0 - #13392
depsBump github.com/Mellanox/rdmamap to 1.1.0 - #13356
depsBump github.com/pion/dtls/v2 from 2.2.6 to 2.2.7 - #13389
depsBump github.com/prometheus/common from 0.43.0 to 0.44.0 - #13355
depsBump github.com/rabbitmq/amqp091-go from 1.8.0 to 1.8.1 - #13396
depsBump github.com/shirou/gopsutil from 3.23.4 to 3.23.5 - #13369
depsBump github.com/showwin/speedtest-go from 1.5.2 to 1.6.2 - #13388
depsBump github.com/urfave/cli/v2 from 2.23.5 to 2.25.5 - #13315
depsBump k8s.io/client-go from 0.26.2 to 0.27.2
v1.26.3 [2023-05-22]
Bugfixes
- #13149
inputs.gnmiCreate selfstat to track connection state - #13139
inputs.intel_pmuFix handling of the json perfmon format - #13056
inputs.socket_listenerFix loss of connection tracking - #13300
inputs.socket_listenerFix race in tests - #13286
inputs.vsphereSpecify the correct option for disconnected_servers_behavior - #13239
outputs.graphiteFix logic to reconnect with servers that were not up on agent startup - #13169
outputs.prometheus_clientFix export_timestamp for v1 metric type - #13168
outputs.stackdriverAllow for custom metric type prefix - #12994
outputs.stackdriverGroup batches by timestamp - #13126
outputs.warp10Support Infinity/-Infinity/NaN values - #13156
processors.starlarkDo not reject tracking metrics twice
Dependency Updates
- #13256
depsBump cloud.google.com/go/pubsub from 1.30.0 to 1.30.1 - #13258
depsBump github.com/aerospike/aerospike-client-go/v5 from 5.10.0 to 5.11.0 - #13242
depsBump github.com/antchfx/xpath to latest master for string-join() - #13255
depsBump github.com/aws/aws-sdk-go-v2 from 1.17.8 to 1.18.0 - #13215
depsBump github.com/Azure/go-autorest/autorest/adal from 0.9.22 to 0.9.23 - #13254
depsBump github.com/benbjohnson/clock from 1.3.0 to 1.3.3 - #13269
depsBump github.com/docker/distribution from 2.8.1 to 2.8.2 - #13216
depsBump github.com/fatih/color from 1.13.0 to 1.15.0 - #13104
depsBump github.com/netsampler/goflow2 from 1.1.1 to 1.3.3 - #13138
depsBump github.com/yuin/goldmark from 1.5.3 to 1.5.4 - #13257
depsBump go.opentelemetry.io/collector/pdata from 1.0.0-rc7 to 1.0.0-rcv0011 - #13137
depsBump golang.org/x/net from 0.8.0 to 0.9.0 - #13276
depsBump golang.org/x/net from 0.9.0 to 0.10.0 - #13217
depsBump golang.org/x/oauth2 from 0.5.0 to 0.7.0 - #13170
depsBump google.golang.org/api from 0.106.0 to 0.120.0 - #13223
depsBump govulncheck-action from 0.10.0 to 0.10.1 - #13225
depsBump prometheus from v1.8.2 to v2.42.0 - #13230
depsBump signalfx/golib from 3.3.46 to 3.3.50
v1.26.2 [2023-04-24]
Bugfixes
- #13020
agentPass quiet flag earlier - #13063
inputs.prometheusAdd namespace option in k8s informer factory - #13059
inputs.socket_listenerFix tracking of unix sockets - #13078
parsers.grokFix nil metric for multiline inputs - #13092
processors.lookupFix tracking metrics
Dependency Updates
- #13106
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.13.15 to 1.13.20 - #13072
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.21.6 to 1.25.9 - #13107
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.15.13 to 1.20.9 - #13027
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.15.19 to 1.17.8 - #13069
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.18.5 to 1.18.9 - #13105
depsBump github.com/docker/docker from 23.0.0 to 23.0.4 - #13024
depsBump github.com/openconfig/gnmi from 0.0.0-20220920173703-480bf53a74d2 to 0.9.1 - #13026
depsBump github.com/prometheus/common from 0.41.0 to 0.42.0 - #13025
depsBump github.com/safchain/ethtool from 0.2.0 to 0.3.0 - #13023
depsBump github.com/tinylib/msgp from 1.1.6 to 1.1.8 - #13071
depsBump github.com/vishvananda/netns from 0.0.2 to 0.0.4 - #13070
depsBump github.com/wavefronthq/wavefront-sdk-go from 0.11.0 to 0.12.0
v1.26.1 [2023-04-03]
Bugfixes
- #12880
configReturn error on order set as string - #12867
inputs.ethtoolCheck for nil - #12935
inputs.execdAdd option to set buffer size - #12877
inputs.internet_speedRename host tag to source - #12918
inputs.kubernetesApply timeout for the whole HTTP request - #13006
inputs.netflowUse correct name in the build tag - #13015
inputs.procstatReturn tags of pids if lookup_error - #12864
inputs.prometheusCorrectly set timeout param - #12907
inputs.prometheusUse set over add for custom headers - #12961
inputs.upsdInclude ups.real_power - #12908
outputs.graphiteAdd custom regex to outputs - #13012
secretsAdd function to set a secret - #13002
secretsMinimize secret holding time - #12993
secretsWarn if OS limit for locked memory is too low - #12919
secretsHandle array of secrets correctly - #12835
serializers.graphiteAllow for specifying regex to sanitize - #12990
systemdIncrease lock memory for service to 8192kb
Dependency Updates
- #12857
depsBump github.com/antchfx/xpath from 1.2.3 to 1.2.4 - #12909
depsBump github.com/apache/thrift from 0.16.0 to 0.18.1 - #12856
depsBump github.com/Azure/azure-event-hubs-go/v3 from 3.3.20 to 3.4.0 - #12966
depsBump github.com/Azure/go-autorest/autorest/azure/auth from 0.5.11 to 0.5.12 - #12964
depsBump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.5.0 - #12967
depsBump github.com/jhump/protoreflect from 1.8.3-0.20210616212123-6cc1efa697ca to 1.15.1 - #12855
depsBump github.com/nats-io/nats.go from 1.19.0 to 1.24.0 - #12981
depsBump github.com/opencontainers/runc from 1.1.4 to 1.1.5 - #12913
depsBump github.com/pion/dtls/v2 from 2.2.4 to 2.2.6 - #12968
depsBump github.com/rabbitmq/amqp091-go from 1.7.0 to 1.8.0 - #13017
depsBump github.com/shirou/gopsutil from 3.23.2 to 3.23.3 - #12853
depsBump github.com/Shopify/sarama from 1.37.2 to 1.38.1 - #12854
depsBump github.com/sensu/sensu-go/api/core/v2 from 2.15.0 to 2.16.0 - #12911
depsBump github.com/tidwall/gjson from 1.14.3 to 1.14.4 - #12912
depsBump golang.org/x/net from 0.7.0 to 0.8.0 - #12910
depsBump modernc.org/sqlite from 1.19.2 to 1.21.0
v1.26.0 [2023-03-13]
Important Changes
- Static Builds: Linux builds are now statically built. Other operating systems
were cross-built in the past and as a result, already static. Users should
not notice any change in behavior. The
_staticspecific Linux binary is no longer produced as a result. - telegraf.d Behavior: The default behavior of reading
/etc/telegraf/telegraf.confnow includes any .conf files under/etc/telegraf/telegraf.d/. This change will apply to the official Telegraf Docker image as well. This will simplify docker usage when using multiple configuration files. - Default Configuration: The
telegraf configcommand and default config file provided by Telegraf now includes all plugins and produces the same output across all operating systems. Plugin comments specify what platforms are supported or not. - State Persistence: State persistence is now available in select plugins. This will allow plugins to start collecting data, where they left off. A configuration with state persistence cannot change or it will not be able to recover.
New Plugins
- #12393
inputs.opensearch_queryOpensearch Query - #12473
inputs.p4runtimeP4Runtime - #12736
inputs.radiusRadius Auth Response Time - #11250
inputs.win_wmiWindows Management Instrumentation (WMI) - #12809
processors.lookupLookup
Features
- #12600 Always disable cgo support (static builds)
- #12166 Plugin state-persistence
- #12608
agentAdd /etc/telegraf/telegraf.d to default config locations - #12827
agentPrint loaded configs - #12821
common.oauthAdd audience parameter - #12727
common.tlsAdd enable flag - #12579
configAccept durations given in days (e.g. 7d) - #12798
inputs.cgroupAdded support for cpu.stat - #12345
inputs.cisco_telemetry_mdtInclude delete field - #12696
inputs.diskAdd label as tag - #12519
inputs.dns_queryAdd IP field(s) - #12775
inputs.docker_logAdd state-persistence capabilities - #12814
inputs.ethtoolAdd support for link speed, duplex, etc. - #12550
inputs.exampleAdd secret-store sample code - #12495
inputs.gnmiSet max gRPC message size - #12680
inputs.haproxyAdd support for tcp endpoints in haproxy plugin - #12645
inputs.http_listener_v2Add custom server http headers - #12506
inputs.icinga2Support collecting hosts, services, and endpoint metrics - #12493
inputs.influxdbCollect uptime statistics - #12452
inputs.intel_powerstatAdd CPU base frequency metric and add support for new platforms - #12707
inputs.internet_speedAdd the best server selection via latency and jitter field - #12617
inputs.internet_speedServer ID include and exclude filter - #12730
inputs.jti_openconfig_telemetrySet timestamp from data - #12786
inputs.modbusAdd RS485 specific config options - #12408
inputs.modbusAdd workaround to enforce reads from zero for coil registers - #12825
inputs.modbusAllow to convert coil and discrete registers to boolean - #12591
inputs.mysqlAdd secret-store support - #12466
inputs.openweathermapAdd snow parameter - #12628
inputs.processesAdd use_sudo option for BSD - #12777
inputs.prometheusUse namespace annotations to filter pods to be scraped - #12496
inputs.redfishAdd power control metric - #12400
inputs.sqlserverGet database pages performance counter - #12377
inputs.stackdriverAllow filtering by resource metadata labels - #12318
inputs.statsdAdd pending messages stat and allow to configure number of threads - #12828
inputs.vsphereFlag for more lenient behavior when connect fails on startup - #12790
inputs.win_eventlogAdd state-persistence capabilities - #12556
inputs.win_perf_countersAdd remote system support - #12729
inputs.wireguardAdd allowed_peer_cidr field - #12444
inputs.x509_certAdd OCSP stapling information for leaf certificates (#10550) - #12656
inputs.x509_certAdd tag for certificate type-classification - #12697
outputs.mqttAdd option to specify topic layouts - #12678
outputs.mqttAdd support for MQTT 5 publish properties - #12224
outputs.mqttEnhance routing capabilities - #11816
parsers.avroAdd Apache Avro parser - #12820
parsers.xpathAdd timezone handling - #12767
processors.converterConvert tag or field as metric timestamp - #12659
processors.unpivotAdd mode to create new metrics - #12812
secretstoresAdd command-line option to specify password - #12067
secretstoresAdd support for additional input plugins - #12497
secretstoresConvert many output plugins
Bugfixes
- #12781
agentAllow graceful shutdown on interrupt (e.g. Ctrl-C) - #12740
agentOnly rotate log on SIGHUP if needed - #12818
inputs.amqp_consumerAvoid deprecations when handling defaults - #12817
inputs.amqp_consumerFix panic on Stop() if not connected successfully - #12815
inputs.ethtoolClose namespace file to prevent crash - #12778
inputs.statsdOn close, verify listener is not nil
Dependency Updates
- #12805
depsBump cloud.google.com/go/storage from 1.28.1 to 1.29.0 - #12804
depsBump github.com/Azure/go-autorest/autorest/adal from 0.9.21 to 0.9.22 - #12757
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.77 to 1.62.193 - #12808
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.13.2 to 1.13.15 - #12756
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.14.5 to 1.16.0 - #12754
depsBump github.com/coocood/freecache from 1.2.2 to 1.2.3 - #12852
depsBump github.com/opencontainers/runc from 1.1.3 to 1.1.4 - #12806
depsBump github.com/opensearch-project/opensearch-go/v2 from 2.1.0 to 2.2.0 - #12753
depsBump github.com/openzipkin-contrib/zipkin-go-opentracing from 0.4.5 to 0.5.0 - #12755
depsBump github.com/rabbitmq/amqp091-go from 1.5.0 to 1.7.0 - #12822
depsBump github.com/shirou/gopsutil from v3.22.12 to v3.23.2 - #12807
depsBump github.com/stretchr/testify from 1.8.1 to 1.8.2 - #12840
depsBump OpenTelemetry from 0.3.1 to 0.3.3 - #12801
depsDowngrade github.com/karrick/godirwalk from v1.17.0 to v1.16.2
v1.25.3 [2023-02-27]
Bugfixes
- #12721
agentFix reload config on config update/SIGHUP - #12462
inputs.bondReset slave stats for each interface - #12677
inputs.cloudwatchVerify endpoint is not nil - #12725
inputs.lvmAdd options to specify path to binaries - #12724
parsers.xpathFix panic for JSON name expansion - #12735
serializers.jsonFix stateful transformations
Dependency Updates
- #12714
depsBump cloud.google.com/go/pubsub from 1.27.1 to 1.28.0 - #12693
depsBump github.com/containerd/containerd from 1.6.8 to 1.6.18 - #12715
depsBump github.com/go-logfmt/logfmt from 0.5.1 to 0.6.0 - #12668
depsBump github.com/gofrs/uuid from 4.3.1 to 5.0.0 - #12712
depsBump github.com/gophercloud/gophercloud from 1.0.0 to 1.2.0 - #12667
depsBump github.com/pion/dtls/v2 from 2.1.5 to 2.2.4 - #12699
depsBump golang.org/x/net from 0.5.0 to 0.7.0 - #12670
depsBump golang.org/x/sys from 0.4.0 to 0.5.0 - #12713
depsBump google.golang.org/grpc from 1.52.3 to 1.53.0 - #12669
depsBump k8s.io/apimachinery from 0.25.3 to 0.25.6 - #12698
depsBump testcontainers from 0.14.0 to 0.18.0
v1.25.2 [2023-02-13]
Bugfixes
- #12607
agentOnly read the config once - #12586
docsFix link to license for Google flatbuffers - #12637
inputs.cisco_telemetry_mdtCheck subfield sizes to avoid panics - #12657
inputs.cloudwatchEnable custom endpoint support - #12603
inputs.conntrackResolve segfault when setting collect field - #12512
inputs.gnmiHandle both new-styletag_subscriptionand old-styletag_only - #12599
inputs.mongodbImprove error logging - #12604
inputs.mongodbSIGSEGV when restarting MongoDB node - #12576
inputs.mysqlAvoid side-effects for TLS between plugin instances - #12626
inputs.prometheusDeprecate and rename the timeout variable - #12648
inputs.tailFix typo in the README - #12543
inputs.upsdAdd additional fields - #12629
inputs.x509_certFix Windows path handling - #12560
outputs.prometheus_clientExpire with ticker, not add/collect - #12644
secretstoresCheck store id format and presence
Dependency Updates
- #12630
depsBump cloud.google.com/go/bigquery from 1.44.0 to 1.45.0 - #12568
depsBump github.com/99designs/keyring from 1.2.1 to 1.2.2 - #12634
depsBump github.com/antchfx/xmlquery from 1.3.12 to 1.3.15 - #12633
depsBump github.com/antchfx/xpath from 1.2.2 to 1.2.3 - #12571
depsBump github.com/coreos/go-semver from 0.3.0 to 0.3.1 - #12632
depsBump github.com/moby/ipvs from 1.0.2 to 1.1.0 - #12572
depsBump github.com/multiplay/go-ts3 from 1.0.1 to 1.1.0 - #12581
depsBump github.com/prometheus/client_golang from 1.13.1 to 1.14.0 - #12580
depsBump github.com/shirou/gopsutil from 3.22.9 to 3.22.12 - #12570
depsBump go.mongodb.org/mongo-driver from 1.11.0 to 1.11.1 - #12582
depsBump golang/x dependencies - #12583
depsBump google.golang.org/grpc from 1.51.0 to 1.52.0 - #12631
depsBump google.golang.org/grpc from 1.52.0 to 1.52.3
v1.25.1 [2023-01-30]
Bugfixes
- #12549
agentCatch non-existing commands and error out - #12453
agentCorrectly reload configuration files - #12491
agentHandle float time with fractions of seconds correctly - #12457
agentOnly set default snmp after reading all configs - #12515
common.cookieAllow any 2xx status code - #12459
common.kafkaAdd keep-alive period setting for input and output - #12240
inputs.cisco_telemetry_mdtAdd operation-metric and class-policy prefix - #12533
inputs.execRestore pre-v1.21 behavior for CSV data_format - #12415
inputs.gnmiUpdate configuration documentation - #12536
inputs.logstashCollect opensearch specific stats - #12409
inputs.mysqlRevert slice declarations with non-zero initial length - #12529
inputs.opcuaFix opcua and opcua-listener for servers using password-based auth - #12522
inputs.prometheusCorrectly track deleted pods - #12559
inputs.prometheusSet the timeout for slow running API endpoints correctly - #12384
inputs.sqlserverAdd more precise version check - #12387
inputs.sqlserverAdded own SPID filter - #12386
inputs.sqlserverSqlRequests include sleeping sessions with open transactions - #12528
inputs.sqlserverSuppress error on secondary replicas - #12516
inputs.upsdAlways convert to float - #12486
inputs.upsdEnsure firmware is always a string - #12375
inputs.win_eventlogHandle remote events more robustly - #12404
inputs.x509_certFix off-by-one when adding intermediate certificates - #12399
outputs.lokiReturn response body on error - #12440
parsers.json_v2In case of invalid json, log message to debug log - #12401
secretstoresCleanup duplicate printing - #12468
secretstoresFix handling of "id" and print failing secret-store - #12490
secretstoresFix handling of TOML strings
Dependency Updates
- #12385
depsBump cloud.google.com/go/storage from 1.23.0 to 1.28.1 - #12511
depsBump github.com/antchfx/jsonquery from 1.3.0 to 1.3.1 - #12420
depsBump github.com/aws/aws-sdk-go-v2 from 1.17.1 to 1.17.3 - #12538
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.54.4 to 1.80.1 - #12476
depsBump github.com/denisenkom/go-mssqldb from 0.12.0 to 0.12.3 - #12378
depsBump github.com/eclipse/paho.mqtt.golang from 1.4.1 to 1.4.2 - #12381
depsBump github.com/hashicorp/consul/api from 1.15.2 to 1.18.0 - #12417
depsBump github.com/karrick/godirwalk from 1.16.1 to 1.17.0 - #12418
depsBump github.com/kardianos/service from 1.2.1 to 1.2.2 - #12379
depsBump github.com/nats-io/nats-server/v2 from 2.9.4 to 2.9.9
v1.25.0 [2022-12-12]
New Plugins
- #10103
inputs.azure_monitorAzure Monitor - #8413
inputs.gcsGoogle Cloud Storage - #11824
inputs.intel_dlbIntel DLB - #11814
inputs.libvirtlibvirt - #12108
inputs.netflownetflow v5, v9, and IPFIX - #11786
inputs.opcua_listenerOPC UA Event subscriptions
Features
-
#12130 Add arm64 Windows builds to nightly and CI
-
#11987
agentAdd method to inform of deprecated plugin option values -
#11232
agentSecret-store implementation -
#12358
agentDeprecate active usage of netsnmp translator -
#12302
agent.tlsAllow setting renegotiation method -
#12111
common.kafkaAdd exponential backoff when connecting or reconnecting and allow plugin to start without making initial connection -
#11860
inputs.amqp_consumerDetermine content encoding automatically -
#12014
inputs.apcupsdAdd new fields -
#12342
inputs.cgroupsDo not abort on first error, print message once -
#8958
inputs.conntrackParse conntrack stats -
#11703
inputs.diskioAllow selecting devices by ID -
#11895
inputs.ethtoolGather statistics from namespaces -
#12087
inputs.ethtoolPossibility to skip gathering metrics for downed interfaces -
#12324
inputs.http_responseAdd User-Agent header -
#12304
inputs.kafka_consumerAdd sarama debug logs -
#11783
inputs.knx_listenerSupport TCP as transport protocol -
#12301
inputs.kubernetesAllow fetching kublet metrics remotely -
#12255
inputs.modbusAdd 8-bit integer types -
#11983
inputs.modbusAdd config option to pause after connect -
#12340
inputs.modbusAdd support for half-precision float (float16) -
#11106
inputs.modbusOptimize grouped requests -
#11273
inputs.modbusOptimize requests -
#11630
inputs.opcuaAdd use regular reads workaround -
#9633
inputs.powerdns_recursorSupport for new PowerDNS recursor control protocol -
#12050
inputs.prometheusAdd support for custom header -
#11962
inputs.prometheusAllow explicit scrape configuration without annotations -
#11729
inputs.prometheusUse system wide proxy settings -
#12329
inputs.smartAdd additional SMART metrics that indicate/predict device failure -
#11872
inputs.snmpConvert enum values -
#12187
inputs.socket_ listenerAllow to specify message separator for streams -
#12351
inputs.sqlserverAdd @@SERVICENAME and SERVERPROPERTY(IsClustered) in measurement sqlserver_server_properties -
#12126
inputs.sqlserverAdd data and log used space metrics for Azure SQL DB -
#12292
inputs.sqlserverAdd metric available_physical_memory_kb in sqlserver_server_properties -
#12319
inputs.sqlserverIntroduce timeout for query execution -
#12147
inputs.systemCollect unique user count logged in -
#12281
inputs.tailAdd option to preserve newlines for multiline data -
#11762
inputs.tailAllow handling of quoted strings spanning multiple lines -
#12170
inputs.tomcatAdd source tag -
#11874
outputs.azure_data_explorerAdd support for streaming ingestion for ADX output plugin -
#11991
outputs.event_hubsExpose max message size batch option -
#11950
outputs.graylogImplement optional connection retries -
#11385
outputs.timestreamSupport ingesting multi-measures -
#12232
parsers.binaryHandle hex-encoded inputs -
#12008
parsers.csvAdd option for overwrite tags -
#12247
parsers.csvSupport null delimiters -
#12320
parsers.grokAdd option to allow multiline messages -
#11933
parsers.xpathAdd option to skip (header) bytes -
#11999
parsers.xpathAllow to specify byte-array fields to encode in HEX -
#11552
parsersAdd binary parser -
#12260
serializers.jsonSupport serializing JSON nested in string fields
Bugfixes
- #12113
agentRun processors in config order - #12127
agentWatch for changes in configuration files in config directories - #12062
inputs.conntrackSkip gather tests if conntrack kernel module is not loaded - #12295
inputs.filecountRevert library version - #12284
inputs.kube_inventoryChange default token path, use in-cluster config by default - #12235
inputs.modbusAdd workaround to read field in separate requests - #12339
inputs.modbusFix Windows COM-port path - #12367
inputs.modbusFix default value of transmission mode - #12330
inputs.mongodbFix connection leak triggered by config reload - #12101
inputs.opcuaAdd support for opcua datetime values - #12376
inputs.opcuaParse full range of status codes with uint32 - #12278
inputs.promethesRespect selectors when scraping pods - #12323
inputs.sqlCast measurement_column to string - #12259
inputs.vsphereEliminated duplicate samples - #12307
inputs.zfsUnbreak datasets stats gathering in case listsnaps is enabled on a zfs pool - #12291
outputs.azure_data_explorerUpdate test call to NewSerializer - #12357
processors.parserHandle empty metric names correctly
Dependency Updates
- #12334
depsUpdate github.com/aliyun/alibaba-cloud-sdk-go from 1.61.1836 to 1.62.77 - #12355
depsUpdate github.com/gosnmp/gosnmp from 1.34.0 to 1.35.0 - #12372
depsUpdate OpenTelemetry from 0.2.30 to 0.2.33
v1.24.4 [2022-11-29]
Bugfixes
- #12177
inputs.cloudwatchCorrectly handle multiple namespaces - #12294
inputs.directory_monitorClose input file before removal - #12140
inputs.gnmiHandle decimal_val as per gnmi v0.8.0 - #12275
inputs.gnmiDo not provide empty prefix for subscription request - #12258
inputs.gnmiFix empty name for Sonic devices - #12171
inputs.pingAvoid -x/-X on FreeBSD 13 and newer with ping6 - #12282
inputs.prometheusCorrectly default to port 9102 - #12229
input.redis_sentinelFix sentinel and replica stats gathering - #12280
inputs.socket_listenerEnsure closed connection - #12201
output.datadogLog response in case of non 2XX response from API - #12160
outputs.prometheusExpire metrics correctly during adds - #12156
outputs.yandex_cloud_monitoringCatch int64 values
Dependency Updates
- #12132
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.61.1818 to 1.61.1836 - #12197
depsBump github.com/prometheus/client_golang from 1.13.0 to 1.13.1 - #12196
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.13.12 to 1.14.5 - #12198
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.12.17 to 1.12.19 - #12236
depsBump github.com/gofrs/uuid from v4.3.0 to v4.3.1 - #12237
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.19 to 1.17.2 - #12238
depsBump github.com/urfave/cli/v2 from 2.16.3 to 2.23.5 - #12239
depsBump github.com/Azure/azure-event-hubs-go/v3 from 3.3.18 to 3.3.20 - #12248
depsBump github.com/showwin/speedtest-go from 1.1.5 to 1.2.1 - #12269
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.12.21 to 1.13.2 - #12268
depsBump github.com/yuin/goldmark from 1.5.2 to 1.5.3 - #12267
depsBump cloud.google.com/go/pubsub from 1.25.1 to 1.26.0 - #12266
depsBump go.mongodb.org/mongo-driver from 1.10.2 to 1.11.0
v1.24.3 [2022-11-02]
Bugfixes
- #12063 Restore warning on unused config option(s)
- #11941 Setting
enable_tlshas incorrect default value - #12093 Update systemd unit description
- #12077
agentFix panic due to tickers slice was off-by-one in size - #12076
configSet default parser - #12124
inputs.directory_monitorAllow cross filesystem directories - #12064
inputs.kafkaSwitch to sarama's new consumer group rebalance strategy setting - #12038
inputs.modbusAdd slave id to failing connection - #12109
inputs.modbusHandle field-measurement definitions correctly on duplicate field check - #11912
inputs.modbusImprove duplicate field checks - #11993
inputs.opcuaAdd metric tags to node - #11997
inputs.syslogPrint error when no error or message given - #12023
inputs.zookeeperAdd the ability to parse floats as floats - #11926
parsers.json_v2Remove BOM before parsing - #12116
processors.parserKeep name of original metric if parser doesn't return one - #12081
processorsCorrectly setup processors - #12016
regressionFixes problem with metrics not exposed by plugins. - #12024
serializers.splunkmetricProvide option to remove event metric tag
Features
- #12075
toolsAllow to markdown includes for sections
Dependency Updates
- #11886
depsBump github.com/snowflakedb/gosnowflake from 1.6.2 to 1.6.13 - #11928
depsBump github.com/sensu/sensu-go/api/core/v2 from 2.14.0 to 2.15.0 - #11935
depsBump github.com/gofrs/uuid from 4.2.0& to 4.3.0 - #11894
depsBump github.com/hashicorp/consul/api from 1.14.0 to 1.15.2 - #11936
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.12.5 to 1.12.21 - #11972
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch - #11979
depsBump github.com/aws/aws-sdk-go-v2/config - #11938
depsBump k8s.io/apimachinery from 0.25.1 to 0.25.2 - #12001
depsBump k8s.io/api from 0.25.0 to 0.25.2 - #12029
depsBump k8s.io/api from 0.25.2 to 0.25.3 - #12030
depsBump modernc.org/sqlite from 1.17.3 to 1.19.2 - #12034
depsBump github.com/signalfx/golib/v3 from 3.3.45 to 3.3.46 - #12035
depsBump github.com/yuin/goldmark from 1.4.13 to 1.5.2 - #11937
depsBump cloud.google.com/go/bigquery from 1.40.0 to 1.42.0 - #12037
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis - #12036
depsBump github.com/aliyun/alibaba-cloud-sdk-go - #11980
depsBump github.com/Shopify/sarama from 1.36.0 to 1.37.2 - #12039
depsBump testcontainers-go from 0.13.0 to 0.14.0 and address breaking change - #12090
depsBump modernc.org/libc from v1.20.3 to v1.21.2 - #12098
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb - #12096
depsBump google.golang.org/api from 0.95.0 to 0.100.0 - #12095
depsBump github.com/gopcua/opcua from 0.3.3 to 0.3.7 - #12097
depsBump github.com/prometheus/client_model from 0.2.0 to 0.3.0 - #12135
depsBump cloud.google.com/go/monitoring from 1.5.0 to 1.7.0 - #12134
depsBump github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.4
v1.24.2 [2022-10-03]
Bugfixes
- #11806 Re-allow specifying the influx parser type
- #11896
cliSupport old style of filtering sample configs - #11519
common.kafkaEnable TLS in Kafka plugins without custom config - #11866
inputs.influxdb_listenerError on invalid precision - #11877
inputs.internet_speedRename enable_file_download to match upstream intent - #11849
inputs.mongodbStart plugin correctly - #10696
inputs.mqtt_consumerRework connection and message tracking - #11696
internal.ethtoolAvoid internal name conflict with aws - #11875
parser.xpathHandle floating-point times correctly
Dependency Updates
- #11861 Update dependencies for OpenBSD support
- #11840
depsBump k8s.io/apimachinery from 0.25.0 to 0.25.1 - #11844
depsBump github.com/aerospike/aerospike-client-go/v5 from 5.9.0 to 5.10.0 - #11839
depsBump github.com/nats-io/nats.go from 1.16.0 to 1.17.0 - #11836
depsReplace go-ping by pro-bing - #11887
depsBump go.mongodb.org/mongo-driver from 1.10.1 to 1.10.2 - #11890
depsBump github.com/aws/smithy-go from 1.13.2 to 1.13.3 - #11891
depsBump github.com/rabbitmq/amqp091-go from 1.4.0 to 1.5.0 - #11893
depsBump github.com/docker/distribution from v2.7.1 to v2.8.1
v1.24.1 [2022-09-19]
Bugfixes
- #11787 Clear error message when provided config is not a text file
- #11835 Enable global confirmation for installing mingw
- #10797
inputs.cephModernize Ceph input plugin metrics - #11785
inputs.modbusDo not fail if a single slave reports errors - #11827
inputs.ntpqHandle pools with "-" when - #11825
parsers.csvRemove direct checks for the parser type - #11781
parsers.xpathAdd array index when expanding names. - #11815
parsersMemory leak for plugins using ParserFunc. - #11826
parsersUnwrap parser and remove some special handling
Features
- #11228
processors.parserAdd option to parse tags
Dependency Updates
- #11788
depsBump cloud.google.com/go/pubsub from 1.24.0 to 1.25.1 - #11794
depsBump github.com/urfave/cli/v2 from 2.14.1 to 2.16.3 - #11789
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 - #11799
depsBump github.com/wavefronthq/wavefront-sdk-go - #11796
depsBump cloud.google.com/go/bigquery from 1.33.0 to 1.40.0
v1.24.0 [2022-09-12]
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
agentAdd flushBatch method - #11692
inputs.jolokia2Add optional origin header - #11629
inputs.mongodbAdd an option to bypass connection errors on start - #11723
inputs.opcuaAssign node id correctly - #11673
inputs.prometheusPlugin run outside k8s cluster error - #11701
inputs.sqlserverFixing wrong filtering for sqlAzureMIRequests and sqlAzureDBRequests - #11471
inputs.upsdMove to new sample.conf style - #11613
inputs.x509Multiple sources with non-overlapping DNS entries - #11767
outputs.execdFixing the execd behavior to not throw error when partially unserializable metrics are written - #11560
outputs.wavefrontUpdate wavefront sdk and use non-deprecated APIs
Features
- #11307
serializers.csvAdd CSV serializer - #11054
outputs.redistimeseriesAdd RedisTimeSeries plugin - #7995
outputs.stompAdd Stomp (Active MQ) output plugin - #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_consumerAdd simple support for jetstream subjects - #9015
inputs.supervisorAdd Supervisord input plugin - #11524 Tool to build custom Telegraf builds
- #11493
common.tlsImplement minimum TLS version for clients - #11619
externalAdd nsdp external plugin - #9890
inputs.upsdAdd upsd implementation - #11458
inputs.cisco_telemetry_mdtAdd GRPC Keepalive/timeout config options - #11784
inputs.directory_monitorSupport paths for files_to_ignore and files_to_monitor - #11773
inputs.directory_monitorTraverse sub-directories - #11220
inputs.kafka_consumerOption to set default fetch message bytes - #8988
inputs.linux_cpuAdd plugin to collect CPU metrics on Linux - #9185
inputs.logstashRecord number of failures - #11469
inputs.modbusError out on requests with no fields defined - #11426
inputs.mqtt_consumerAdd incoming mqtt message size calculation - #10874
inputs.nginx_plus_apiGather limit_reqs metrics - #11593
inputs.ntpqAdd option to specify command flags - #11592
inputs.ntpqAdd possibility to query remote servers - #11594
inputs.ntpqAllow to specifyreachoutput format - #11572
inputs.openstackAdd allow_reauth config option for openstack client - #11391
inputs.smartCollect SSD endurance information where available in smartctl - #11688
inputs.sqlserverAdd db name to io stats for MI - #11709
inputs.sqlserverImproved filtering for active requests - #11518
inputs.statsdAdd median timing calculation to statsd input plugin - #9440
inputs.syslogLog remote host as source tag - #11271
inputs.x509_certAdd smtp protocol - #11284
output.mqttAdd support for MQTT protocol version 5 - #11649
outputs.amqpAdd proxy support - #11439
outputs.graphiteRetry connecting to servers with failed send attempts - #11443
outputs.groundworkImprove metric parsing to extend output - #11557
outputs.iotdbAdd new output plugin to support Apache IoTDB - #11672
outputs.postgresqlAdd Postgresql output - #11529
outputs.redistimeseriesAdd integration test - #11551
outputs.sqlAdd settings for go sql.DB settings - #11251
parsers.jsonAllow JSONata based transformations in JSON serializer - #11558
parsers.xpathAdd support for returning underlying data-types - #11306
processors.starlarkAdd starlark benchmark for tag-concatenation - #11475
inputs.rabbitmqAdd support for head_message_timestamp metric - #9333
inputs.redisAdd Redis 6 ACL auth support - #11690
serializers.prometheusProvide option to reduce payload size by removing HELP from payload - #9319
proxy.x509_certAdd 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.tlsSet 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 thetls_min_versionoption in the plugins required
v1.23.4 [2022-08-16]
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.cloudwatchCustomizable batch size when querying - #11577
inputs.kube_inventorySend file location to enable token auto-refresh - #11578
inputs.kubernetesRefresh token from file at each read - #11635
inputs.mongodbUpdate version check for newer versions - #11539
inputs.opcuaReturn an error with mismatched types - #11548
inputs.sqlserverSet lower deadlock priority - #11556
inputs.stackdriverHandle when no buckets available - #11576
inputsLinter issues - #11595
outputsLinter issues - #11607
parsersLinter issues
Features
- #11622 Add coralogix dialect to opentelemetry
Dependency Updates
- #11412
depsBump github.com/testcontainers/testcontainers-go from 0.12.0 to 0.13.0 - #11565
depsBump github.com/apache/thrift from 0.15.0 to 0.16.0 - #11567
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.46.0 to 1.51.0 - #11494
depsUpdate all go.opentelemetry.io dependencies - #11569
depsBump github.com/go-ldap/ldap/v3 from 3.4.1 to 3.4.4 - #11574
depsBump github.com/karrick/godirwalk from 1.16.1 to 1.17.0 - #11568
depsBump github.com/vmware/govmomi from 0.28.0 to 0.29.0 - #11347
depsBump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1.4.1 - #11580
depsBump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.7 - #11582
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs - #11583
depsBump github.com/Azure/go-autorest/autorest/adal - #11581
depsBump github.com/pion/dtls/v2 from 2.0.13 to 2.1.5 - #11590
depsBump github.com/Azure/azure-event-hubs-go/v3 - #11586
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch - #11585
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis - #11584
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb - #11598
depsBump github.com/signalfx/golib/v3 from 3.3.43 to 3.3.45 - #11605
depsUpdate github.com/BurntSushi/toml from 0.4.1 to 1.2.0 - #11604
depsUpdate cloud.google.com/go/pubsub from 1.23.0 to 1.24.0 - #11602
depsUpdate k8s.io/apimachinery from 0.24.2 to 0.24.3 - #11603
depsUpdate github.com/Shopify/sarama from 1.34.1 to 1.35.0 - #11616
depsBump github.com/sirupsen/logrus from 1.8.1 to 1.9.0 - #11636
depsBump github.com/emicklei/go-restful from v2.9.5+incompatible to v3.8.0 - #11641
depsBump github.com/hashicorp/consul/api from 1.12.0 to 1.13.1 - #11640
depsBump github.com/prometheus/client_golang from 1.12.2 to 1.13.0 - #11643
depsBump google.golang.org/api from 0.85.0 to 0.91.0 - #11644
depsBump github.com/antchfx/xmlquery from 1.3.9 to 1.3.12 - #11651
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 - #11652
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds - #11653
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs
v1.23.3 [2022-07-25]
Bugfixes
- #11481
inputs.openstackUse v3 volume library - #11482
common.cookieUse reader over readcloser, regen cookie-jar at reauth - #11527
inputs.mqtt_consumerTopic parsing error when topic having prefix '/' - #11534
inputs.snmp_trapNil map panic when use snmp_trap with netsnmp translator - #11522
inputs.sqlserverSet lower deadlock priority on queries - #11486
parsers.prometheusHistogram infinity bucket must be always present
Dependency Updates
- #11461 Bump github.com/antchfx/jsonquery from 1.1.5 to 1.2.0
v1.23.2 [2022-07-11]
Bugfixes
- #11460 Deprecation warnings for non-deprecated packages
- #11472
common.httpAllow 201 for cookies, update header docs - #11448
inputs.sqlserverUse bigint for backupsize in sqlserver - #11011
inputs.gnmiRefactor tag-only subs for complex keys - #10331
inputs.snmpSnmp UseUnconnectedUDPSocket when using udp
Dependency Updates
- #11438 Bump github.com/docker/docker from 20.10.14 to 20.10.17
v1.23.1 [2022-07-05]
Bugfixes
- #11335 Bring back old xpath section names
- #9315
inputs.rabbitmqDon't require listeners to be present in overview - #11280 Filter out views in mongodb lookup
- #11311 Fix race condition in configuration and prevent concurrent map writes to c.UnusedFields
- #11397 Resolve jolokia2 panic on null response
- #11276 Restore sample configurations broken during initial migration
- #11413 Sync back sample.confs for inputs.couchbase and outputs.groundwork.
Dependency Updates
- #11295 Bump cloud.google.com/go/monitoring from 1.2.0 to 1.5.0
- #11297 Bump github.com/aws/aws-sdk-go-v2/credentials from 1.12.2 to 1.12.5
- #11318 Bump google.golang.org/grpc from 1.46.2 to 1.47.0
- #11223 Bump k8s.io/client-go from 0.23.3 to 0.24.1
- #11299 Bump github.com/go-logfmt/logfmt from 0.5.0 to 0.5.1
- #11328 Bump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.15.3 to 1.15.7
- #11320 Bump go.mongodb.org/mongo-driver from 1.9.0 to 1.9.1
- #11321 Bump github.com/gophercloud/gophercloud from 0.24.0 to 0.25.0
- #11338 Bump google.golang.org/api from 0.74.0 to 0.84.0
- #11340 Bump github.com/fatih/color from 1.10.0 to 1.13.0
- #11322 Bump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.3.2 to 1.13.6
- #11319 Bump github.com/Shopify/sarama from 1.32.0 to 1.34.1
- #11342 Bump github.com/dynatrace-oss/dynatrace-metric-utils-go from 0.3.0 to 0.5.0
- #11339 Bump github.com/nats-io/nats.go from 1.15.0 to 1.16.0
- #11349 Bump cloud.google.com/go/pubsub from 1.18.0 to 1.22.2
- #11369 Bump go.opentelemetry.io/collector/pdata from 0.52.0 to 0.54.0
- #11346 Bump github.com/jackc/pgx/v4 from 4.15.0 to 4.16.1
- #11379 Bump cloud.google.com/go/bigquery from 1.8.0 to 1.33.0
- #11378 Bump github.com/Azure/azure-kusto-go from 0.6.0 to 0.7.0
- #11394 Bump cloud.google.com/go/pubsub from 1.22.2 to 1.23.0
- #11380 Bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.13.0 to 1.15.7
- #11382 Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.1.0 to 1.46.0
- #11395 Bump github.com/golang-jwt/jwt/v4 from 4.4.1 to 4.4.2
- #11396 Bump github.com/vmware/govmomi from 0.27.3 to 0.28.0
- #11415 Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.15.4 to 1.15.8
- #11416 Bump github.com/influxdata/influxdb-observability/otel2influx from 0.2.21 to 0.2.22
- #11434 Bump k8s.io/api from 0.24.1 to 0.24.2
- #11437 Bump github.com/prometheus/client_golang from 1.12.1 to 1.12.2
v1.23.0 [2022-06-13]
Bugfixes
- #11272 Add missing build constraints for sqlite
- #11253 Always build README-embedder for host-architecture
- #11140 Avoid calling sadc with invalid 0 interval
- #11093 Check net.Listen() error in tests
- #11181 Convert slab plugin to new sample.conf.
- #10979 Datadog count metrics
- #11044 Deprecate useless database config option
- #11150 Doc interval setting for internet speed plugin
- #11120 Elasticsearch output float handling test
- #11151 Improve slab testing without sudo.
- #10995 Log instance name in skip warnings
- #11069 Output erroneous namespace and continue instead of error out
- #11237 Re-add event to splunk serializer
- #11143 Redis plugin goroutine leak triggered by auto reload config mechanism
- #11082 Remove any content type from prometheus accept header
- #11261 Remove full access permissions
- #11179 Search services file in /etc/services and fall back to /usr/etc/services
- #11217 Update sample.conf for prometheus
- #11241 Upgrade xpath and fix code
- #11083 Use readers over closers in http input
- #11149
inputs.burrowMove Dialer to variable and runmake fmt - #10812
outputs.sqlTable existence cache
Features
- #10880 Add ANSI color filter for tail input plugin
- #11188 Add constant 'algorithm' to the mock plugin
- #11159 Add external huebridge input plugin
- #11076 Add field key option to set event partition key
- #10818 Add fritzbox as external plugin
- #11037 Add influx semantic commits checker, checks only last commit.
- #11039 Add mount option filtering to disk plugin
- #11075 Add slab metrics input plugin
- #11056 Allow other fluentd metrics apart from retry_count, buffer_queu…
- #10918 Artifactory Webhook Receiver
- #11000 Create and push nightly docker images to quay.io
- #11102 Do not error if no nodes found for current config with xpath parser
- #10886 Generate the plugins sample config
- #11084 Google API Auth
- #10607 In Lustre input plugin, support collecting per-client stats.
- #10912 Migrate aggregator plugins to new sample config format
- #10924 Migrate input plugins to new sample config format (A-L)
- #10926 Migrate input plugins to new sample config format (M-Z)
- #10910 Migrate output plugins to new sample config format
- #10913 Migrate processor plugins to new sample config format
- #11218 Migrate xpath parser to new style
- #10885 Update etc/telegraf.conf and etc/telegraf_windows.conf
- #6948
inputs.burrowfill more http transport parameters - #11141
inputs.cpuAdd tags with core id or physical id to cpus - #7896
inputs.mongodbAdd metrics about files currently open and currently active data handles - #10448
inputs.nginx_plus_apiGather slab metrics - #11216
inputs.sqlserverUpdate query store and latch performance counters - #10574
inputs.vsphereCollect resource pools metrics and add resource pool tag in VM metrics - #11035
inputs.intel_powerstatAdd Max Turbo Frequency and introduce improvements - #11254
inputs.intel_powerstatAdd uncore frequency metrics - #10954
outputs.httpSupport configuration ofMaxIdleConnsandMaxIdleConnsPerHost - #10853
outputs.elasticsearchAdd healthcheck timeout
Dependency Updates
- #10970 Update github.com/wavefronthq/wavefront-sdk-go from 0.9.10 to 0.9.11
- #11166 Update github.com/aws/aws-sdk-go-v2/config from 1.15.3 to 1.15.7
- #11021 Update github.com/sensu/sensu-go/api/core/v2 from 2.13.0 to 2.14.0
- #11088 Update go.opentelemetry.io/otel/metric from 0.28.0 to 0.30.0
- #11221 Update github.com/nats-io/nats-server/v2 from 2.7.4 to 2.8.4
- #11191 Update golangci-lint from v1.45.2 to v1.46.2
- #11107 Update gopsutil from v3.22.3 to v3.22.4 to allow for HOST_PROC_MOUNTINFO.
- #11242 Update moby/ipvs dependency from v1.0.1 to v1.0.2
- #11260 Update modernc.org/sqlite from v1.10.8 to v1.17.3
- #11266 Update github.com/containerd/containerd from v1.5.11 to v1.5.13
- #11264 Update github.com/tidwall/gjson from 1.10.2 to 1.14.1
v1.22.4 [2022-05-16]
Bugfixes
- #11045
inputs.couchbaseDo not assume metrics will all be of the same length - #11043
inputs.statsdDo not error when closing statsd network connection - #11030
outputs.azure_monitorRe-init azure monitor http client on context deadline error - #11078
outputs.wavefrontIf no "host" tag is provided do not add "telegraf.host" tag - #11042 Have telegraf service wait for network up in systemd packaging
Dependency Updates
- #10722
inputs.internet_speedUpdate github.com/showwin/speedtest-go from 1.1.4 to 1.1.5 - #11085 Update OpenTelemetry plugins to v0.51.0
v1.22.3 [2022-04-28]
Bugfixes
- #10961 Update Go to 1.18.1
- #10976
inputs.influxdb_listenerRemove duplicate influxdb listener writes with upstream parser - #11024
inputs.gnmiUse external xpath parser for gnmi - #10925
inputs.systemReduce log level in disk plugin back to original level
v1.22.2 [2022-04-25]
Bugfixes
- #11008
inputs.gnmiAdd mutex to gnmi lookup map - #11010
inputs.gnmiUse sprint to cast to strings in gnmi - #11001
inputs.consul_agentUse correct auth token with consul_agent - #10486
inputs.mysqlAdd mariadb_dialect to address the MariaDB differences in INNODB_METRICS - #10923
inputs.smartCorrectly parse various numeric forms - #10850
inputs.aliyuncmsEnsure aliyuncms metrics accept array, fix discovery - #10930
inputs.aerospikeStatistics query bug - #10947
inputs.cisco_telemetry_mdtAlign the default value for msg size - #10959
inputs.cisco_telemetry_mdtRemove overly verbose info message from cisco mdt - #10958
outputs.influxdb_v2Improve influxdb_v2 error message - #10932
inputs.prometheusMoved from watcher to informer - #11013 Also allow 0 outputs when using test-wait parameter
- #11015 Allow Makefile to work on Windows
Dependency Updates
- #10966 Update github.com/Azure/azure-kusto-go from 0.5.0 to 0.60
- #10963 Update opentelemetry from v0.2.10 to v0.2.17
- #10984 Update go.opentelemetry.io/collector/pdata from v0.48.0 to v0.49.0
- #10998 Update github.com/aws/aws-sdk-go-v2/config from 1.13.1 to 1.15.3
- #10997 Update github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs
- #10975 Update github.com/aws/aws-sdk-go-v2/credentials from 1.8.0 to 1.11.2
- #10981 Update github.com/containerd/containerd from v1.5.9 to v1.5.11
- #10973 Update github.com/miekg/dns from 1.1.46 to 1.1.48
- #10974 Update github.com/gopcua/opcua from v0.3.1 to v0.3.3
- #10972 Update github.com/aws/aws-sdk-go-v2/service/dynamodb
- #10773 Update github.com/xdg/scram from 1.0.3 to 1.0.5
- #10971 Update go.mongodb.org/mongo-driver from 1.8.3 to 1.9.0
- #10940 Update starlark 7a1108eaa012->d1966c6b9fcd
v1.22.1 [2022-04-06]
Bugfixes
- #10937 Update gonum.org/v1/gonum from 0.9.3 to 0.11.0
- #10906 Update github.com/golang-jwt/jwt/v4 from 4.2.0 to 4.4.1
- #10931 Update gopsutil and associated dependencies for improved OpenBSD support
- #10553
inputs.sqlserverFix inconsistencies in sql*Requests queries - #10883
agentFix default value for logfile rotation interval - #10871
inputs.zfsFix redundant zfs pool tag - #10903
inputs.vsphereUpdate vsphere info message to debug - #10866
outputs.azure_monitorInclude body in error message - #10830
processors.topkClarify the k and fields topk params - #10858
outputs.httpSwitch HTTP 100 test case values - #10859
inputs.intel_pmuFix slow running intel-pmu test - #10860
inputs.cloud_pubsubSkip longer/integration tests on -short mode - #10861
inputs.cloud_pubsub_pushReduce timeouts and sleeps
New External Plugins
- #10462
external.psiAdd psi plugin
v1.22.0
Influx Line Protocol Parser
There is an option to use a faster, more memory-efficient implementation of the Influx Line Protocol parser.
SNMP Translator
This version introduces an agent setting to select the method of translating SNMP objects. The agent setting "snmp_translator" can be "netsnmp" which translates by calling external programs snmptranslate and snmptable, or "gosmi" which translates using the built-in gosmi library.
Before version 1.21.0, Telegraf only used the netsnmp method. Versions
1.21.0 through 1.21.4 only used the gosmi method. Since the
translation method is now configurable and "netsnmp" is the default,
users who wish to continue using "gosmi" must add snmp_translator = "gosmi" in the agent section of their config file. See
#10802.
New Input Plugins
- #3649
inputs.socketstatAdd socketstat input plugin - #9697
inputs.xtremioAdd xtremio input - #9782
inputs.mockAdd mock input plugin - #10042
inputs.redis_sentinelAdd redis sentinel input plugin - #10106
inputs.nomadAdd nomad input plugin - #10198
inputs.vaultAdd vault input plugin - #10258
inputs.consul_agentAdd consul agent input plugin - #10763
inputs.hugepagesAdd hugepages input plugin
New Processor Plugins
- #10057
processors.noiseAdd noise processor plugin
Features
- #9332
agentHTTP basic auth for webhooks - #10307
agentImprove error logging on plugin initialization - #10341
agentCheck TLSConfig early to catch missing certificates - #10404
agentSupport headers for http plugin with cookie auth - #10545
agentAdd a collection offset implementation - #10559
agentAdd autorestart and restartdelay flags to Windows service - #10515
aggregators.histogramAdd config option to push only updated values - #10520
aggregators.histogramAdd expiration option - #10137
inputs.bondAdd additional stats to bond collector - #10382
inputs.dockerUpdate docker client API version - #10575
inputs.fileAllow for stateful parser handling - #7484
inputs.gnmiadd dynamic tagging to gnmi plugin - #10220
inputs.graylogAdd timeout setting option - #10530
inputs.internet_speedAdd caching to internet_speed - #10243
inputs.kibanaAdd heap_size_limit field - #10641
inputs.memcachedgather additional stats from memcached - #10642
inputs.memcachedSupport client TLS origination - #9279
inputs.modbusSupport multiple slaves with gateway - #10231
inputs.modbusAdd per-request tags - #10625
inputs.mongodbAdd FsTotalSize and FsUsedSize fields - #10787
inputs.nfsclientAdd new rtt per op field - #10705
inputs.openweathermapAdd feels_like field - #9710
inputs.postgresqlAdd option to disable prepared statements for PostgreSQL - #10339
inputs.snmp_trapDeprecate unused snmp_trap timeout configuration option - #9671
inputs.sqlAdd ClickHouse driver to sql inputs/outputs plugins - #10466
inputs.statsdAdd option to sanitize collected metric names - #9432
inputs.varnishCreate option to reduce potentially high cardinality - #6501
inputs.win_perf_countersImplemented support for reading raw values, added tests and doc - #10535
inputs.win_perf_countersAllow errors to be ignored - #9822
inputs.x509_certAdd exclude_root_certs option to x509_cert plugin - #9963
outputs.datadogAdd the option to use compression - #10505
outputs.elasticsearchAdd elastic pipeline flags - #10499
outputs.groundworkProcess group tags - #10186
outputs.httpAdd optional list of non retryable http status codes - #10202
outputs.httpSupport AWS managed service for prometheus - #8192
outputs.kafkaAdd socks5 proxy support - #10673
outputs.sqlAdd unsigned style config option - #10672
outputs.websocketAdd socks5 proxy support - #10267
parsers.csvAdd option to skip errors during parsing - #10749
parsers.influxAdd new influx line protocol parser via feature flag - #10585
parsers.xpathAdd tag batch-processing to XPath parser - #10316
processors.templateAdd more functionality to template processor - #10252
serializers.wavefrontAdd option to disable Wavefront prefix conversion
Bugfixes
- #10803
agentUpdate parsing logic of config.Duration to correctly require time and duration - #10814
agentUpdate the precision parameter default value - #10872
agentChange name of agent snmp translator setting - #10876
inputs.consul_agentRename consul_metrics -> consul_agent - #10711
inputs.dockerKeep data type of tasks_desired field consistent - #10083
inputs.httpAdd metadata support to CSV parser plugin - #10701
inputs.mdstatFix parsing output when when sync is less than 10% - #10385
inputs.modbusRe-enable OpenBSD modbus support - #10790
inputs.ntpqCorrectly read ntpq long poll output with extra characters - #10384
inputs.opcuaAccept non-standard OPC UA OK status by implementing a configurable workaround - #10465
inputs.opcuaAdd additional data to error messages - #10735
inputs.snmpLog err when loading mibs - #10748
inputs.snmpUse the correct path when evaluating symlink - #10802
inputs.snmpAdd option to select translator - #10527
inputs.systemRemove verbose logging from disk input plugin - #10706
outputs.influxdb_v2Include influxdb bucket name in error messages - #10623
outputs.groundworkSet NextCheckTime to LastCheckTime to avoid GroundWork to invent a value - #10749
parsers.influxAdd new influx line protocol parser via feature flag - #10777
parsers.json_v2Allow multiple optional objects - #10799
parsers.json_v2Check if gpath exists and support optional in fields/tags - #10798
parsers.xpathCorrectly handling imports in protocol-buffer definitions - #10602 Update github.com/aws/aws-sdk-go-v2/service/sts from 1.7.2 to 1.14.0
- #10604 Update github.com/aerospike/aerospike-client-go from 1.27.0 to 5.7.0
- #10686 Update github.com/sleepinggenius2/gosmi from v0.4.3 to v0.4.4
- #10692 Update github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.5.0 to 1.13.0
- #10693 Update github.com/gophercloud/gophercloud from 0.16.0 to 0.24.0
- #10702 Update github.com/jackc/pgx/v4 from 4.14.1 to 4.15.0
- #10704 Update github.com/sensu/sensu-go/api/core/v2 from 2.12.0 to 2.13.0
- #10713 Update k8s.io/api from 0.23.3 to 0.23.4
- #10714 Update cloud.google.com/go/pubsub from 1.17.1 to 1.18.0
- #10715 Update github.com/newrelic/newrelic-telemetry-sdk-go from 0.5.1 to 0.8.1
- #10717 Update github.com/ClickHouse/clickhouse-go from 1.5.1 to 1.5.4
- #10718 Update github.com/wavefronthq/wavefront-sdk-go from 0.9.9 to 0.9.10
- #10719 Update github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.12.0 to 1.13.0
- #10720 Update github.com/aws/aws-sdk-go-v2/config from 1.8.3 to 1.13.1
- #10721 Update github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.6.0 to 1.10.0
- #10728 Update github.com/testcontainers/testcontainers-go from 0.11.1 to 0.12.0
- #10751 Update github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.13.0 to 1.14.0
- #10752 Update github.com/nats-io/nats-server/v2 from 2.7.2 to 2.7.3
- #10757 Update github.com/miekg/dns from 1.1.43 to 1.1.46
- #10758 Update github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.2
- #10759 Update github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.10.0 to 1.11.0
- #10772 Update github.com/Shopify/sarama from 1.29.1 to 1.32.0
- #10807 Update github.com/nats-io/nats-server/v2 from 2.7.3 to 2.7.4
v1.21.4 [2022-02-16]
Bugfixes
- #10491
inputs.dockerUpdate docker memory usage calculation - #10636
inputs.ecsUse current time as timestamp - #10551
inputs.snmpEnsure folders do not get loaded more than once - #10579
inputs.win_perf_countersAdd deprecated warning and version to win_perf_counters option - #10635
outputs.amqpCheck for nil client before closing in amqp - #10179
outputs.azure_data_explorerLower RAM usage - #10513
outputs.elasticsearchAdd scheme to fix error in sniffing option - #10657
parsers.json_v2Fix timestamp change during execution of json_v2 parser - #10618
parsers.json_v2Fix incorrect handling of json_v2 timestamp_path - #10468
parsers.json_v2Allow optional paths and handle wrong paths correctly - #10547
serializers.prometheusremotewriteUse the correct timestamp unit - #10647 Update all go.opentelemetry.io from 0.24.0 to 0.27.0
- #10652 Update github.com/signalfx/golib/v3 from 3.3.38 to 3.3.43
- #10653 Update github.com/aliyun/alibaba-cloud-sdk-go from 1.61.1004 to 1.61.1483
- #10503 Update github.com/denisenkom/go-mssqldb from 0.10.0 to 0.12.0
- #10626 Update github.com/gopcua/opcua from 0.2.3 to 0.3.1
- #10638 Update github.com/nats-io/nats-server/v2 from 2.6.5 to 2.7.2
- #10589 Update k8s.io/client-go from 0.22.2 to 0.23.3
- #10601 Update github.com/aws/aws-sdk-go-v2/service/kinesis from 1.6.0 to 1.13.0
- #10588 Update github.com/benbjohnson/clock from 1.1.0 to 1.3.0
- #10598 Update github.com/Azure/azure-kusto-go from 0.5.0 to 0.5.2
- #10571 Update github.com/vmware/govmomi from 0.27.2 to 0.27.3
- #10572 Update github.com/prometheus/client_golang from 1.11.0 to 1.12.1
- #10564 Update go.mongodb.org/mongo-driver from 1.7.3 to 1.8.3
- #10563 Update github.com/google/go-cmp from 0.5.6 to 0.5.7
- #10562 Update go.opentelemetry.io/collector/model from 0.39.0 to 0.43.2
- #10538 Update github.com/multiplay/go-ts3 from 1.0.0 to 1.0.1
- #10454 Update cloud.google.com/go/monitoring from 0.2.0 to 1.2.0
- #10536 Update github.com/vmware/govmomi from 0.26.0 to 0.27.2
New External Plugins
v1.21.3 [2022-01-27]
Bugfixes
- #10430
inputs.snmp_trapFix translation of partially resolved OIDs - #10529 Update deprecation notices
- #10525 Update grpc module to v1.44.0
- #10434 Update google.golang.org/api module from 0.54.0 to 0.65.0
- #10507 Update antchfx/xmlquery module from 1.3.6 to 1.3.9
- #10521 Update nsqio/go-nsq module from 1.0.8 to 1.1.0
- #10506 Update prometheus/common module from 0.31.1 to 0.32.1
- #10474
inputs.ipsetFix panic when command not found - #10504 Update cloud.google.com/go/pubsub module from 1.17.0 to 1.17.1
- #10432 Update influxdata/influxdb-observability/influx2otel module from 0.2.8 to 0.2.10
- #10478
inputs.opcuaRemove duplicate fields - #10473
parsers.nagiosLog correct errors when executing commands - #10463
inputs.execdAdd newline in execd for prometheus parsing - #10451 Update shirou/gopsutil/v3 module from 3.21.10 to 3.21.12
- #10453 Update jackc/pgx/v4 module from 4.6.0 to 4.14.1
- #10449 Update Azure/azure-event-hubs-go/v3 module from 3.3.13 to 3.3.17
- #10450 Update gosnmp/gosnmp module from 1.33.0 to 1.34.0
- #10442
parsers.wavefrontAdd missing setting wavefront_disable_prefix_conversion - #10435 Update hashicorp/consul/api module from 1.9.1 to 1.12.0
- #10436 Update antchfx/xpath module from 1.1.11 to 1.2.0
- #10433 Update antchfx/jsonquery module from 1.1.4 to 1.1.5
- #10414 Update prometheus/procfs module from 0.6.0 to 0.7.3
- #10354
inputs.snmpFix panic when mibs folder doesn't exist (#10346) - #10393
outputs.syslogCorrectly set ASCII trailer for syslog output - #10415 Update aws/aws-sdk-go-v2/service/cloudwatchlogs module from 1.5.2 to 1.12.0
- #10416 Update kardianos/service module from 1.0.0 to 1.2.1
- #10396
inputs.httpAllow empty http body - #10417 Update couchbase/go-couchbase module from 0.1.0 to 0.1.1
- #10413
parsers.json_v2Fix timestamp precision when using unix_ns format - #10418 Update pion/dtls/v2 module from 2.0.9 to 2.0.13
- #10402 Update containerd/containerd module to 1.5.9
- #8947
outputs.timestreamFix batching logic with write records and introduce concurrent requests - #10360
outputs.amqpAvoid connection leak when writing error - #10097
outputs.stackdriverSend correct interval start times for counters
v1.21.2 [2022-01-05]
Release Notes
Happy New Year!
Features
- Added arm64 MacOS builds
- Added riscv64 Linux builds
- Numerous changes to CircleCI config to ensure more timely completion and more clear execution flow
Bugfixes
- #10318
inputs.diskFix missing storage in containers - #10324
inputs.dpdkAdd note about dpdk and socket availability - #10296
inputs.logparserResolve panic in logparser due to missing Log - #10322
inputs.snmpEnsure module load order to avoid snmp marshal error - #10321
inputs.snmpDo not require networking during tests - #10303
inputs.snmpResolve SNMP panic due to no gosmi module - #10295
inputs.snmpGrab MIB table columns more accurately - #10299
inputs.snmpCheck index before assignment when floating :: exists to avoid panic - #10301
inputs.snmpFix panic if no mibs folder is found - #10373
inputs.snmp_trapDocument deprecation of timeout parameter - #10377
parsers.csvempty import tzdata for Windows binaries to correctly set timezone - #10332 Update github.com/djherbis/times module from v1.2.0 to v1.5.0
- #10343 Update github.com/go-ldap/ldap/v3 module from v3.1.0 to v3.4.1
- #10255 Update github.com/gwos/tcg/sdk module from v0.0.0-20211130162655-32ad77586ccf to v0.0.0-20211223101342-35fbd1ae683c and improve logging
v1.21.1 [2021-12-16]
Bugfixes
- #10288 Fix panic in parsers due to missing Log for all plugins using SetParserFunc.
- #10288 Fix panic in parsers due to missing Log for all plugins using SetParserFunc
- #10247 Update go-sensu module to v2.12.0
- #10284
inputs.openstackFix typo in openstack neutron input plugin (newtron)
Features
- #10239 Enable Darwin arm64 build
- #10150
inputs.smartAdd SMART plugin concurrency configuration option, nvme-cli v1.14+ support and lint fixes. - #10150
inputs.smartAdd SMART plugin concurrency configuration option, nvme-cli v1.14+ support and lint fixes
v1.21.0 [2021-12-15]
Release Notes
The signing for RPM digest has changed to use sha256 to improve security. Please see the pull request for more details: #10272.
Thank you to @zak-pawel for lots of linter fixes!
Bugfixes
- #10268
inputs.snmpUpdate snmp plugin to respect number of retries configured - #10225
outputs.wavefrontFlush wavefront output sender on error to clean up broken connections - #9970 Restart Telegraf service if it is already running and upgraded via RPM
- #10188
parsers.xpathHandle duplicate registration of protocol-buffer files gracefully - #10132
inputs.http_listener_v2Fix panic on close to check that Telegraf is closing - #10196
outputs.elasticsearchImplement NaN and inf handling for elasticsearch output - #10205 Print loaded plugins and deprecations for once and test flags
- #10214
processors.ifnameEliminate MIB dependency for ifname processor - #10206
inputs.snmpOptimize locking for SNMP MIBs loading - #9975
inputs.kube_inventorySet TLS server name config properly - #10230 Sudden close of Telegraf caused by OPC UA input plugin
- #9913 Update eclipse/paho.mqtt.golang module from 1.3.0 to 1.3.5
- #10221
parsers.json_v2Parser timestamp setting order - #10209
outputs.graylogEnsure graylog spec fields not prefixed with _ - #10099
inputs.zfsPool detection and metrics gathering for ZFS >= 2.1.x - #10007
processors.ifnameParallelism fix for ifname processor - #10208
inputs.mqtt_consumerMqtt topic extracting no longer requires all three fields - #9616 Windows Service - graceful shutdown of telegraf
- #10203 Revert unintended corruption of the Makefile
- #10112
inputs.cloudwatchCloudwatch metrics collection - #10178
outputs.allRegister bigquery to output plugins - #10165
inputs.sysstatSysstat to use unique temp file vs hard-coded - #10046 Update nats-sever to support openbsd
- #10091
inputs.prometheusCheck error before defer in prometheus k8s - #10101
inputs.win_perf_countersAdd setting to win_perf_counters input to ignore localization - #10136
inputs.snmp_trapRemove snmptranslate from readme and fix default path - #10116
inputs.statsdInput plugin statsd parse error - #10131 Skip knxlistener when writing the sample config
- #10119
inputs.cpuUpdate shirou/gopsutil from v2 to v3 - #10074
outputs.graylogFailing test due to port already in use - #9865
inputs.directory_monitorDirectory monitor input plugin when data format is CSV and csv_skip_rows>0 and csv_header_row_count>=1 - #9862
outputs.graylogGraylog plugin TLS support and message format - #9908
parsers.json_v2Remove dead code - #9881
outputs.graylogMute graylog UDP/TCP tests by marking them as integration - #9751 Update google.golang.org/grpc module from 1.39.1 to 1.40.0
Features
- #10200
aggregators.deprecations.goImplement deprecation infrastructure - #9518
inputs.snmpSnmp to use gosmi - #10130
outputs.influxdb_v2Add retry to 413 errors with InfluxDB output - #10144
inputs.win_servicesAdd exclude filter - #9995
inputs.mqtt_consumerEnable extracting tag values from MQTT topics - #9419
aggregators.allAdd support of aggregator as Starlark script - #9561
processors.regexExtend regexp processor do allow renaming of measurements, tags and fields - #8184
outputs.httpAdd use_batch_format for HTTP output plugin - #9988
inputs.kafka_consumerAdd max_processing_time config to Kafka Consumer input - #9841
inputs.sqlserverAdd additional metrics to support elastic pool (sqlserver plugin) - #9910
common.tlsFilter client certificates by DNS names - #9942
outputs.azure_data_explorerAdd option to skip table creation in azure data explorer output - #9984
processors.ifnameAdd more details to logmessages - #9833
common.kafkaAdd metadata full to config - #9876 Update etc/telegraf.conf and etc/telegraf_windows.conf
- #9256
inputs.modbusModbus connection settings (serial) - #9860
inputs.directory_monitorAdds the ability to create and name a tag containing the filename using the directory monitor input plugin - #9740
inputs.prometheusAdd ignore_timestamp option - #9513
processors.starlarkStarlark processor example for processing sparkplug_b messages - #9449
parsers.json_v2Support defining field/tag tables within an object table - #9827
inputs.elasticsearch_queryAdd debug query output to elasticsearch_query - #9241
inputs.snmpTelegraf to merge tables with different indexes - #9013
inputs.opcuaAllow user to select the source for the metric timestamp. - #9706
inputs.puppetagentAdd measurements from puppet 5 - #9644
outputs.graylogAdd graylog plugin TCP support - #8229
outputs.azure_data_explorerAdd json_timestamp_layout option
New Input Plugins
New Output Plugins
- #9891 Add new groundwork output plugin
- #9923 Add mongodb output plugin
- #9346 Azure Event Hubs output plugin
v1.20.4 [2021-11-17]
Release Notes
- #10073 Update go version from 1.17.2 to 1.17.3
- #10100 Update deprecated plugin READMEs to better indicate deprecation
Thank you to @zak-pawel for lots of linter fixes!
- #9986 Linter fixes for plugins/inputs/[h-j]*
- #9999 Linter fixes for plugins/inputs/[k-l]*
- #10006 Linter fixes for plugins/inputs/m*
- #10011 Linter fixes for plugins/inputs/[n-o]*
Bugfixes
- #10089 Update BurntSushi/toml from 0.3.1 to 0.4.1
- #10075
inputs.mongodbUpdate readme with correct connection URI - #10076 Update gosnmp module from 1.32 to 1.33
- #9966
inputs.mysqlFix type conversion follow-up - #10068
inputs.proxmoxChanged VM ID from string to int - #10047
inputs.modbusDo not build modbus on openbsd - #10019
inputs.cisco_telemetry_mdtMove to new protobuf library - #10001
outputs.lokiAdd metric name with label "__name" - #9980
inputs.nvidia_smiSet the default path correctly - #10010 Update go.opentelemetry.io/otel from v0.23.0 to v0.24.0
- #10044
inputs.sqlserverAdd elastic pool in supported versions in sqlserver - #10029
inputs.influxdbUpdate influxdb input schema docs - #10026
inputs.intel_rdtCorrect timezone handling
v1.20.3 [2021-10-27]
Release Notes
- #9873 Update go to 1.17.2
Bugfixes
- #9948 Update github.com/aws/aws-sdk-go-v2/config module from 1.8.2 to 1.8.3
- #9997
inputs.ipmi_sensorRedact IPMI password in logs - #9978
inputs.kube_inventoryDo not skip resources with zero s/ns timestamps - #9998 Update gjson module to v1.10.2
- #9973
inputs.procstatRevert and fix tag creation - #9943
inputs.sqlserverAdd sqlserver plugin integration tests - #9647
inputs.cloudwatchUse the AWS SDK v2 library - #9954
processors.starlarkStarlark pop operation for non-existing keys - #9956
inputs.zfsCheck return code of zfs command for FreeBSD - #9585
inputs.kube_inventoryFix segfault in ingress, persistentvolumeclaim, statefulset in kube_inventory - #9901
inputs.ethtoolAdd normalization of tags for ethtool input plugin - #9957
inputs.internet_speedResolve missing latency field - #9662
inputs.prometheusDecode Prometheus scrape path from Kubernetes labels - #9933
inputs.procstatCorrect conversion of int with specific bit size - #9940
inputs.webhooksProvide more fields for papertrail event webhook - #9892
inputs.mongodbSolve compatibility issue for mongodb inputs when using 5.x relicaset - #9768 Update github.com/Azure/azure-kusto-go module from 0.3.2 to 0.4.0
- #9904 Update github.com/golang-jwt/jwt/v4 module from 4.0.0 to 4.1.0
- #9921 Update github.com/apache/thrift module from 0.14.2 to 0.15.0
- #9403
inputs.mysqlFix inconsistent metric types in mysql - #9905 Update github.com/docker/docker module from 20.10.7+incompatible to 20.10.9+incompatible
- #9920
inputs.prometheusMove err check to correct place - #9869 Update github.com/prometheus/common module from 0.26.0 to 0.31.1
- #9866 Update snowflake database driver module to 1.6.2
- #9527
inputs.intel_rdtAllow sudo usage - #9893 Update github.com/jaegertracing/jaeger module from 1.15.1 to 1.26.0
New External Plugins
- IBM DB2 - contributed by @sranka
- Oracle Database - contributed by @sranka
v1.20.2 [2021-10-07]
Bugfixes
- #9878
inputs.cloudwatchUse new session API - #9872
parsers.json_v2Duplicate line_protocol when using object and fields - #9787
parsers.influxFix memory leak in influx parser - #9880
inputs.stackdriverMigrate to cloud.google.com/go/monitoring/apiv3/v2 - #9887 Fix makefile typo that prevented i386 tar and rpm packages from being built
v1.20.1 [2021-10-06]
Bugfixes
- #9776 Update k8s.io/apimachinery module from 0.21.1 to 0.22.2
- #9864 Update containerd module to v1.5.7
- #9863 Update consul module to v1.11.0
- #9846
inputs.mongodbFix panic due to nil dereference - #9850
inputs.intel_rdtPrevent timeout when logging - #9848
outputs.lokiUpdate http_headers setting to match sample config - #9808
inputs.procstatAdd missing tags - #9803
outputs.mqttAdd keep alive config option and documentation around issue with eclipse/mosquitto version - #9800 Fix output buffer never completely flushing
- #9458
inputs.couchbaseFix insecure certificate validation - #9797
inputs.opentelemetryFix error returned to OpenTelemetry client - #9789 Update github.com/testcontainers/testcontainers-go module from 0.11.0 to 0.11.1
- #9791 Update github.com/Azure/go-autorest/autorest/adal module
- #9678 Update github.com/Azure/go-autorest/autorest/azure/auth module from 0.5.6 to 0.5.8
- #9769 Update cloud.google.com/go/pubsub module from 1.15.0 to 1.17.0
- #9770 Update github.com/aws/smithy-go module from 1.3.1 to 1.8.0
Features
- #9838
inputs.elasticsearch_queryAdd custom time/date format field
v1.20.0 [2021-09-17]
Release Notes
- #9642 Build with Golang 1.17
Bugfixes
- #9700 Update thrift module to 0.14.2 and zipkin-go-opentracing to 0.4.5
- #9587
outputs.opentelemetryUse headers config in grpc requests - #9713 Update runc module to v1.0.0-rc95 to address CVE-2021-30465
- #9699 Migrate dgrijalva/jwt-go to golang-jwt/jwt/v4
- #9139
serializers.prometheusUpdate timestamps and expiration time as new data arrives - #9625
outputs.graylogOutput timestamp with fractional seconds - #9655 Update cloud.google.com/go/pubsub module from 1.2.0 to 1.15.0
- #9674
inputs.mongodbChange command based on server version - #9676
outputs.dynatraceRemove hardcoded int value - #9619
outputs.influxdb_v2Increase accepted retry-after header values. - #9652 Update tinylib/msgp module from 1.1.5 to 1.1.6
- #9471
inputs.sqlMake timeout apply to single query - #9760 Update shirou/gopsutil module to 3.21.8
- #9707
inputs.logstashAdd additional logstash output plugin stats - #9656 Update miekg/dns module from 1.1.31 to 1.1.43
- #9750 Update antchfx/xmlquery module from 1.3.5 to 1.3.6
- #9757
parsers.registry.goFix panic for non-existing metric names - #9677 Update Azure/azure-event-hubs-go/v3 module from 3.2.0 to 3.3.13
- #9653 Update prometheus/client_golang module from 1.7.1 to 1.11.0
- #9693
inputs.cloudwatchFix pagination error - #9727
outputs.httpAdd error message logging - #9718 Update influxdata/influxdb-observability module from 0.2.4 to 0.2.7
- #9560 Update gopcua/opcua module
- #9544
inputs.couchbaseFix memory leak - #9588
outputs.opentelemetryUse attributes setting
Features
- #9665
inputs.systemd_unitsfeat(plugins/inputs/systemd_units): add pattern support - #9598
outputs.sqlAdd bool datatype - #9386
inputs.cloudwatchPull metrics from multiple AWS CloudWatch namespaces - #9411
inputs.cloudwatchSupport AWS Web Identity Provider - #9570
inputs.modbusAdd support for RTU over TCP - #9488
inputs.procstatSupport cgroup globs and include systemd unit children - #9322
inputs.suricataSupport alert event type - #5464
inputs.prometheusAdd ability to query Consul Service catalog - #8641
outputs.prometheus_clientAdd Landing page - #9529
inputs.http_listener_v2Allows multiple paths and add path_tag - #9395 Add cookie authentication to HTTP input and output plugins
- #8454
inputs.syslogAdd RFC3164 support - #9351
inputs.jenkinsAdd option to include nodes by name - #9277 Add JSON, MessagePack, and Protocol-buffers format support to the XPath parser
- #9343
inputs.snmp_trapImprove MIB lookup performance - #9342
outputs.newrelicAdd option to override metric_url - #9306
inputs.smartAdd power mode status - #9762
inputs.bondAdd count of bonded slaves (for easier alerting) - #9675
outputs.dynatraceRemove special handling from counters and update dynatrace-oss/dynatrace-metric-utils-go module to 0.3.0
New Input Plugins
- #9602 Add rocm_smi input to monitor AMD GPUs
- #9101 Add mdstat input to gather from /proc/mdstat collection
- #3536 Add Elasticsearch query input
- #9623 Add internet Speed Monitor Input Plugin
New Output Plugins
v1.19.3 [2021-08-18]
Bugfixes
- #9639 Update sirupsen/logrus module from 1.7.0 to 1.8.1
- #9638 Update testcontainers/testcontainers-go module from 0.11.0 to 0.11.1
- #9637 Update golang/snappy module from 0.0.3 to 0.0.4
- #9636 Update aws/aws-sdk-go-v2 module from 1.3.2 to 1.8.0
- #9605
inputs.prometheusFix prometheus kubernetes pod discovery - #9606
inputs.redisImprove redis commands documentation - #9566
outputs.cratedbReplace dots in tag keys with underscores - #9401
inputs.clickhouseFix panic, improve handling empty result set - #9583
inputs.opcuaAvoid closing session on a closed connection - #9576
processors.awsRefactor ec2 init for config-api - #9571
outputs.lokiSort logs by timestamp before writing to Loki - #9524
inputs.opcuaFix reconnection regression introduced in 1.19.1 - #9581
inputs.kube_inventoryFix k8s nodes and pods parsing error - #9577 Update sensu/go module to v2.9.0
- #9554
inputs.postgresqlNormalize unix socket path - #9565 Update hashicorp/consul/api module to 1.9.1
- #9552
inputs.vsphereUpdate vmware/govmomi module to v0.26.0 in order to support vSphere 7.0 - #9550
inputs.opcuaDo not skip good quality nodes after a bad quality node is encountered
v1.19.2 [2021-07-28]
Release Notes
- #9542 Update Go to v1.16.6
Bugfixes
- #9363
outputs.dynatraceUpdate dynatrace output to allow optional default dimensions - #9526
outputs.influxdbFix metrics reported as written but not actually written - #9549
inputs.kube_inventoryPrevent segfault in persistent volume claims - #9503
inputs.nsq_consumerFix connection error when not using server setting - #9540
inputs.sqlFix handling bool column - #9387 Linter fixes for plugins/inputs/[fg]*
- #9438
inputs.kubernetesAttach the pod labels to kubernetes_pod_volume and kubernetes_pod_network metrics - #9519
processors.ifnameFix SNMP empty metric name - #8587
inputs.sqlserverAdd tempdb troubleshooting stats and missing V2 query metrics - #9323
inputs.x509_certPrevent x509_cert from hanging on UDP connection - #9504
parsers.json_v2Simplify how nesting is handled - #9493
inputs.mongodbSwitch to official mongo-go-driver module to fix SSL auth failure - #9491
outputs.dynatraceFix panic caused by uninitialized loggedMetrics map - #9497
inputs.prometheusFix prometheus cadvisor authentication - #9520
parsers.json_v2Add support for large uint64 and int64 numbers - #9447
inputs.statsdFix regression that didn't allow integer percentiles - #9466
inputs.sqlserverProvide detailed error message in telegraf log - #9399 Update dynatrace-metric-utils-go module to v0.2.0
- #8108
inputs.cgroupAllow multiple keys when parsing cgroups - #9479
parsers.json_v2Fix json_v2 parser to handle nested objects in arrays properly
Features
- #9485 Add option to automatically reload settings when config file is modified
v1.19.1 [2021-07-07]
Bugfixes
- #9388
inputs.sqlserverRequire authentication method to be specified - #9456
inputs.kube_inventoryFix segfault in kube_inventory - #9448
inputs.couchbaseFix panic - #9444
inputs.knx_listenerFix nil pointer panic - #9446
inputs.procstatUpdate gopsutil module to fix panic - #9443
inputs.rabbitmqFix JSON unmarshall regression - #9369 Update nat-server module to v2.2.6
- #9429
inputs.dovecotExclude read-timeout from being an error - #9423
inputs.statsdDon't stop parsing after parsing error - #9370 Update apimachinary module to v0.21.1
- #9373 Update jwt module to v1.2.2 and jwt-go module to v3.2.3
- #9412 Update couchbase Module to v0.1.0
- #9366
inputs.snmpAdd a check for oid and name to prevent empty metrics - #9413
outputs.httpFix toml error when parsing insecure_skip_verify - #9400
inputs.x509_certFix 'source' tag for https - #9375 Update signalfx module to v3.3.34
- #9406
parsers.json_v2Don't require tags to be added to included_keys - #9289
inputs.x509_certFix SNI support - #9372 Update gjson module to v1.8.0
- #9379 Linter fixes for plugins/inputs/[de]*
v1.19.0 [2021-06-17]
Release Notes
- Many linter fixes - thanks @zak-pawel and all!
- #9331 Update Go to 1.16.5
Bugfixes
- #9182 Update pgx to v4
- #9275 Fix reading config files starting with http:
- #9196
serializers.prometheusremotewriteUpdate dependency and remove tags with empty values - #9051
outputs.kafkaDon't prevent telegraf from starting when there's a connection error - #8795
parsers.prometheusremotewriteUpdate prometheus dependency to v2.21.0 - #9295
outputs.dynatraceUse dynatrace-metric-utils - #9368
parsers.json_v2Update json_v2 parser to handle null types - #9359
inputs.sqlFix import of sqlite and ignore it on all platforms that require CGO. - #9329
inputs.kube_inventoryFix connecting to the wrong url - #9358 upgrade denisenkom go-mssql to v0.10.0
- #9283
processors.parserFix segfault - #9243
inputs.dockerClose all idle connections - #9338
inputs.suricataSupport new JSON format - #9296
outputs.influxdbFix endless retries
Features
- #8987 Config file environment variable can be a URL
- #9297
outputs.datadogAdd HTTP proxy to datadog output - #9087 Add named timestamp formats
- #9276
inputs.vsphereAdd config option for the historical interval duration - #9274
inputs.pingAdd an option to specify packet size - #9007 Allow multiple "--config" and "--config-directory" flags
- #9249
outputs.graphiteAllow more characters in graphite tags - #8351
inputs.sqlserverAdded login_name - #9223
inputs.dovecotAdd support for unix domain sockets - #9118
processors.stringsAdd UTF-8 sanitizer - #9156
inputs.aliyuncmsAdd config option list of regions to query - #9138
common.httpAdd OAuth2 to HTTP input - #8822
inputs.sqlserverEnable Azure Active Directory (AAD) authentication support - #9136
inputs.cloudwatchAdd wildcard support in dimensions configuration - #5517
inputs.mysqlGather all mysql channels - #8911
processors.enumSupport float64 - #9105
processors.starlarkSupport nanosecond resolution timestamp - #9080
inputs.logstashAdd support for version 7 queue stats - #9074
parsers.prometheusremotewriteAdd starlark script for renaming metrics - #9032
inputs.couchbaseAdd ~200 more Couchbase metrics via Buckets endpoint - #8596
inputs.sqlserverinput/sqlserver: Add service and save connection pools - #9042
processors.starlarkAdd math module - #6952
inputs.x509_certWildcard support for cert filenames - #9004
processors.starlarkAdd time module - #8891
inputs.kinesis_consumerAdd content_encoding option with gzip and zlib support - #8996
processors.starlarkAdd an example showing how to obtain IOPS from diskio input - #8966
inputs.http_listener_v2Add support for snappy compression - #8661
inputs.cisco_telemetry_mdtAdd support for events and class based query - #8861
inputs.mongodbOptionally collect top stats - #8979
parsers.valueAdd custom field name config option - #8544
inputs.sqlserverAdd an optional health metric
New Input Plugins
- Alibaba CloudMonitor Service (Aliyun) - contributed by @i-prudnikov
- OpenTelemetry - contributed by @jacobmarble
- Intel Data Plane Development Kit (DPDK) - contributed by @p-zak
- KNX - contributed by @DocLambda
- SQL - contributed by @srebhan
New Output Plugins
- Websocket - contributed by @FZambia
- SQL - contributed by @illuusio
- AWS Cloudwatch logs - contributed by @i-prudnikov
New Parser Plugins
- Prometheus Remote Write - contributed by @helenosheaa
- JSON V2 - contributed by @sspaink
New External Plugins
- ldap_org and ds389 - contributed by @falon
- x509_crl - contributed by @jcgonnard
- dnsmasq - contributed by @machinly
- Big Blue Button - contributed by @SLedunois
v1.18.3 [2021-05-20]
Release Notes
- Added FreeBSD armv7 build
Bugfixes
- #9271
inputs.prometheusSet user agent when scraping prom metrics - #9203 Migrate from soniah/gosnmp to gosnmp/gosnmp and update to 1.32.0
- #9169
inputs.kinesis_consumerFix repeating parser error - #9130
inputs.sqlserverRemove disallowed whitespace from sqlServerRingBufferCPU query - #9238 Update hashicorp/consul/api module to v1.8.1
- #9235 Migrate from docker/libnetwork/ipvs to moby/ipvs
- #9224 Update shirou/gopsutil to 3.21.3
- #9209 Update microsoft/ApplicationInsights-Go to 0.4.4
- #9190 Update gogo/protobuf to 1.3.2
- #8746 Update Azure/go-autorest/autorest/azure/auth to 0.5.6 and Azure/go-autorest/autorest to 0.11.17
- #8745 Update collectd.org to 0.5.0
- #8716 Update nats-io/nats.go 1.10.0
- #9039 Update golang/protobuf to v1.5.1
- #8937 Migrate from ericchiang/k8s to kubernetes/client-go
Features
- #8913
outputs.elasticsearchAdd ability to enable gzip compression
v1.18.2 [2021-04-28]
Bugfixes
- #9160
processors.converterAdd support for large hexadecimal strings - #9195
inputs.apcupsdFix apcupsd 'ALARMDEL' bug via forked repo - #9110
parsers.jsonMake JSON format compatible with nulls - #9128
inputs.nfsclientFix nfsclient ops map to allow collection of metrics other than read and write - #8917
inputs.snmpLog snmpv3 auth failures - #8892
common.shimAccept larger inputs from scanner - #9045
inputs.vsphereAdd MetricLookback setting to handle reporting delays in vCenter 6.7 and later - #9026
outputs.sumologicCarbon2 serializer: sanitize metric name - #9086
inputs.opcuaFix error handling
v1.18.1 [2021-04-07]
Bugfixes
- #9082
inputs.mysqlFix 'binary logs' query for MySQL 8 - #9069
inputs.tailAdd configurable option for the 'path' tag override - #9067
inputs.nfsclientFix integer overflow in fields from mountstat - #9050
inputs.snmpFix init when no mibs are installed - #9072
inputs.pingAlways call SetPrivileged(true) in native mode - #9043
processors.ifnameGet interface name more efficiently - #9056
outputs.yandex_cloud_monitoringUse correct compute metadata URL to get folder-id - #9048
outputs.azure_monitorHandle error when initializing the auth object - #8549
inputs.sqlserverFix sqlserver_process_cpu calculation - #9035
inputs.ipmi_sensorFix panic - #9009
inputs.dockerFix panic when parsing container stats - #8333
inputs.execDon't truncate messages in debug mode - #8769
agentClose running outputs when reloadinlg
v1.18.0 [2021-03-17]
Release Notes
- Support Go version 1.16.2
- Added support for code signing in Windows
Bugfixes
- #7312
inputs.dockerCPU stats respect perdevice - #8397
outputs.dynatraceDynatrace Plugin: Make conversion to counters possible / Changed large bulk handling - #8655
inputs.sqlserverSqlServer - fix for default server list - #8703
inputs.dockerUse consistent container name in docker input plugin - #8902
inputs.snmpFix max_repetitions signedness issues - #8817
outputs.kinesisoutputs.kinesis - log record error count - #8833
inputs.sqlserverBug Fix - SQL Server HADR queries for SQL Versions - #8628
inputs.modbusfix: reading multiple holding registers in modbus input plugin - #8885
inputs.statsdFix statsd concurrency bug - #8393
inputs.sqlserverSQL Perfmon counters - synced queries from v2 to all db types - #8873
processors.ifnameFix mutex locking around ifname cache - #8720
parsers.influxfix: remove ambiguity on '\v' from line-protocol parser - #8678
inputs.redisFix Redis output field type inconsistencies - #8953
agentReset the flush interval timer when flush is requested or batch is ready. - #8954
common.kafkaFix max open requests to one if idempotent writes is set to true - #8721
inputs.kube_inventorySet $HOSTIP in default URL - #8995
inputs.sflowfix segfaults in sflow plugin by checking if protocol headers are set - #8986
outputs.natsnats_output: use the configured credentials file
Features
- #8887
inputs.procstatAdd PPID field to procstat input plugin - #8852
processors.starlarkAdd Starlark script for estimating Line Protocol cardinality - #8915
inputs.cloudwatchadd proxy - #8910
agentDisplay error message on badly formatted config string array (eg. namepass) - #8785
inputs.diskioNon systemd support with unittest - #8850
inputs.snmpSupport more snmpv3 authentication protocols - #8813
inputs.redfishadded member_id as tag(as it is a unique value) for redfish plugin and added address of the server when the status is other than 200 for better debugging - #8613
inputs.phpfpmSupport exclamation mark to create non-matching list in tail plugin - #8179
inputs.statsdAdd support for datadog distributions metric - #8803
agentAdd default retry for load config via url - #8816 Code Signing for Windows
- #8772
processors.starlarkAllow to provide constants to a starlark script - #8749
outputs.newrelicAdd HTTP proxy setting to New Relic output plugin - #8543
inputs.elasticsearchAdd configurable number of 'most recent' date-stamped indices to gather in Elasticsearch input - #8675
processors.starlarkAdd Starlark parsing example of nested JSON - #8762
inputs.prometheusOptimize for bigger kubernetes clusters (500+ pods) - #8950
inputs.teamspeakTeamspeak input plugin query clients - #8849
inputs.sqlserverFilter data out from system databases for Azure SQL DB only
New Inputs
- Beat Input Plugin - Contributed by @nferch
- CS:GO Input Plugin - Contributed by @oofdog
- Directory Monitoring Input Plugin - Contributed by @InfluxData
- RavenDB Input Plugin - Contributed by @ml054 and @bartoncasey
- NFS Input Plugin - Contributed by @pmoranga
New Outputs
- Grafana Loki Output Plugin - Contributed by @Eraac
- Google BigQuery Output Plugin - Contributed by @gkatzioura
- Sensu Output Plugin - Contributed by @calebhailey
- SignalFX Output Plugin - Contributed by @keitwb
New Aggregators
- Derivative Aggregator Plugin - Contributed by @KarstenSchnitter
- Quantile Aggregator Plugin - Contributed by @srebhan
New Processors
- AWS EC2 Metadata Processor Plugin - Contributed by @pmalek-sumo
New Parsers
- XML Parser Plugin - Contributed by @srebhan
New Serializers
- MessagePack Serializer Plugin - Contributed by @dialogbox
New External Plugins
- GeoIP Processor Plugin - Contributed by @a-bali
- Plex Webhook Input Plugin - Contributed by @russorat
- SMCIPMITool Input Plugin - Contributed by @jhpope
v1.17.3 [2021-02-17]
Bugfixes
- #7316
inputs.filestatplugins/filestat: Skip missing files - #8868 Update to Go 1.15.8
- #8744 Bump github.com/gopcua/opcua from 0.1.12 to 0.1.13
- #8657
outputs.warp10outputs/warp10: url encode comma in tags value - #8824
inputs.x509_certinputs.x509_cert: Fix timeout issue - #8821
inputs.mqtt_consumerFix reconnection issues mqtt - #8775
outputs.influxdbValidate the response from InfluxDB after writing/creating a database to avoid json parsing panics/errors - #8804
inputs.snmpExpose v4/v6-only connection-schemes through GosnmpWrapper - #8838
agentfix issue with reading flush_jitter output from config - #8839
inputs.pingfixes Sort and timeout around deadline - #8787
inputs.pingUpdate README for inputs.ping with correct cmd for native ping on Linux - #8771 Update go-ping to latest version
v1.17.2 [2021-01-28]
Bugfixes
- #8770
inputs.pingSet interface for native - #8764
inputs.pingResolve regression, re-add missing function
v1.17.1 [2021-01-27]
Release Notes
Included a few more changes that add configuration options to plugins as it's been while since the last release
- #8335
inputs.ipmi_sensorAdd setting to enable caching in ipmitool - #8616 Add Event Log support for Windows
- #8602
inputs.postgresql_extensibleAdd timestamp column support to postgresql_extensible - #8627
parsers.csvAdded ability to define skip values in csv parser - #8055
outputs.httpoutputs/http: add option to control idle connection timeout - #7897
common.tlscommon/tls: Allow specifying SNI hostnames - #8541
inputs.snmpExtended the internal snmp wrapper to support AES192, AES192C, AES256, and AES256C - #6165
inputs.procstatProvide method to include core count when reporting cpu_usage in procstat input - #8287
inputs.jenkinsAdd support for an inclusive job list in Jenkins plugin - #8524
inputs.ipmi_sensorAdd hex_key parameter for IPMI input plugin connection
Bugfixes
- #8662
outputs.influxdb_v2[outputs.influxdb_v2] add exponential backoff, and respect client error responses - #8748
outputs.elasticsearchFix issue with elasticsearch output being really noisy about some errors - #7533
inputs.zookeeperimprove mntr regex to match user specific keys. - #7967
inputs.lustre2Fix crash in lustre2 input plugin, when field name and value - #8673 Update grok-library to v1.0.1 with dots and dash-patterns fixed.
- #8679
inputs.pingUse go-ping for "native" execution in Ping plugin - #8741
inputs.x509_certfix x509 cert timeout issue - #8714 Bump github.com/nsqio/go-nsq from 1.0.7 to 1.0.8
- #8715 Bump github.com/Shopify/sarama from 1.27.1 to 1.27.2
- #8712 Bump github.com/newrelic/newrelic-telemetry-sdk-go from 0.2.0 to 0.5.1
- #8659
inputs.gnmiGNMI plugin should not take off the first character of field keys when no 'alias path' exists. - #8609
inputs.webhooksUse the 'measurement' json field from the particle webhook as the measurement name, or if it's blank, use the 'name' field of the event's json. - #8658
inputs.procstatProcstat input plugin should use the same timestamp in all metrics in the same Gather() cycle. - #8391
aggregators.mergeOptimize SeriesGrouper & aggregators.merge - #8545
inputs.prometheusUsing mime-type in prometheus parser to handle protocol-buffer responses - #8588
inputs.snmpInput SNMP plugin - upgrade gosnmp library to version 1.29.0 - #8502
inputs.http_listener_v2Fix Stop() bug when plugin fails to start
New External Plugins
- #8646 Open Hardware Monitoring Input Plugin
v1.17.0 [2020-12-18]
Release Notes
- Starlark plugins can now store state between runs using a global state variable. This lets you make custom aggregators as well as custom processors that are state-aware.
- New input plugins: Riemann-Protobuff Listener, Intel PowerStat
- New output plugins: Yandex.Cloud monitoring, Logz.io
- New parser plugin: Prometheus
- New serializer: Prometheus remote write
Bugfixes
- #8505
inputs.vsphereFixed misspelled check for datacenter - #8499
processors.execdAdding support for new lines in influx line protocol fields. - #8254
serializers.carbon2Fix carbon2 tests - #8498
inputs.http_responsefixed network test - #8414
inputs.bcacheFix tests for Windows - part 1 - #8577
inputs.pingfix potential issue with race condition - #8562
inputs.mqtt_consumerfix issue with mqtt concurrent map write - #8574
inputs.ecsRemove duplicated field "revision" from ecs_task because it's already defined as a tag there - #8551
inputs.socket_listenerfix crash when socket_listener receiving invalid data - #8564
parsers.graphiteGraphite tags parser - #8472
inputs.kube_inventoryFixing issue with missing metrics when pod has only pending containers - #8542
inputs.aerospikefix edge case in aerospike plugin where an expected hex string was converted to integer if all digits - #8512
inputs.kube_inventoryUpdate string parsing of allocatable cpu cores in kube_inventory
Features
- #8038
inputs.jenkinsfeat: add build number field to jenkins_job measurement - #7345
inputs.pingAdd percentiles to the ping plugin - #8369
inputs.sqlserverAdded tags for monitoring readable secondaries for Azure SQL MI - #8379
inputs.sqlserverSQL Server HA/DR Availability Group queries - #8520 Add initialization example to mock-plugin.
- #8426
inputs.snmpAdd support to convert snmp hex strings to integers - #8509
inputs.statsdAdd configurable Max TTL duration for statsd input plugin entries - #8508
inputs.bindAdd configurable timeout to bind input plugin http call - #8368
inputs.sqlserverAdded is_primary_replica for monitoring readable secondaries for Azure SQL DB - #8462
inputs.sqlserversqlAzureMIRequests - remove duplicate column [session_db_name] - #8464
inputs.sqlserverAdd column measurement_db_type to output of all queries if not empty - #8389
inputs.opcuaAdd node groups to opcua input plugin - #8432 add support for linux/ppc64le
- #8474
inputs.modbusAdd FLOAT64-IEEE support to inputs.modbus (#8361) (by @Nemecsek) - #8447
processors.starlarkAdd the shared state to the global scope to get previous data - #8383
inputs.zfsAdd dataset metrics to zfs input - #8429
outputs.natsAdded "name" parameter to NATS output plugin - #8477
inputs.httpproxy support for http input - #8466
inputs.snmpTranslate snmp field values - #8435
common.kafkaEnable kafka zstd compression and idempotent writes - #8056
inputs.monitAdd response_time to monit plugin - #8446 update to go 1.15.5
- #8428
aggregators.basicstatsAdd rate and interval to the basicstats aggregator plugin - #8575
inputs.win_servicesAdded Glob pattern matching for "Windows Services" plugin - #6132
inputs.mysqlAdd per user metrics to mysql input - #8500
inputs.github[inputs.github] Add query of pull-request statistics - #8598
processors.enumAllow globs (wildcards) in config for tags/fields in enum processor - #8590
inputs.ethtool[ethtool] interface_up field added - #8579
parsers.jsonAdd wildcard tags json parser support
New Parser Plugins
- #7778
parsers.prometheusAdd a parser plugin for prometheus
New Serializer Plugins
- #8360
serializers.prometheusremotewriteAdd prometheus remote write serializer
New Input Plugins
- #8163
inputs.riemannSupport Riemann-Protobuff Listener - #8488
inputs.intel_powerstatNew Intel PowerStat input plugin
New Output Plugins
- #8296
outputs.yandex_cloud_monitoring#8295 Initial Yandex.Cloud monitoring - #8202
outputs.logzioA new Logz.io output plugin
v1.16.3 [2020-12-01]
Bugfixes
- #8483
inputs.gnmiLog SubscribeResponse_Error message and code. #8482 - #7987 update godirwalk to v1.16.1
- #8438
processors.starlarkStarlark example dropbytype - #8468
inputs.sqlserverFix typo in column name - #8461
inputs.phpfpm[php-fpm] Fix possible "index out of range" - #8444
inputs.apcupsdUpdate mdlayher/apcupsd dependency - #8439
processors.starlarkShow how to return a custom error with the Starlark processor - #8440
parsers.csvkeep field name as is for csv timestamp column - #8436
inputs.nvidia_smiAdd DriverVersion and CUDA Version to output - #8423
processors.starlarkShow how to return several metrics with the Starlark processor - #8408
processors.starlarkSupport logging in starlark - #8315 add kinesis output to external plugins list
- #8406
outputs.wavefront#8405 add non-retryable debug logging - #8404
outputs.wavefrontWavefront output should distinguish between retryable and non-retryable errors - #8401
processors.starlarkAllow to catch errors that occur in the apply function
v1.16.2 [2020-11-13]
Bugfixes
- #8400
parsers.csvFix parsing of multiple files with different headers (#6318). - #8326
inputs.proxmoxproxmox: ignore QEMU templates and iron out a few bugs - #7991
inputs.systemd_unitssystemd_units: add --plain to command invocation (#7990) - #8307 fix links in external plugins readme
- #8370
inputs.redisFix minor typos in readmes - #8374
inputs.smartFix SMART plugin to recognize all devices from config - #8288
inputs.redfishAdd OData-Version header to requests - #8357
inputs.vspherePrydin issue 8169 - #8356
inputs.sqlserverOn-prem fix for #8324 - #8165
outputs.wavefront[output.wavefront] Introduced "immediate_flush" flag - #7938
inputs.gnmiadded support for bytes encoding - #8337
inputs.dcosUpdate jwt-go module to address CVE-2020-26160 - #8350
inputs.rasfix plugins/input/ras test - #8329
outputs.dynatrace#8328 Fixed a bug with the state map in Dynatrace Plugin
v1.16.1 [2020-10-28]
Release Notes
- #8318
common.kafkakafka sasl-mechanism auth support for SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI
Bugfixes
- #8331
inputs.sqlserverSQL Server Azure PerfCounters Fix - #8325
inputs.sqlserverSQL Server - PerformanceCounters - removed synthetic counters - #8324
inputs.sqlserverSQL Server - server_properties added sql_version_desc - #8317
inputs.rasDisable RAS input plugin on specific Linux architectures: mips64, mips64le, ppc64le, riscv64 - #8309
inputs.processesprocesses: fix issue with stat no such file/dir - #8308
inputs.win_perf_countersfix issue with PDH_CALC_NEGATIVE_DENOMINATOR error - #8306
inputs.rasRAS plugin - fix for too many open files handlers
v1.16.0 [2020-10-21]
Release Notes
- New code examples for the Starlark processor
- #7920
inputs.rabbitmqremove deprecated healthcheck - #7953 Add details to connect to InfluxDB OSS 2 and Cloud 2
- #8054 add guidelines run to external plugins with execd
- #8198
inputs.influxdb_v2_listenerchange default influxdb port from 9999 to 8086 to match OSS 2.0 release - starlark
processors.starlarkadd various code examples for the Starlark processor
Features
- #7814
agentSend metrics in FIFO order - #7869
inputs.modbusextend support of fixed point values on input - #7870
inputs.mongodbAdded new metric "pages written from cache" - #7875
inputs.consulinput consul - added metric_version flag - #7894
inputs.cloudwatchImplement AWS CloudWatch Input Plugin ListMetrics API calls to use Active Metric Filter - #7904
inputs.clickhouseadd additional metrics to clickhouse input plugin - #7934
inputs.sqlserverDatabase_type config to Split up sql queries by engine type - #8018
processors.ifnameAdd addTag debugging in ifname plugin - #8019
outputs.elasticsearchadded force_document_id option to ES output enable resend data and avoiding duplicated ES documents - #8025
inputs.aerospikeAdd set, and histogram reporting to aerospike telegraf plugin - #8082
inputs.snmpAdd agent host tag configuration option - #8113
inputs.smartAdd more missing NVMe attributes to smart plugin - #8120
inputs.sqlserverAdded more performance counters to SqlServer input plugin - #8127
agentSort plugin name lists for output - #8132
outputs.sumologicSumo Logic output plugin: carbon2 default to include field in metric - #8133
inputs.influxdb_v2_listenerinfluxdb_v2_listener - add /ready route - #8168
processors.starlarkadd json parsing support to starlark - #8186
inputs.sqlserverNew sql server queries (Azure) - #8189
inputs.snmp_trapIf the community string is available, add it as a tag - #8190
inputs.tailSemigroupoid multiline (#8167) - #8196
inputs.redisadd functionality to get values from redis commands - #8220
buildupdate to Go 1.15 - #8032
inputs.http_responsehttp_response: match on status code - #8172
inputs.sqlserverNew sql server queries (on-prem) - refactoring and formatting
Bugfixes
- #7816
shimfix bug with loading plugins in shim with no config - #7818
buildFix darwin package build flags - #7819
inputs.tailClose file to ensure it has been flushed - #7853 Initialize aggregation processors
- #7865
common.shimshim logger improvements - #7867
inputs.execdfix issue with execd restart_delay being ignored - #7872
inputs.gnmiRecv next message after send returns EOF - #7877 Fix arch name in deb/rpm builds
- #7909 fixes issue with rpm /var/log/telegraf permissions
- #7918
inputs.netfix broken link to proc.c - #7927
inputs.tailFix tail following on EOF - #8005 Fix docker-image make target
- #8039
serializers.splunkmetricRemove Event field as it is causing issues with pre-trained source types - #8048
inputs.jenkinsMultiple escaping occurs on Jenkins URLs at certain folder depth - #8071
inputs.kubernetesadd missing error check for HTTP req failure - #8145
processors.execdIncreased the maximum serialized metric size in line protocol - #8159
outputs.dynatraceDynatrace Output: change handling of monotonic counters - #8176 fix panic on streaming processers using logging
- #8177
parsers.influxfix: plugins/parsers/influx: avoid ParseError.Error panic - #8199
inputs.dockerFix vulnerabilities found in BDBA scan - #8200
inputs.sqlserverFixed Query mapping - #8201
outputs.sumologicFix carbon2 serializer not falling through to field separate when carbon2_format field is unset - #8210 update gopsutil: fix procstat performance regression
- #8162 Fix bool serialization when using carbon2
- #8240 Fix bugs found by LGTM analysis platform
- #8251
outputs.dynatraceDynatrace Output Plugin: Fixed behaviour when state map is cleared - #8274
common.shimfix issue with loading processor config from execd
New Input Plugins
- influxdb_v2_listener Influxdb v2 listener - Contributed by @magichair
- intel_rdt New input plugin for Intel RDT (Intel Resource Director Technology) - Contributed by @p-zak
- nsd add nsd input plugin - Contributed by @gearnode
- opcua Add OPC UA input plugin - Contributed by InfluxData
- proxmox Proxmox plugin - Contributed by @effitient
- ras New input plugin for RAS (Reliability, Availability and Serviceability) - Contributed by @p-zak
- win_eventlog Windows eventlog input plugin - Contributed by @simnv
New Output Plugins
- dynatrace Dynatrace output plugin - Contributed by @thschue
- sumologic Sumo Logic output plugin - Contributed by @pmalek-sumo
- timestream Timestream Output Plugin - Contributed by @piotrwest
New External Plugins
See EXTERNAL_PLUGINS.md for a full list of external plugins
- awsalarms - Simple plugin to gather/monitor alarms generated in AWS.
- youtube-telegraf-plugin - Gather view and subscriber stats from your youtube videos
- octoprint - Gather 3d print information from the octoprint API.
- systemd-timings - Gather systemd boot and unit timestamp metrics.
v1.15.4 [2020-10-20]
Bugfixes
- #8274
common.shimfix issue with loading processor config from execd - #8176
agentfix panic on streaming processers using logging
v1.15.3 [2020-09-11]
Release Notes
- Many documentation updates
- New code examples for the Starlark processor
Bugfixes
- #7999
agentfix minor agent error message race condition - #8051
buildfix docker build. update dockerfiles to Go 1.14 - #8052
shimfix bug in shim logger affecting AddError - #7996
shimfix issue with shim use of config.Duration - #8006
inputs.eventhub_consumerFix string to int conversion in eventhub consumer - #7986
inputs.http_listener_v2make http header tags case insensitive - #7869
inputs.modbusextend support of fixed point values on input - #7861
inputs.pingFix Ping Input plugin for FreeBSD's ping6 - #7808
inputs.sqlserveradded new counter - Lock Timeouts (timeout > 0)/sec - #8026
inputs.vspherevSphere Fixed missing clustername issue 7878 - #8020
processors.starlarkimprove the quality of starlark docs by executing them as tests - #7976
processors.starlarkadd pivot example for starlark processor - #7134
outputs.application_insightsAdded the ability to set the endpoint url - #7908
outputs.opentsdbfix JSON handling of values NaN and Inf
v1.15.2 [2020-07-31]
Bug Fixes
v1.15.1 [2020-07-22]
Bug Fixes
- #7877: Fix architecture in non-amd64 deb and rpm packages.
v1.15.0 [2020-07-22]
Release Notes
-
The
logparserinput is deprecated, use thetailinput withdata_format = "grok"as a replacement. -
The
cisco_telemetry_gnmiinput has been renamed tognmito better reflect its general support for gNMI devices. -
Several fields used primarily for debugging have been removed from the
splunkmetricserializer, if you are making use of these fields they can be added back with thetagoption. -
Telegraf's
--testmode now runs processors and aggregators before printing metrics. -
Official packages now built with Go 1.14.5.
-
When updating the Debian package you will no longer be prompted to merge the telegraf.conf file, instead the new version will be installed to
/etc/telegraf/telegraf.conf.sample. The tar and zip packages now include the version in the top level directory.
New Inputs
New Processors
- defaults - Contributed by @jregistr
- execd - Contributed by @influxdata
- filepath - Contributed by @kir4h
- ifname - Contributed by @influxdata
- port_name - Contributed by @influxdata
- reverse_dns - Contributed by @influxdata
- starlark - Contributed by @influxdata
New Outputs
Features
- #7634: Add support for streaming processors.
- #6905: Add commands stats to mongodb input plugin.
- #7193: Add additional concurrent transaction information.
- #7223: Add ability to specify HTTP Headers in http_listener_v2 which will added as tags.
- #7140: Apply ping deadline to dns lookup.
- #7225: Add support for 64-bit integer types to modbus input.
- #7231: Add possibility to specify measurement per register.
- #7136: Support multiple templates for graphite serializers.
- #7250: Deploy telegraf configuration as a "non config" file.
- #7214: Add VolumeSpace query for sqlserver input with metric_version 2.
- #7304: Add reading bearer token from a file to http input.
- #7366: add support for SIGUSR1 to trigger flush.
- #7271: Add retry when slave is busy to modbus input.
- #7356: Add option to save retention policy as tag in influxdb_listener.
- #6915: Add support for MDS and RGW sockets to ceph input.
- #7391: Extract target as a tag for each rule in iptables input.
- #7434: Use docker log timestamp as metric time.
- #7359: Add cpu query to sqlserver input.
- #7464: Add field creation to date processor and integer unix time support.
- #7483: Add integer mapping support to enum processor.
- #7321: Add additional fields to mongodb input.
- #7491: Add authentication support to the http_response input plugin.
- #7503: Add truncate_tags setting to wavefront output.
- #7545: Add configurable separator graphite serializer and output.
- #7489: Add cluster state integer to mongodb input.
- #7515: Add option to disable mongodb cluster status.
- #7319: Add support for battery level monitoring to the fibaro input.
- #7405: Allow collection of HTTP Headers in http_response input.
- #7540: Add processor to look up service name by port.
- #7474: Add new once mode that write to outputs and exits.
- #7474: Run processors and aggregators during test mode.
- #7294: Add SNMPv3 trap support to snmp_trap input.
- #7646: Add video codec stats to nvidia-smi.
- #7651: Fix source field for icinga2 plugin and add tag for server hostname.
- #7619: Add timezone configuration to csv input data format.
- #7596: Add ability to collect response body as field with http_response.
- #7267: Add ability to add selectors as tags in kube_inventory.
- #7712: Add counter type to sqlserver perfmon collector.
- #7575: Add missing nvme attributes to smart plugin.
- #7726: Add laundry to mem plugin on FreeBSD.
- #7762: Allow per input overriding of collection_jitter and precision.
- #7686: Improve performance of procstat: Up to 40/120x better performance.
- #7677: Expand execd shim support for processor and outputs.
- #7154: Add v3 metadata support to ecs input.
- #7792: Support utf-16 in file and tail inputs.
Bug Fixes
- #7371: Fix unable to write metrics to CloudWatch with IMDSv1 disabled.
- #7233: Fix vSphere 6.7 missing data issue.
- #7448: Remove debug fields from splunkmetric serializer.
- #7446: Fix gzip support in socket_listener with tcp sockets.
- #7390: Fix interval drift when round_interval is set in agent.
- #7524: Fix typo in total_elapsed_time_ms field of sqlserver input.
- #7203: Exclude csv_timestamp_column and csv_measurement_column from fields.
- #7018: Fix incorrect uptime when clock is adjusted.
- #6807: Fix memory leak when using procstat on Windows.
- #7495: Improve sqlserver input compatibility with older server versions.
- #7558: Remove trailing backslash from tag keys/values in influx serializer.
- #7715: Fix incorrect Azure SQL DB server properties.
- #7431: Fix json unmarshal error in the kibana input.
- #5633: Send metrics in FIFO order.
v1.14.5 [2020-06-30]
Bug Fixes
- #7686: Improve the performance of the procstat input.
- #7658: Fix ping exit code handling on non-Linux.
- #7718: Skip overs errors in the output of the sensors command.
- #7748: Prevent startup when tags have incorrect type in configuration file.
- #7699: Fix panic with GJSON multiselect query in json parser.
- #7754: Allow any key usage type on x509 certificate.
- #7705: Allow histograms and summary types without buckets or quantiles in prometheus_client output.
v1.14.4 [2020-06-09]
Bug Fixes
- #7325: Fix "cannot insert the value NULL error" with PerformanceCounters query.
- #7579: Fix numeric to bool conversion in converter processor.
- #7551: Fix typo in name of gc_cpu_fraction field of the influxdb input.
- #7617: Fix issue with influx stream parser blocking when data is in buffer.
v1.14.3 [2020-05-19]
Bug Fixes
- #7412: Use same timestamp for all objects in arrays in the json parser.
- #7343: Handle multiple metrics with the same timestamp in dedup processor.
- #5905: Fix reconnection of timed out HTTP2 connections influxdb outputs.
- #7468: Fix negative value parsing in impi_sensor input.
v1.14.2 [2020-04-28]
Bug Fixes
- #7241: Trim whitespace from instance tag in sqlserver input.
- #7322: Use increased AWS Cloudwatch GetMetricData limit of 500 metrics per call.
- #7318: Fix dimension limit on azure_monitor output.
- #7407: Fix 64-bit integer to string conversion in snmp input.
- #7327: Fix shard indices reporting in elasticsearch input.
- #7388: Ignore fields with NaN or Inf floats in the JSON serializer.
- #7402: Fix typo in name of gc_cpu_fraction field of the kapacitor input.
- #7235: Don't retry
create databasewhen using database_tag if forbidden by the server in influxdb output. - #7406: Allow CR and FF inside of string fields in influx parser.
v1.14.1 [2020-04-14]
Bug Fixes
- #7236: Fix PerformanceCounter query performance degradation in sqlserver input.
- #7257: Fix error when using the Name field in template processor.
- #7289: Fix export timestamp not working for prometheus on v2.
- #7310: Fix exclude database and retention policy tags is shared.
- #7262: Fix status path when using globs in phpfpm.
v1.14 [2020-03-26]
Release Notes
-
In the
sqlserverinput, thesqlserver_azurestatsmeasurement has been renamed tosqlserver_azure_db_resource_statsdue to an issue where numeric metrics were previously being reported incorrectly as strings. -
The
dateprocessor now uses the UTC timezone when creating its tag. In previous versions the local time was used.
New Inputs
- clickhouse - Contributed by @kshvakov
- execd - Contributed by @jgraichen
- eventhub_consumer - Contributed by @R290
- infiniband - Contributed by @willfurnell
- lanz: Contributed by @timhughes
- modbus - Contributed by @garciaolais
- monit - Contributed by @SirishaGopigiri
- sflow - Contributed by @influxdata
- wireguard - Contributed by @LINKIWI
New Processors
- dedup - Contributed by @igomura
- template - Contributed by @RobMalvern
- s2geo - Contributed by @alespour
New Outputs
- warp10 - Contributed by @aurrelhebert
Features
- #6730: Add page_faults for mongodb wired tiger.
- #6798: Add use_sudo option to ipmi_sensor input.
- #6764: Add ability to collect pod labels to kubernetes input.
- #6770: Expose unbound-control config file option.
- #6508: Add support for new nginx plus api endpoints.
- #6342: Add kafka SASL version control to support Azure Event Hub.
- #6869: Add RBPEX IO statistics to DatabaseIO query in sqlserver input.
- #6869: Add space on disk for each file to DatabaseIO query in the sqlserver input.
- #6869: Calculate DB Name instead of GUID in physical_db_name in the sqlserver input.
- #6733: Add latency stats to mongo input.
- #6844: Add source and port tags to jenkins_job metrics.
- #6886: Add date offset and timezone options to date processor.
- #6859: Exclude resources by inventory path in vsphere input.
- #6700: Allow a user defined field to be used as the graylog short_message.
- #6917: Add server_name override for x509_cert plugin.
- #6921: Add udp internal metrics for the statsd input.
- #6914: Add replica set tag to mongodb input.
- #6935: Add counters for merged reads and writes to diskio input.
- #6982: Add support for titlecase transformation to strings processor.
- #6993: Add support for MDB database information to openldap input.
- #6957: Add new fields for Jenkins total and busy executors.
- #7035: Fix dash to underscore replacement when handling embedded tags in Cisco MDT.
- #7039: Add process created_at time to procstat input.
- #7022: Add support for credentials file to nats_consumer and nats output.
- #7065: Add additional tags and fields to apcupsd.
- #7084: Add RabbitMQ slave_nodes and synchronized_slave_nodes metrics.
- #7089: Allow globs in FPM unix socket paths.
- #7071: Add non-cumulative histogram to histogram aggregator.
- #6969: Add label and field selectors to prometheus input k8s discovery.
- #7049: Add support for converting tag or field to measurement in converter processor.
- #7103: Add volume_mount_point to DatabaseIO query in sqlserver input.
- #7142: Add topic tag options to kafka output.
- #7141: Add support for setting InfluxDB retention policy using tag.
- #7163: Add Database IO Tempdb per Azure DB to sqlserver input.
- #7150: Add option for explicitly including queries in sqlserver input.
- #7173: Add support for GNMI DecimalVal type to cisco_telemetry_gnmi.
Bug Fixes
- #6397: Fix conversion to floats in AzureDBResourceStats query in the sqlserver input.
- #6867: Fix case sensitive collation in sqlserver input.
- #7005: Search for chronyc only when chrony input plugin is enabled.
- #2280: Fix request to InfluxDB Listener failing with EOF.
- #6124: Fix InfluxDB listener to continue parsing after error.
- #7133: Fix log rotation to use actual file size instead of bytes written.
- #7103: Fix several issues with DatabaseIO query in sqlserver input.
- #7119: Fix internal metrics for output split into multiple lines.
- #7021: Fix schedulers query compatibility with pre SQL-2016.
- #7182: Set headers on influxdb_listener ping URL.
- #7165: Fix url encoding of job names in jenkins input plugin.