Telegraf release notes
v1.36.3
Bugfixes
- #17765
inputs.chronyPrevent race condition in concurrent gather calls - #17634
inputs.dockerFix incorrect CPU usage_percent for Podman containers - #17740
inputs.kube_inventoryPrevent panic in endpoints’ ready flag - #17483
inputs.smartCorrect exit_status for active vs standby drives - #17617
inputs.zfsParse field values according to provided type - #17787
outputs.natsUnwrap wrapped metrics to avoid panic on missing Field method - #17573
parsers.csvSupport concurrent usage - #17738
secretstores.systemdHandle dash version separator correctly
Dependency Updates
- #17770
depsBump cloud.google.com/go/bigquery from 1.70.0 to 1.71.0 - #17821
depsBump cloud.google.com/go/monitoring from 1.24.2 to 1.24.3 - #17777
depsBump cloud.google.com/go/pubsub/v2 from 2.0.0 to 2.2.0 - #17846
depsBump cloud.google.com/go/pubsub/v2 from 2.2.0 to 2.2.1 - #17718
depsBump cloud.google.com/go/storage from 1.56.2 to 1.57.0 - #17805
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.12.0 to 1.13.0 - #17784
depsBump github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs from 1.4.0 to 2.0.0 - #17810
depsBump github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs/v2 from 2.0.0 to 2.0.1 - #17804
depsBump github.com/IBM/sarama from 1.46.1 to 1.46.2 - #17724
depsBump github.com/SAP/go-hdb from 1.14.4 to 1.14.5 - #17808
depsBump github.com/SAP/go-hdb from 1.14.5 to 1.14.6 - #17866
depsBump github.com/SAP/go-hdb from 1.14.6 to 1.14.7 - #17822
depsBump github.com/antchfx/xmlquery from 1.4.4 to 1.5.0 - #17868
depsBump github.com/aws/aws-sdk-go-v2/config from 1.31.12 to 1.31.13 - #17730
depsBump github.com/aws/aws-sdk-go-v2/config from 1.31.9 to 1.31.12 - #17719
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.50.1 to 1.51.1 - #17863
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.51.1 to 1.51.2 - #17716
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.58.0 to 1.58.2 - #17715
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.50.3 to 1.50.5 - #17772
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.50.5 to 1.51.0 - #17714
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.253.0 to 1.254.1 - #17814
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.254.1 to 1.255.0 - #17728
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.40.3 to 1.40.5 - #17848
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.40.5 to 1.40.6 - #17723
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.35.3 to 1.35.5 - #17864
depsBump github.com/aws/smithy-go from 1.23.0 to 1.23.1 - #17849
depsBump github.com/bluenviron/gomavlib/v3 from 3.2.1 to 3.3.0 - #17774
depsBump github.com/docker/docker from 28.4.0+incompatible to 28.5.0+incompatible - #17816
depsBump github.com/docker/docker from 28.5.0+incompatible to 28.5.1+incompatible - #17769
depsBump github.com/go-ldap/ldap/v3 from 3.4.11 to 3.4.12 - #17775
depsBump github.com/go-logfmt/logfmt from 0.6.0 to 0.6.1 - #17727
depsBump github.com/hashicorp/consul/api from 1.32.3 to 1.32.4 - #17862
depsBump github.com/klauspost/compress from 1.18.0 to 1.18.1 - #17773
depsBump github.com/leodido/go-syslog/v4 from 4.2.1-0.20250421191238-de2e76af1251 to 4.3.0 - #17729
depsBump github.com/lxc/incus/v6 from 6.16.0 to 6.17.0 - #17860
depsBump github.com/nats-io/nats-server/v2 from 2.12.0 to 2.12.1 - #17766
depsBump github.com/nats-io/nats.go from 1.46.0 to 1.46.1 - #17851
depsBump github.com/nats-io/nats.go from 1.46.1 to 1.47.0 - #17813
depsBump github.com/prometheus/common from 0.66.1 to 0.67.1 - #17867
depsBump github.com/prometheus/prometheus from 0.306.0 to 0.307.1 - #17861
depsBump github.com/redis/go-redis/v9 from 9.14.0 to 9.14.1 - #17767
depsBump github.com/shirou/gopsutil/v4 from 4.25.8 to 4.25.9 - #17725
depsBump github.com/snowflakedb/gosnowflake from 0.0.0-20250911095445-20c4d105d9a0 to 1.17.0 - #17776
depsBump go.opentelemetry.io/collector/pdata from 1.42.0 to 1.43.0 - #17817
depsBump go.step.sm/crypto from 0.70.0 to 0.71.0 - #17857
depsBump go.step.sm/crypto from 0.71.0 to 0.72.0 - #17820
depsBump golang.org/x/crypto from 0.42.0 to 0.43.0 - #17806
depsBump golang.org/x/mod from 0.28.0 to 0.29.0 - #17819
depsBump golang.org/x/net from 0.44.0 to 0.46.0 - #17818
depsBump golang.org/x/oauth2 from 0.31.0 to 0.32.0 - #17823
depsBump golang.org/x/sys from 0.36.0 to 0.37.0 - #17717
depsBump google.golang.org/api from 0.249.0 to 0.250.0 - #17778
depsBump google.golang.org/api from 0.250.0 to 0.251.0 - #17807
depsBump google.golang.org/api from 0.251.0 to 0.252.0 - #17771
depsBump google.golang.org/grpc from 1.75.1 to 1.76.0 - #17768
depsBump google.golang.org/protobuf from 1.36.9 to 1.36.10 - #17811
depsBump modernc.org/sqlite from 1.39.0 to 1.39.1 - #17779
depsBump super-linter/super-linter from 8.1.0 to 8.2.0 - #17853
depsBump super-linter/super-linter from 8.2.0 to 8.2.1 - #17610
depsSwitch to maintained yaml library - #17794
depsUpdate golangci-lint to 2.5.0
v1.36.2
Bugfixes
- #17609
filterHandle multiple conditions correctly - #17552
inputs.procstatUse correct values for disk_read_bytes, disk_write_bytes on Linux - #17613
inputs.tailFix data race when cleaning up unused tailers
Dependency Updates
- #17599
depsBump actions/setup-go from 5 to 6 - #17650
depsBump cloud.google.com/go/bigquery from 1.69.0 to 1.70.0 - #17654
depsBump cloud.google.com/go/storage from 1.56.1 to 1.56.2 - #17688
depsBump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.19.0 to 1.19.1 - #17683
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.11.0 to 1.12.0 - #17644
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.40.1 to 2.40.3 - #17522
depsBump github.com/IBM/sarama from 1.45.2 to 1.46.0 - #17682
depsBump github.com/IBM/sarama from 1.46.0 to 1.46.1 - #17636
depsBump github.com/SAP/go-hdb from 1.14.0 to 1.14.3 - #17677
depsBump github.com/SAP/go-hdb from 1.14.3 to 1.14.4 - #17647
depsBump github.com/apache/arrow-go/v18 from 18.4.0 to 18.4.1 - #17587
depsBump github.com/apache/inlong/inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-golang from 1.0.5 to 1.0.6 - #17642
depsBump github.com/awnumar/memguard from 0.22.5 to 0.23.0 - #17693
depsBump github.com/aws/aws-sdk-go-v2/config from 1.31.4 to 1.31.9 - #17588
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.18.5 to 1.18.7 - #17641
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.48.2 to 1.50.1 - #17656
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.57.0 to 1.57.4 - #17690
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.57.4 to 1.58.0 - #17596
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.49.1 to 1.50.2 - #17649
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.50.2 to 1.50.3 - #17583
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.246.0 to 1.251.1 - #17640
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.251.1 to 1.251.2 - #17681
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.251.2 to 1.253.0 - #17595
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.39.1 to 1.40.2 - #17646
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.40.2 to 1.40.3 - #17638
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.38.1 to 1.38.4 - #17582
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.34.2 to 1.35.2 - #17658
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.35.2 to 1.35.3 - #17673
depsBump github.com/cloudevents/sdk-go/v2 from 2.16.1 to 2.16.2 - #17601
depsBump github.com/docker/docker from 28.3.3+incompatible to 28.4.0+incompatible - #17653
depsBump github.com/eclipse/paho.golang from 0.22.0 to 0.23.0 - #17680
depsBump github.com/eclipse/paho.mqtt.golang from 1.5.0 to 1.5.1 - #17597
depsBump github.com/google/cel-go from 0.26.0 to 0.26.1 - #17689
depsBump github.com/hashicorp/consul/api from 1.32.1 to 1.32.3 - #17651
depsBump github.com/lxc/incus/v6 from 6.15.0 to 6.16.0 - #17635
depsBump github.com/nats-io/nats-server/v2 from 2.11.8 to 2.11.9 - #17670
depsBump github.com/nats-io/nats-server/v2 from 2.11.9 to 2.12.0 - #17675
depsBump github.com/nats-io/nats.go from 1.45.0 to 1.46.0 - #17674
depsBump github.com/peterbourgon/unixtransport from 0.0.6 to 0.0.7 - #17593
depsBump github.com/prometheus/client_golang from 1.23.0 to 1.23.2 - #17585
depsBump github.com/prometheus/common from 0.65.0 to 0.66.1 - #17685
depsBump github.com/prometheus/prometheus from 0.305.0 to 0.306.0 - #17329
depsBump github.com/prometheus/prometheus from 0.54.1 to 0.305.0 - #17645
depsBump github.com/redis/go-redis/v9 from 9.12.1 to 9.14.0 - #17567
depsBump github.com/shirou/gopsutil/v4 from 4.25.7 to 4.25.8 - #17699
depsBump github.com/snowflakedb/gosnowflake from 1.16.0 to 0.0.0-20250911095445-20c4d105d9a0 - #17590
depsBump github.com/stretchr/testify from 1.10.0 to 1.11.1 - #17687
depsBump github.com/testcontainers/testcontainers-go from 0.38.0 to 0.39.0 - #17676
depsBump github.com/testcontainers/testcontainers-go/modules/azure from 0.38.0 to 0.39.0 - #17671
depsBump github.com/testcontainers/testcontainers-go/modules/kafka from 0.38.0 to 0.39.0 - #17584
depsBump github.com/tidwall/wal from 1.2.0 to 1.2.1 - #17581
depsBump github.com/tinylib/msgp from 1.3.0 to 1.4.0 - #17591
depsBump go.opentelemetry.io/collector/pdata from 1.39.0 to 1.41.0 - #17686
depsBump go.opentelemetry.io/collector/pdata from 1.41.0 to 1.42.0 - #17602
depsBump go.opentelemetry.io/proto/otlp from 1.7.0 to 1.8.0 - #17652
depsBump golang.org/x/crypto from 0.41.0 to 0.42.0 - #17691
depsBump golang.org/x/mod from 0.27.0 to 0.28.0 - #17655
depsBump golang.org/x/oauth2 from 0.30.0 to 0.31.0 - #17589
depsBump golang.org/x/sync from 0.16.0 to 0.17.0 - #17580
depsBump golang.org/x/term from 0.34.0 to 0.35.0 - #17679
depsBump google.golang.org/api from 0.248.0 to 0.249.0 - #17639
depsBump google.golang.org/grpc from 1.75.0 to 1.75.1 - #17643
depsBump google.golang.org/protobuf from 1.36.8 to 1.36.9 - #17598
depsBump k8s.io/api from 0.33.4 to 0.34.0 - #17692
depsBump k8s.io/client-go from 0.34.0 to 0.34.1 - #17657
depsBump modernc.org/sqlite from 1.38.2 to 1.39.0 - #17648
depsBump tj-actions/changed-files from 46.0.5 to 47.0.0 - #17707
depsRemove collectd replacement
v1.36.1
Bugfixes
- #17605
outputs.influxdbFix crash on init
v1.36.0
Important Changes
- Pull request #17355 updates
profilessupport ininputs.opentelemetryfrom v1 experimental to v1 development, following upstream changes to the experimental API. This update modifies metric output. For example, theframe_type,stack_trace_id,build_id, andbuild_id_typefields are no longer reported. The value format of other fields or tags might also have changed. For more information, see the OpenTelemetry documentation.
New Plugins
Features
- #16705
agentIntroduce labels and selectors to enable and disable plugins - #17547
inputs.influxdb_v2_listenerAdd/healthroute - #17312
inputs.internalAllow to collect statistics per plugin instance - #17024
inputs.lvmAdd sync_percent for lvm_logical_vol - #17355
inputs.opentelemetryUpgrade otlp proto module - #17156
inputs.syslogAdd support for RFC3164 over TCP - #17543
inputs.syslogAllow limiting message size in octet counting mode - #17539
inputs.x509_certAdd support for Windows certificate stores - #17244
output.natsAllow disabling stream creation for externally managed streams - #17474
outputs.elasticsearchSupport array headers and preserve commas in values - #17548
outputs.influxdbAdd internal statistics for written bytes - #17213
outputs.natsAllow providing a subject layout - #17346
outputs.natsEnable batch serialization with use_batch_format - #17249
outputs.sqlAllow sending batches of metrics in transactions - #17510
parsers.avroSupport record arrays at root level - #17365
plugins.snmpAllow debug logging in gosnmp - #17345
selfstatImplement collection of plugin-internal statistics
Bugfixes
- #17411
inputs.diskioHandle counter wrapping in io fields - #17551
inputs.s7commUse correct value for string length with ’extra’ parameter - #17579
internalExtract go version more robustly - #17566
outputsRetrigger batch-available-events only if at least one metric was written successfully - #17381
packagingRename rpm from loong64 to loongarch64
Dependency Updates
- #17519
depsBump cloud.google.com/go/storage from 1.56.0 to 1.56.1 - #17532
depsBump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.18.2 to 1.19.0 - #17494
depsBump github.com/SAP/go-hdb from 1.13.12 to 1.14.0 - #17488
depsBump github.com/antchfx/xpath from 1.3.4 to 1.3.5 - #17540
depsBump github.com/aws/aws-sdk-go-v2/config from 1.31.0 to 1.31.2 - #17538
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.18.4 to 1.18.6 - #17517
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.18.3 to 1.18.4 - #17528
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.48.0 to 1.48.2 - #17536
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.56.0 to 1.57.0 - #17524
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.46.0 to 1.49.1 - #17493
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.242.0 to 1.244.0 - #17527
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.244.0 to 1.246.0 - #17530
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.38.0 to 1.39.1 - #17534
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.37.0 to 1.38.0 - #17513
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.34.0 to 1.34.2 - #17514
depsBump github.com/coreos/go-systemd/v22 from 22.5.0 to 22.6.0 - #17563
depsBump github.com/facebook/time from 0.0.0-20240626113945-18207c5d8ddc to 0.0.0-20250903103710-a5911c32cdb9 - #17526
depsBump github.com/gophercloud/gophercloud/v2 from 2.7.0 to 2.8.0 - #17537
depsBump github.com/microsoft/go-mssqldb from 1.9.2 to 1.9.3 - #17490
depsBump github.com/nats-io/nats-server/v2 from 2.11.7 to 2.11.8 - #17523
depsBump github.com/nats-io/nats.go from 1.44.0 to 1.45.0 - #17492
depsBump github.com/safchain/ethtool from 0.5.10 to 0.6.2 - #17486
depsBump github.com/snowflakedb/gosnowflake from 1.15.0 to 1.16.0 - #17541
depsBump github.com/tidwall/wal from 1.1.8 to 1.2.0 - #17529
depsBump github.com/vmware/govmomi from 0.51.0 to 0.52.0 - #17496
depsBump go.opentelemetry.io/collector/pdata from 1.36.1 to 1.38.0 - #17533
depsBump go.opentelemetry.io/collector/pdata from 1.38.0 to 1.39.0 - #17516
depsBump go.step.sm/crypto from 0.69.0 to 0.70.0 - #17499
depsBump golang.org/x/mod from 0.26.0 to 0.27.0 - #17497
depsBump golang.org/x/net from 0.42.0 to 0.43.0 - #17487
depsBump google.golang.org/api from 0.246.0 to 0.247.0 - #17531
depsBump google.golang.org/api from 0.247.0 to 0.248.0 - #17520
depsBump google.golang.org/grpc from 1.74.2 to 1.75.0 - #17518
depsBump google.golang.org/protobuf from 1.36.7 to 1.36.8 - #17498
depsBump k8s.io/client-go from 0.33.3 to 0.33.4 - #17515
depsBump super-linter/super-linter from 8.0.0 to 8.1.0
v1.35.4
Bugfixes
- #17451
agentUpdate help message for--testCLI flag - #17413
inputs.gnmiHandle empty updates in gnmi notification response - #17445
inputs.redfishLog correct address on HTTP error
Dependency Updates
- #17454
depsBump actions/checkout from 4 to 5 - #17404
depsBump cloud.google.com/go/storage from 1.55.0 to 1.56.0 - #17428
depsBump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.18.1 to 1.18.2 - #17455
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.10.1 to 1.11.0 - #17383
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.37.2 to 2.39.0 - #17435
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.39.0 to 2.40.1 - #17393
depsBump github.com/apache/arrow-go/v18 from 18.3.1 to 18.4.0 - #17439
depsBump github.com/apache/inlong/inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-golang from 1.0.3 to 1.0.5 - #17437
depsBump github.com/aws/aws-sdk-go-v2 from 1.37.0 to 1.37.2 - #17402
depsBump github.com/aws/aws-sdk-go-v2/config from 1.29.17 to 1.30.0 - #17458
depsBump github.com/aws/aws-sdk-go-v2/config from 1.30.1 to 1.31.0 - #17391
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.70 to 1.18.0 - #17436
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.18.1 to 1.18.3 - #17434
depsBump github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.18.0 to 1.18.2 - #17461
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.45.3 to 1.48.0 - #17392
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.51.0 to 1.54.0 - #17440
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.54.0 to 1.55.0 - #17473
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.55.0 to 1.56.0 - #17431
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.44.0 to 1.46.0 - #17470
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.231.0 to 1.242.0 - #17397
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.35.3 to 1.36.0 - #17430
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.36.0 to 1.37.0 - #17469
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.37.0 to 1.38.0 - #17432
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.35.0 to 1.36.0 - #17401
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.31.2 to 1.32.0 - #17421
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.32.0 to 1.33.0 - #17464
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.33.0 to 1.34.0 - #17457
depsBump github.com/clarify/clarify-go from 0.4.0 to 0.4.1 - #17407
depsBump github.com/docker/docker from 28.3.2+incompatible to 28.3.3+incompatible - #17463
depsBump github.com/docker/go-connections from 0.5.0 to 0.6.0 - #17394
depsBump github.com/golang-jwt/jwt/v5 from 5.2.2 to 5.2.3 - #17423
depsBump github.com/gopacket/gopacket from 1.3.1 to 1.4.0 - #17399
depsBump github.com/jedib0t/go-pretty/v6 from 6.6.7 to 6.6.8 - #17422
depsBump github.com/lxc/incus/v6 from 6.14.0 to 6.15.0 - #17429
depsBump github.com/miekg/dns from 1.1.67 to 1.1.68 - #17433
depsBump github.com/nats-io/nats-server/v2 from 2.11.6 to 2.11.7 - #17426
depsBump github.com/nats-io/nats.go from 1.43.0 to 1.44.0 - #17456
depsBump github.com/redis/go-redis/v9 from 9.11.0 to 9.12.1 - #17420
depsBump github.com/shirou/gopsutil/v4 from 4.25.6 to 4.25.7 - #17388
depsBump github.com/testcontainers/testcontainers-go/modules/azure from 0.37.0 to 0.38.0 - #17382
depsBump github.com/testcontainers/testcontainers-go/modules/kafka from 0.37.0 to 0.38.0 - #17427
depsBump github.com/yuin/goldmark from 1.7.12 to 1.7.13 - #17386
depsBump go.opentelemetry.io/collector/pdata from 1.36.0 to 1.36.1 - #17425
depsBump go.step.sm/crypto from 0.67.0 to 0.68.0 - #17462
depsBump go.step.sm/crypto from 0.68.0 to 0.69.0 - #17460
depsBump golang.org/x/crypto from 0.40.0 to 0.41.0 - #17424
depsBump google.golang.org/api from 0.243.0 to 0.244.0 - #17459
depsBump google.golang.org/api from 0.244.0 to 0.246.0 - #17465
depsBump google.golang.org/protobuf from 1.36.6 to 1.36.7 - #17384
depsBump k8s.io/apimachinery from 0.33.2 to 0.33.3 - #17389
depsBump k8s.io/client-go from 0.33.2 to 0.33.3 - #17396
depsBump modernc.org/sqlite from 1.38.0 to 1.38.1 - #17385
depsBump software.sslmate.com/src/go-pkcs12 from 0.5.0 to 0.6.0 - #17390
depsBump super-linter/super-linter from 7.4.0 to 8.0.0 - #17448
depsFix collectd dependency not resolving - #17410
depsMigrate from cloud.google.com/go/pubsub to v2
v1.35.3
Bug fixes
- #17373
agentHandle nil timer on telegraf reload when no debounce is specified - #17340
agentMake Windows service install more robust - #17310
outputs.sqlAdd timestamp to derived datatypes - #17349
outputsRetrigger batch-available-events only for non-failing writes - #17293
parsers.json_v2Respect string type for objects and arrays - #17367
plugins.snmpUpdate gosnmp to prevent panic in snmp agents - #17292
processors.snmp_lookupAvoid re-enqueing updates after plugin stopped - #17369
processors.snmp_lookupPrevent deadlock during plugin shutdown
Dependency updates
- #17320
depsBump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.18.0 to 1.18.1 - #17328
depsBump github.com/SAP/go-hdb from 1.13.11 to 1.13.12 - #17301
depsBump github.com/SAP/go-hdb from 1.13.9 to 1.13.11 - #17326
depsBump github.com/alitto/pond/v2 from 2.4.0 to 2.5.0 - #17295
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.227.0 to 1.230.0 - #17332
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.230.0 to 1.231.0 - #17300
depsBump github.com/docker/docker from 28.3.0+incompatible to 28.3.1+incompatible - #17334
depsBump github.com/docker/docker from 28.3.1+incompatible to 28.3.2+incompatible - #17327
depsBump github.com/google/cel-go from 0.25.0 to 0.26.0 - #17331
depsBump github.com/miekg/dns from 1.1.66 to 1.1.67 - #17297
depsBump github.com/nats-io/nats-server/v2 from 2.11.5 to 2.11.6 - #17321
depsBump github.com/openconfig/goyang from 1.6.2 to 1.6.3 - #17298
depsBump github.com/prometheus/procfs from 0.16.1 to 0.17.0 - #17296
depsBump github.com/shirou/gopsutil/v4 from 4.25.5 to 4.25.6 - #17299
depsBump github.com/snowflakedb/gosnowflake from 1.14.1 to 1.15.0 - #17323
depsBump go.opentelemetry.io/collector/pdata from 1.35.0 to 1.36.0 - #17091
depsBump go.step.sm/crypto from 0.64.0 to 0.67.0 - #17330
depsBump golang.org/x/crypto from 0.39.0 to 0.40.0 - #17322
depsBump golang.org/x/mod from 0.25.0 to 0.26.0 - #17336
depsBump golang.org/x/net from 0.41.0 to 0.42.0 - #17337
depsBump golang.org/x/sys from 0.33.0 to 0.34.0 - #17335
depsBump golang.org/x/term from 0.32.0 to 0.33.0 - #17294
depsBump google.golang.org/api from 0.239.0 to 0.240.0 - #17325
depsBump google.golang.org/api from 0.240.0 to 0.241.0 - #17138
depsBump modernc.org/sqlite from 1.37.0 to 1.38.0
v1.35.2
Bug fixes
- #17248
agentAdd missing config flags for migrate command - #17240
disk-bufferCorrectly reset the mask after adding to an empty buffer - #17284
disk-bufferExpire metric tracking information in the right place - #17257
disk-bufferMask old tracking metrics on restart - #17247
disk-bufferRemove empty buffer on close - #17285
inputs.gnmiAvoid interpreting path elements with multiple colons as namespace - #17278
inputs.gnmiHandle base64 encoded IEEE-754 floats correctly - #17258
inputs.kibanaSupport Kibana 8.x status API format change - #17214
inputs.ntpqFix ntpq field misalignment parsing errors - #17234
outputs.microsoft_fabricCorrect app name - #17291
outputs.natsAvoid initializing Jetstream unconditionally - #17246
outputsRetrigger batch-available-events correctly
Dependency updates
- #17217
depsBump github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs from 1.3.2 to 1.4.0 - #17226
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.37.0 to 2.37.1 - #17265
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.37.1 to 2.37.2 - #17268
depsBump github.com/Masterminds/semver/v3 from 3.3.1 to 3.4.0 - #17271
depsBump github.com/SAP/go-hdb from 1.13.7 to 1.13.9 - #17232
depsBump github.com/alitto/pond/v2 from 2.3.4 to 2.4.0 - #17231
depsBump github.com/apache/arrow-go/v18 from 18.3.0 to 18.3.1 - #17223
depsBump github.com/aws/aws-sdk-go-v2/config from 1.29.15 to 1.29.17 - #17220
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.69 to 1.17.70 - #17227
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.50.3 to 1.51.0 - #17262
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.43.4 to 1.44.0 - #17224
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.225.1 to 1.225.2 - #17260
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.226.0 to 1.227.0 - #17264
depsBump github.com/docker/docker from 28.2.2+incompatible to 28.3.0+incompatible - #17256
depsBump github.com/lxc/incus/v6 from 6.13.0 to 6.14.0 - #17272
depsBump github.com/microsoft/go-mssqldb from 1.8.2 to 1.9.2 - #17261
depsBump github.com/nats-io/nats-server/v2 from 2.11.4 to 2.11.5 - #17266
depsBump github.com/peterbourgon/unixtransport from 0.0.5 to 0.0.6 - #17229
depsBump github.com/prometheus/common from 0.64.0 to 0.65.0 - #17267
depsBump github.com/redis/go-redis/v9 from 9.10.0 to 9.11.0 - #17273
depsBump go.opentelemetry.io/collector/pdata from 1.34.0 to 1.35.0 - #17219
depsBump google.golang.org/api from 0.237.0 to 0.238.0 - #17263
depsBump google.golang.org/api from 0.238.0 to 0.239.0 - #17218
depsBump k8s.io/api from 0.33.1 to 0.33.2 - #17228
depsBump k8s.io/client-go from 0.33.1 to 0.33.2
v1.35.1
Bug fixes
- #17178
inputs.procstatFix user filter conditional logic - #17210
processors.stringsAdd explicit TOML tags on struct fields
Dependency updates
- #17194
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.10.0 to 1.10.1 - #17189
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.36.0 to 2.37.0 - #17186
depsBump github.com/SAP/go-hdb from 1.13.6 to 1.13.7 - #17188
depsBump github.com/alitto/pond/v2 from 2.3.2 to 2.3.4 - #17180
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.68 to 1.17.69 - #17185
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.45.1 to 1.45.2 - #17187
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.50.1 to 1.50.2 - #17183
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.43.2 to 1.43.3 - #17182
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.225.0 to 1.225.1 - #17190
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.35.1 to 1.35.2 - #17193
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.31.0 to 1.31.1 - #17195
depsBump github.com/aws/smithy-go from 1.22.3 to 1.22.4 - #17196
depsBump github.com/cloudevents/sdk-go/v2 from 2.16.0 to 2.16.1 - #17212
depsBump github.com/go-chi/chi/v5 from 5.2.1 to 5.2.2 - #17191
depsBump github.com/go-sql-driver/mysql from 1.9.2 to 1.9.3 - #17192
depsBump github.com/peterbourgon/unixtransport from 0.0.4 to 0.0.5 - #17181
depsBump github.com/redis/go-redis/v9 from 9.9.0 to 9.10.0 - #17197
depsBump github.com/urfave/cli/v2 from 2.27.6 to 2.27.7 - #17198
depsBump go.opentelemetry.io/collector/pdata from 1.33.0 to 1.34.0 - #17184
depsBump google.golang.org/api from 0.236.0 to 0.237.0
v1.35.0
Deprecation Removals
This release removes the following deprecated plugin aliases:
inputs.cisco_telemetry_gnmiin #17101inputs.http_listenerin #17102inputs.KNXListenerin #17168inputs.logparserin #17170
And removes the following deprecated plugin options:
ssl_ca,ssl_certandssl_keyof common TLS settings in #17119urlofinputs.amqp_consumerin #17149namespaceofinputs.cloudwatchin #17123datacentreofinputs.consulin #17150container_names,perdeviceandtotalofinputs.dockerin #17148http_timeoutofinputs.elasticsearchin #17124directoryofinputs.filecountin #17152guess_path_tagandenable_tlsofinputs.gnmiin #17151bearer_tokenofinputs.httpin #17153pathandportofinputs.http_listener_v2in #17158addressofinputs.http_responsein #17157object_typeofinputs.icinga2in #17163max_line_sizeofinputs.influxdb_listenerin #17162enable_file_downloadofinputs.internet_speedin #17165bearer_token_stringofinputs.kube_inventoryin #17110bearer_token_stringofinputs.kubernetesin #17109serverofinputs.nsq_consumerin #17166dns_lookupofinputs.ntpqin #17159sslofinputs.openldapin #17103nameandqueuesofinputs.rabbitmqin #17105pathofinputs.smartin #17113azuredbandquery_versionofinputs.sqlserverin #17112parse_data_dog_tagsandudp_packet_sizeofinputs.statsdin #17171force_discover_on_initofinputs.vspherein #17169database,precision,retention_policyandurlofoutputs.amqpin #16950precisionofoutputs.influxdbin #17160partitionkeyanduse_random_partitionkeyofoutputs.kinesisin #17167source_tagofoutputs.libratoin #17174batchandtopic_prefixofoutputs.mqttin #17176traceofoutputs.remotefilein #17173host,portandstring_to_numberofoutputs.wavefrontin #17172
If you’re using deprecated Telegraf plugins or options, migrate your configuration to use the available replacements.
The telegraf config migrate command might be able to help with the migration.
New Plugins
- #16390
inputs.fritzboxAdd plugin - #16780
inputs.mavlinkAdd plugin - #16509
inputs.whoisAdd plugin - #16211
outputs.inlongAdd plugin - #16827
outputs.microsoft_fabricAdd plugin - #16629
processors.cumulative_sumAdd plugin
Features
- #17048
agentAdd debounce for watch events - #16524
common.kafkaAdd AWS-MSK-IAM SASL authentication - #16867
common.ratelimiterImplement means to reserve memory for concurrent use - #16148
common.shimAdd batch to shim - #17121
inputs.amqp_consumerAllow string values in queue arguments - #17051
inputs.opcuaAllow forcing reconnection on every gather cycle - #16532
inputs.opcua_listenerAllow to subscribe to OPCUA events - #16882
inputs.prometheusAdd HTTP service discovery support - #16999
inputs.s7commAdd support for LREAL and LINT data types - #16452
inputs.unboundCollect histogram statistics - #16700
inputs.whoisSupport IDN domains - #17119
migrationsAdd migration for common.tls ssl options - #17101
migrationsAdd migration for inputs.cisco_telemetry_gnmi - #17123
migrationsAdd migration for inputs.cloudwatch - #17148
migrationsAdd migration for inputs.docker - #17124
migrationsAdd migration for inputs.elasticsearch - #17102
migrationsAdd migration for inputs.http_listener - #17162
migrationsAdd migration for inputs.influxdb_listener - #17110
migrationsAdd migration for inputs.kube_inventory - #17109
migrationsAdd migration for inputs.kubernetes - #17103
migrationsAdd migration for inputs.openldap - #17105
migrationsAdd migration for inputs.rabbitmq - #17113
migrationsAdd migration for inputs.smart - #17112
migrationsAdd migration for inputs.sqlserver - #16950
migrationsAdd migration for outputs.amqp - #17160
migrationsAdd migration for outputs.influxdb - #17149
migrationsAdd migration for inputs.amqp_consumer - #17150
migrationsAdd migration for inputs.consul - #17152
migrationsAdd migration for inputs.filecount - #17151
migrationsAdd migration for inputs.gnmi - #17153
migrationsAdd migration for inputs.http - #17158
migrationsAdd migration for inputs.http_listener_v2 - #17157
migrationsAdd migration for inputs.http_response - #17163
migrationsAdd migration for inputs.icinga2 - #17165
migrationsAdd migration for inputs.internet_speed - #17166
migrationsAdd migration for inputs.nsq_consumer - #17159
migrationsAdd migration for inputs.ntpq - #17171
migrationsAdd migration for inputs.statsd - #17169
migrationsAdd migration for inputs.vsphere - #17167
migrationsAdd migration for outputs.kinesis - #17174
migrationsAdd migration for outputs.librato - #17176
migrationsAdd migration for outputs.mqtt - #17173
migrationsAdd migration for outputs.remotefile - #17172
migrationsAdd migration for outputs.wavefront - #17168
migrationsAdd migration for inputs.KNXListener - #17170
migrationsAdd migration for inputs.logparser - #16646
outputs.healthAdd max time between metrics check - #16597
outputs.httpInclude body sample in non-retryable error logs - #16741
outputs.influxdb_v2Implement concurrent writes - #16746
outputs.influxdb_v2Support secrets in http_headers values - #16582
outputs.natsAllow asynchronous publishing for Jetstream - #16544
outputs.sqlAdd option to automate table schema updates - #16678
outputs.sqlSupport secret for dsn - #16583
outputs.stackdriverEnsure quota is charged to configured project - #16717
processors.defaultsAdd support for specifying default tags - #16701
processors.enumAdd multiple tag mapping - #16030
processors.enumAllow mapping to be applied to multiple fields - #16494
serializer.prometheusremotewriteAllow sending native histograms
Bug fixes
- #17044
inputs.opcuaFix integration test - #16986
inputs.procstatResolve remote usernames on Posix systems - #16699
inputs.win_wmiFree resources to avoid leaks - #17118
migrationsUpdate table content for general plugin migrations
Dependency updates
- #17089
depsBump cloud.google.com/go/bigquery from 1.68.0 to 1.69.0 - #17026
depsBump cloud.google.com/go/storage from 1.53.0 to 1.54.0 - #17095
depsBump cloud.google.com/go/storage from 1.54.0 to 1.55.0 - #17034
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.9.0 to 1.10.0 - #17065
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.34.0 to 2.35.0 - #17145
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.35.0 to 2.36.0 - #17062
depsBump github.com/IBM/nzgo/v12 from 12.0.9 to 12.0.10 - #17083
depsBump github.com/IBM/sarama from 1.45.1 to 1.45.2 - #17040
depsBump github.com/apache/inlong/inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-golang from 1.0.0 to 1.0.1 - #17060
depsBump github.com/apache/inlong/inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-golang from 1.0.1 to 1.0.2 - #17127
depsBump github.com/apache/inlong/inlong-sdk/dataproxy-sdk-twins/dataproxy-sdk-golang from 1.0.2 to 1.0.3 - #17061
depsBump github.com/apache/thrift from 0.21.0 to 0.22.0 - #16954
depsBump github.com/aws/aws-msk-iam-sasl-signer-go from 1.0.1 to 1.0.3 - #17041
depsBump github.com/aws/aws-msk-iam-sasl-signer-go from 1.0.3 to 1.0.4 - #17128
depsBump github.com/aws/aws-sdk-go-v2/config from 1.29.14 to 1.29.15 - #17129
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.67 to 1.17.68 - #17057
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.44.3 to 1.45.0 - #17132
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.45.0 to 1.45.1 - #17029
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.49.0 to 1.50.0 - #17131
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.50.0 to 1.50.1 - #17143
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.43.1 to 1.43.2 - #17037
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.218.0 to 1.219.0 - #17067
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.220.0 to 1.222.0 - #17093
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.222.0 to 1.224.0 - #17136
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.224.0 to 1.225.0 - #17139
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.35.0 to 1.35.1 - #16996
depsBump github.com/bluenviron/gomavlib/v3 from 3.1.0 to 3.2.1 - #16987
depsBump github.com/creack/goselect from 0.1.2 to 0.1.3 - #17097
depsBump github.com/docker/docker from 28.1.1+incompatible to 28.2.2+incompatible - #17133
depsBump github.com/gosnmp/gosnmp from 1.40.0 to 1.41.0 - #17126
depsBump github.com/linkedin/goavro/v2 from 2.13.1 to 2.14.0 - #17087
depsBump github.com/lxc/incus/v6 from 6.12.0 to 6.13.0 - #17085
depsBump github.com/microsoft/go-mssqldb from 1.8.1 to 1.8.2 - #17064
depsBump github.com/nats-io/nats-server/v2 from 2.11.3 to 2.11.4 - #17140
depsBump github.com/nats-io/nats.go from 1.42.0 to 1.43.0 - #17134
depsBump github.com/netsampler/goflow2/v2 from 2.2.2 to 2.2.3 - #17028
depsBump github.com/prometheus/common from 0.63.0 to 0.64.0 - #17066
depsBump github.com/rclone/rclone from 1.69.2 to 1.69.3 - #17096
depsBump github.com/redis/go-redis/v9 from 9.8.0 to 9.9.0 - #17088
depsBump github.com/shirou/gopsutil/v4 from 4.25.4 to 4.25.5 - #17135
depsBump github.com/sijms/go-ora/v2 from 2.8.24 to 2.9.0 - #17094
depsBump github.com/snowflakedb/gosnowflake from 1.14.0 to 1.14.1 - #17035
depsBump github.com/tinylib/msgp from 1.2.5 to 1.3.0 - #17054
depsBump github.com/vmware/govmomi from 0.50.0 to 0.51.0 - #17039
depsBump github.com/yuin/goldmark from 1.7.11 to 1.7.12 - #17130
depsBump go.mongodb.org/mongo-driver from 1.17.3 to 1.17.4 - #17056
depsBump go.opentelemetry.io/collector/pdata from 1.31.0 to 1.33.0 - #17058
depsBump go.step.sm/crypto from 0.63.0 to 0.64.0 - #17141
depsBump golang.org/x/crypto from 0.38.0 to 0.39.0 - #17144
depsBump golang.org/x/mod from 0.24.0 to 0.25.0 - #17033
depsBump google.golang.org/api from 0.232.0 to 0.233.0 - #17055
depsBump google.golang.org/api from 0.233.0 to 0.234.0 - #17086
depsBump google.golang.org/api from 0.234.0 to 0.235.0 - #17036
depsBump google.golang.org/grpc from 1.72.0 to 1.72.1 - #17059
depsBump google.golang.org/grpc from 1.72.1 to 1.72.2 - #17137
depsBump google.golang.org/grpc from 1.72.2 to 1.73.0 - #17031
depsBump k8s.io/api from 0.33.0 to 0.33.1 - #17038
depsBump k8s.io/apimachinery from 0.33.0 to 0.33.1 - #17030
depsBump k8s.io/client-go from 0.33.0 to 0.33.1 - #17025
depsBump super-linter/super-linter from 7.3.0 to 7.4.0
v1.34.4
Bug fixes
- #17009
inputs.cloudwatchRestore filtering to match all dimensions - #16978
inputs.nfsclientHandle errors during mountpoint filtering - #17021
inputs.opcuaFix type mismatch in unit test - #16854
inputs.opcuaHandle session invalidation between gather cycles - #16879
inputs.tailPrevent leaking file descriptors - #16815
inputs.win_eventlogHandle large events to avoid they get dropped silently - #16878
parsers.json_v2Handle measurements with multiple objects correctly
Dependency updates
- #16991
depsBump cloud.google.com/go/bigquery from 1.67.0 to 1.68.0 - #16963
depsBump cloud.google.com/go/storage from 1.52.0 to 1.53.0 - #16955
depsBump github.com/Azure/azure-sdk-for-go/sdk/storage/azqueue from 1.0.0 to 1.0.1 - #16989
depsBump github.com/SAP/go-hdb from 1.13.5 to 1.13.6 - #16998
depsBump github.com/apache/arrow-go/v18 from 18.2.0 to 18.3.0 - #16952
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.47.3 to 1.48.0 - #16995
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.48.0 to 1.49.0 - #16974
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.212.0 to 1.214.0 - #16993
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.215.0 to 1.218.0 - #16968
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.33.3 to 1.35.0 - #16988
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.30.2 to 1.31.0 - #17013
depsBump github.com/ebitengine/purego from 0.8.2 to 0.8.3 - #16972
depsBump github.com/hashicorp/consul/api from 1.32.0 to 1.32.1 - #16992
depsBump github.com/microsoft/go-mssqldb from 1.8.0 to 1.8.1 - #16990
depsBump github.com/miekg/dns from 1.1.65 to 1.1.66 - #16975
depsBump github.com/nats-io/nats-server/v2 from 2.11.2 to 2.11.3 - #16967
depsBump github.com/nats-io/nats.go from 1.41.2 to 1.42.0 - #16964
depsBump github.com/rclone/rclone from 1.69.1 to 1.69.2 - #16973
depsBump github.com/redis/go-redis/v9 from 9.7.3 to 9.8.0 - #16962
depsBump github.com/shirou/gopsutil/v4 from 4.25.3 to 4.25.4 - #16969
depsBump github.com/snowflakedb/gosnowflake from 1.13.3 to 1.14.0 - #16994
depsBump github.com/vishvananda/netlink from 1.3.1-0.20250221194427-0af32151e72b to 1.3.1 - #16958
depsBump go.step.sm/crypto from 0.62.0 to 0.63.0 - #16960
depsBump golang.org/x/crypto from 0.37.0 to 0.38.0 - #16966
depsBump golang.org/x/net from 0.39.0 to 0.40.0 - #16957
depsBump google.golang.org/api from 0.230.0 to 0.231.0 - #16853
depsSwitch to maintained azure testcontainer module
v1.34.3
Bug fixes
- #16697
agentCorrectly truncate the disk buffer - #16868
common.ratelimiterOnly grow the buffer but never shrink - #16812
inputs.cloudwatchHandle metric includes/excludes correctly to prevent panic - #16911
inputs.lustre2Skip empty files - #16594
inputs.opcuaHandle node array values - #16782
inputs.win_wmiReplace hard-coded class-name with correct config setting - #16781
inputs.win_wmiRestrict threading model to APARTMENTTHREADED - #16857
outputs.quixAllow empty certificate for new cloud managed instances
Dependency updates
- #16804
depsBump cloud.google.com/go/bigquery from 1.66.2 to 1.67.0 - #16835
depsBump cloud.google.com/go/monitoring from 1.24.0 to 1.24.2 - #16785
depsBump cloud.google.com/go/pubsub from 1.48.0 to 1.49.0 - #16897
depsBump cloud.google.com/go/storage from 1.51.0 to 1.52.0 - #16840
depsBump github.com/BurntSushi/toml from 1.4.0 to 1.5.0 - #16838
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.63.104 to 1.63.106 - #16908
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.63.106 to 1.63.107 - #16789
depsBump github.com/antchfx/xpath from 1.3.3 to 1.3.4 - #16807
depsBump github.com/apache/arrow-go/v18 from 18.1.0 to 18.2.0 - #16844
depsBump github.com/apache/iotdb-client-go from 1.3.3 to 1.3.4 - #16839
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.44.1 to 1.44.3 - #16836
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.45.3 to 1.47.3 - #16846
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.42.2 to 1.42.4 - #16905
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.42.4 to 1.43.1 - #16842
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.210.1 to 1.211.3 - #16900
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.211.3 to 1.212.0 - #16903
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.33.2 to 1.33.3 - #16793
depsBump github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.27.4 to 1.30.2 - #16802
depsBump github.com/clarify/clarify-go from 0.3.1 to 0.4.0 - #16849
depsBump github.com/docker/docker from 28.0.4+incompatible to 28.1.1+incompatible - #16830
depsBump github.com/go-ldap/ldap/v3 from 3.4.10 to 3.4.11 - #16801
depsBump github.com/go-sql-driver/mysql from 1.8.1 to 1.9.2 - #16806
depsBump github.com/gofrs/uuid/v5 from 5.3.0 to 5.3.2 - #16895
depsBump github.com/google/cel-go from 0.24.1 to 0.25.0 - #16797
depsBump github.com/gopcua/opcua from 0.7.1 to 0.7.4 - #16894
depsBump github.com/gopcua/opcua from 0.7.4 to 0.8.0 - #16660
depsBump github.com/gosmnp/gosnmp from 1.39.0 to 1.40.0 - #16902
depsBump github.com/gosnmp/gosnmp from 1.39.0 to 1.40.0 - #16841
depsBump github.com/hashicorp/consul/api from 1.31.2 to 1.32.0 - #16891
depsBump github.com/jedib0t/go-pretty/v6 from 6.6.5 to 6.6.7 - #16892
depsBump github.com/lxc/incus/v6 from 6.11.0 to 6.12.0 - #16786
depsBump github.com/microsoft/go-mssqldb from 1.7.2 to 1.8.0 - #16851
depsBump github.com/miekg/dns from 1.1.64 to 1.1.65 - #16808
depsBump github.com/nats-io/nats-server/v2 from 2.10.25 to 2.10.27 - #16888
depsBump github.com/nats-io/nats-server/v2 from 2.10.27 to 2.11.2 - #16909
depsBump github.com/nats-io/nats.go from 1.41.1 to 1.41.2 - #16790
depsBump github.com/openconfig/gnmi from 0.11.0 to 0.14.1 - #16799
depsBump github.com/openconfig/goyang from 1.6.0 to 1.6.2 - #16848
depsBump github.com/prometheus-community/pro-bing from 0.4.1 to 0.7.0 - #16795
depsBump github.com/prometheus/client_golang from 1.21.1 to 1.22.0 - #16845
depsBump github.com/prometheus/client_model from 0.6.1 to 0.6.2 - #16901
depsBump github.com/prometheus/procfs from 0.16.0 to 0.16.1 - #16792
depsBump github.com/safchain/ethtool from 0.3.0 to 0.5.10 - #16791
depsBump github.com/seancfoley/ipaddress-go from 1.7.0 to 1.7.1 - #16794
depsBump github.com/shirou/gopsutil/v4 from 4.25.1 to 4.25.3 - #16828
depsBump github.com/snowflakedb/gosnowflake from 1.11.2 to 1.13.1 - #16904
depsBump github.com/snowflakedb/gosnowflake from 1.13.1 to 1.13.3 - #16787
depsBump github.com/srebhan/cborquery from 1.0.3 to 1.0.4 - #16837
depsBump github.com/srebhan/protobufquery from 1.0.1 to 1.0.4 - #16893
depsBump github.com/testcontainers/testcontainers-go from 0.36.0 to 0.37.0 - #16803
depsBump github.com/testcontainers/testcontainers-go/modules/kafka from 0.34.0 to 0.36.0 - #16890
depsBump github.com/testcontainers/testcontainers-go/modules/kafka from 0.36.0 to 0.37.0 - #16850
depsBump github.com/vmware/govmomi from 0.49.0 to 0.50.0 - #16784
depsBump github.com/yuin/goldmark from 1.7.8 to 1.7.9 - #16896
depsBump github.com/yuin/goldmark from 1.7.9 to 1.7.11 - #16832
depsBump go.mongodb.org/mongo-driver from 1.17.0 to 1.17.3 - #16800
depsBump go.opentelemetry.io/collector/pdata from 1.29.0 to 1.30.0 - #16907
depsBump go.opentelemetry.io/collector/pdata from 1.30.0 to 1.31.0 - #16831
depsBump go.step.sm/crypto from 0.60.0 to 0.61.0 - #16886
depsBump go.step.sm/crypto from 0.61.0 to 0.62.0 - #16816
depsBump golangci-lint from v2.0.2 to v2.1.2 - #16852
depsBump gonum.org/v1/gonum from 0.15.1 to 0.16.0 - #16805
depsBump google.golang.org/api from 0.228.0 to 0.229.0 - #16898
depsBump google.golang.org/api from 0.229.0 to 0.230.0 - #16834
depsBump google.golang.org/grpc from 1.71.1 to 1.72.0 - #16889
depsBump k8s.io/client-go from 0.32.3 to 0.33.0 - #16843
depsBump modernc.org/sqlite from 1.36.2 to 1.37.0
v1.34.2
Bug fixes
- #16375
aggregatorsHandle time drift when calculating aggregation windows
Dependency updates
- #16689
depsBump cloud.google.com/go/pubsub from 1.45.3 to 1.48.0 - #16769
depsBump cloud.google.com/go/storage from 1.50.0 to 1.51.0 - #16771
depsBump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.17.0 to 1.18.0 - #16708
depsBump github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs from 1.2.3 to 1.3.1 - #16764
depsBump github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs from 1.3.1 to 1.3.2 - #16777
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.30.3 to 2.34.0 - #16707
depsBump github.com/IBM/sarama from v1.43.3 to v1.45.1 - #16739
depsBump github.com/SAP/go-hdb from 1.9.10 to 1.13.5 - #16754
depsBump github.com/aliyun/alibaba-cloud-sdk-go from 1.62.721 to 1.63.104 - #16767
depsBump github.com/antchfx/jsonquery from 1.3.3 to 1.3.6 - #16758
depsBump github.com/aws/aws-sdk-go-v2/config from 1.29.6 to 1.29.13 - #16710
depsBump github.com/aws/aws-sdk-go-v2/credentials from 1.17.59 to 1.17.65 - #16685
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.43.14 to 1.44.1 - #16773
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.40.0 to 1.42.2 - #16688
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.203.1 to 1.210.1 - #16772
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.32.6 to 1.33.2 - #16711
depsBump github.com/cloudevents/sdk-go/v2 from 2.15.2 to 2.16.0 - #16687
depsBump github.com/google/cel-go from 0.23.0 to 0.24.1 - #16712
depsBump github.com/gophercloud/gophercloud/v2 from 2.0.0-rc.3 to 2.6.0 - #16738
depsBump github.com/gorcon/rcon from 1.3.5 to 1.4.0 - #16737
depsBump github.com/gosnmp/gosnmp from 1.38.0 to 1.39.0 - #16752
depsBump github.com/lxc/incus/v6 from 6.9.0 to 6.11.0 - #16761
depsBump github.com/nats-io/nats.go from 1.39.1 to 1.41.1 - #16753
depsBump github.com/netsampler/goflow2/v2 from 2.2.1 to 2.2.2 - #16760
depsBump github.com/p4lang/p4runtime from 1.4.0 to 1.4.1 - #16766
depsBump github.com/prometheus/common from 0.62.0 to 0.63.0 - #16686
depsBump github.com/rclone/rclone from 1.68.2 to 1.69.1 - #16770
depsBump github.com/sijms/go-ora/v2 from 2.8.22 to 2.8.24 - #16709
depsBump github.com/testcontainers/testcontainers-go from 0.35.0 to 0.36.0 - #16763
depsBump github.com/tinylib/msgp from 1.2.0 to 1.2.5 - #16757
depsBump github.com/urfave/cli/v2 from 2.27.2 to 2.27.6 - #16724
depsBump github.com/vmware/govmomi from v0.45.1 to v0.49.0 - #16768
depsBump go.opentelemetry.io/collector/pdata from 1.25.0 to 1.29.0 - #16765
depsBump go.step.sm/crypto from 0.59.1 to 0.60.0 - #16756
depsBump golang.org/x/crypto from 0.36.0 to 0.37.0 - #16683
depsBump golangci-lint from v1.64.5 to v2.0.2 - #16759
depsBump google.golang.org/api from 0.224.0 to 0.228.0 - #16755
depsBump k8s.io/client-go from 0.32.1 to 0.32.3 - #16684
depsBump tj-actions/changed-files from 46.0.1 to 46.0.3 - #16736
depsBump tj-actions/changed-files from 46.0.3 to 46.0.4 - #16751
depsBump tj-actions/changed-files from 46.0.4 to 46.0.5
v1.34.1
Bug fixes
- #16638
agentCondense plugin source information table when multiple plugins in same file - #16674
inputs.tailDo not seek on pipes - #16643
inputs.tailUse correct initial_read_offset persistent offset naming in the code - #16628
outputs.influxdb_v2Use dynamic token secret - #16625
outputs.sqlAllow to disable timestamp column - #16682
secretsMake ‘insufficient lockable memory’ warning work on BSDs
Dependency updates
- #16612
depsBump github.com/PaesslerAG/gval from 1.2.2 to 1.2.4 - #16650
depsBump github.com/aws/smithy-go from 1.22.2 to 1.22.3 - #16680
depsBump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 - #16679
depsBump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 - #16610
depsBump github.com/golang/snappy from 0.0.4 to 1.0.0 - #16652
depsBump github.com/hashicorp/consul/api from 1.29.2 to 1.31.2 - #16651
depsBump github.com/leodido/go-syslog/v4 from 4.1.0 to 4.2.0 - #16613
depsBump github.com/linkedin/goavro/v2 from 2.13.0 to 2.13.1 - #16671
depsBump github.com/redis/go-redis/v9 from 9.7.0 to 9.7.3 - #16611
depsBump go.step.sm/crypto from 0.54.0 to 0.59.1 - #16640
depsBump golang.org/x/crypto from 0.35.0 to 0.36.0 - #16620
depsBump golang.org/x/net from 0.35.0 to 0.36.0 - #16639
depsBump golang.org/x/oauth2 from 0.26.0 to 0.28.0 - #16653
depsBump k8s.io/api from 0.32.1 to 0.32.3 - #16659
depsBump tj-actions/changed-files from v45 to v46.0.1
v1.34.0
New Plugins
- #15988
inputs.firehoseAdd new plugin - #16352
inputs.huebridgeAdd plugin - #16392
inputs.nsdpAdd plugin
Features
- #16333
agentAdd support for input probing - #16270
agentPrint plugins source information - #16474
inputs.cgroupSupport more cgroup v2 formats - #16337
inputs.cloudwatchAllow wildcards for namespaces - #16292
inputs.dockerSupport swarm jobs - #16501
inputs.execAllow to get untruncated errors in debug mode - #16480
inputs.gnmiAdd support fordepthextension - #16336
inputs.infinibandAdd support for RDMA counters - #16124
inputs.ipsetAdd metric for number of entries and individual IPs - #16579
inputs.nvidia_smiAdd new power-draw fields for v12 scheme - #16305
inputs.nvidia_smiImplement probing - #16105
inputs.procstatAdd child level tag - #16066
inputs.proxmoxAllow to add VM-id and status as tag - #16287
inputs.systemd_unitsAdd active_enter_timestamp_us field - #16342
inputs.tailAddinitial_read_offsetconfig for controlling read behavior - #16355
inputs.webhooksAdd support for GitHub workflow events - #16508
inputs.x509_certAdd support for JKS and PKCS#12 keystores - #16491
outputs.mqttAdd sprig for topic name generator for homie layout - #16570
outputs.natsUse Jetstream publisher when using Jetstream - #16566
outputs.prometheus_clientAllow adding custom headers - #16272
parsers.avroAllow union fields to be specified as tags - #16493
parsers.prometheusremotewriteAdd dense metric version to better support histograms - #16214
processors.converterAdd support for base64 encoded IEEE floats - #16497
processors.templateAdd sprig function for templates
Bug fixes
- #16542
inputs.gnmiHandle path elements without name but with keys correctly - #16606
inputs.huebridgeCleanup and fix linter issues - #16580
inputs.netSkip checks in containerized environments - #16555
outputs.opensearchUse correct pipeline name while creating bulk-indexers - #16557
serializers.prometheusUse legacy validation for metric name
Dependency updates
- #16576
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.8.1 to 1.8.2 - #16553
depsBump github.com/Azure/go-autorest/autorest from 0.11.29 to 0.11.30 - #16552
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.198.1 to 1.203.1 - #16554
depsBump github.com/go-jose/go-jose/v4 from 4.0.4 to 4.0.5 - #16574
depsBump github.com/gopcua/opcua from 0.5.3 to 0.7.1 - #16551
depsBump github.com/nats-io/nats.go from 1.39.0 to 1.39.1 - #16575
depsBump github.com/tidwall/wal from 1.1.7 to 1.1.8 - #16578
depsBump super-linter/super-linter from 7.2.1 to 7.3.0
v1.33.3
Important Changes
- PR #16507 adds the
enforce_first_namespace_as_originto the GNMI input plugin. This option allows to disable mangling of the responsepathtag by not using namespaces as origin. It is highly recommended to disable the option. However, disabling the behavior might change thepathtag and thus might break existing queries. Furthermore, the tag modification might increase cardinality in your database.
Bug fixes
- #16546
agentAdd authorization and user-agent when watching remote configs - #16507
inputs.gnmiAllow to disable using first namespace as origin - #16511
inputs.proxmoxAllow search domain to be empty - #16530
internalFix plural acronyms in SnakeCase function - #16539
loggingHandle closing correctly and fix tests - #16535
processors.execdDetect line-protocol parser correctly
Dependency updates
- #16506
depsBump github.com/ClickHouse/clickhouse-go/v2 from 2.30.1 to 2.30.3 - #16502
depsBump github.com/antchfx/xmlquery from 1.4.1 to 1.4.4 - #16519
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.43.1 to 1.43.14 - #16503
depsBump github.com/aws/aws-sdk-go-v2/service/dynamodb from 1.36.2 to 1.40.0 - #16522
depsBump github.com/nats-io/nats.go from 1.37.0 to 1.39.0 - #16505
depsBump github.com/srebhan/cborquery from 1.0.1 to 1.0.3 - #16534
depsBump github.com/vishvananda/netlink from 1.3.0 to 1.3.1-0.20250221194427-0af32151e72b - #16521
depsBump go.opentelemetry.io/collector/pdata from 1.12.0 to 1.25.0 - #16504
depsBump golang.org/x/net from 0.34.0 to 0.35.0 - #16512
depsBump golangci-lint from v1.63.4 to v1.64.5
v1.33.2
Important Changes
- PR #16423 converts the ClickHouse drivers to the v2 version. This new version also requires a new format for the DSN. The plugin tries its best to convert the old DSN to the new format but might not be able to do so. Please check for warnings in your log file and convert to the new format as soon as possible.
- PR #16403 ensures consistency of the NetFlow plugin’s
ip_versionfield type by enforcing “IPv4”, “IPv6”, or “unknown” string values. Previously theip_versioncould become an (unsigned) integer when parsing raw-packets’ headers especially with SFlow v5 input. Please watch out for type-conflicts on the output side!
Bug fixes
- #16477
agentAvoid panic by checking for skip_processors_after_aggregators - #16489
agentSetgodebug x509negativeserial=1as a workaround - #16403
inputs.netflowEnsure type consistency for sFlow's IP version field - #16447
inputs.x509_certAdd config to left-pad serial number to 128-bits - #16448
outputs.azure_monitorPrevent infinite send loop for outdated metrics - #16472
outputs.sqlFix insert into ClickHouse - #16454
serviceSet address to prevent orphaned dbus-session processes
Dependency updates
- #16442
depsBump cloud.google.com/go/storage from 1.47.0 to 1.50.0 - #16414
depsBump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.7.0 to 1.8.1 - #16416
depsBump github.com/apache/iotdb-client-go from 1.3.2 to 1.3.3 - #16415
depsBump github.com/aws/aws-sdk-go-v2 from 1.32.8 to 1.33.0 - #16394
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.38.0 to 1.45.3 - #16468
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.33.10 to 1.33.12 - #16439
depsBump github.com/aws/aws-sdk-go-v2/service/sts from 1.33.2 to 1.33.10 - #16395
depsBump github.com/eclipse/paho.golang from 0.21.0 to 0.22.0 - #16470
depsBump github.com/go-ldap/ldap/v3 from 3.4.8 to 3.4.10 - #16440
depsBump github.com/google/cel-go from 0.21.0 to 0.23.0 - #16445
depsBump github.com/lxc/incus/v6 from 6.6.0 to 6.9.0 - #16466
depsBump github.com/nats-io/nats-server/v2 from 2.10.17 to 2.10.25 - #16453
depsBump github.com/prometheus/common from 0.61.0 to 0.62.0 - #16417
depsBump github.com/shirou/gopsutil/v4 from 4.24.10 to 4.24.12 - #16369
depsBump github.com/shirou/gopsutil/v4 from v4.24.10 to v4.24.12 - #16397
depsBump github.com/showwin/speedtest-go from 1.7.9 to 1.7.10 - #16467
depsBump github.com/yuin/goldmark from 1.6.0 to 1.7.8 - #16360
depsBump golangci-lint from v1.62.2 to v1.63.4 - #16469
depsBump google.golang.org/api from 0.214.0 to 0.219.0 - #16396
depsBump k8s.io/api from 0.31.3 to 0.32.1 - #16482
depsUpdate Apache arrow from 0.0-20240716144821-cf5d7c7ec3cf to 18.1.0 - #16423
depsUpdate ClickHouse SQL driver from 1.5.4 to to 2.30.1
v1.33.1
Important Changes
- The default value of
skip_processors_after_aggregatorswill change totruewith Telegrafv1.40.0, skip running the processors again after aggregators! If you need the current default behavior, please explicitly set the option tofalse! To silence the warning and use the future default behavior, please explicitly set the option totrue.
Bug fixes
- #16290
agentSkip initialization of second processor state if requested - #16377
inputs.intel_powerstatFix option removal version - #16310
inputs.mongodbDo not dereference nil pointer if gathering database stats fails - #16383
outputs.influxdb_v2Allow overriding auth and agent headers - #16388
outputs.influxdb_v2Fix panic and API error handling - #16289
outputs.remotefileHandle tracking metrics correctly
Dependency updates
- #16344
depsBump cloud.google.com/go/bigquery from 1.64.0 to 1.65.0 - #16283
depsBump cloud.google.com/go/monitoring from 1.21.1 to 1.22.0 - #16315
depsBump github.com/Azure/go-autorest/autorest/adal from 0.9.23 to 0.9.24 - #16319
depsBump github.com/IBM/nzgo/v12 from 12.0.9-0.20231115043259-49c27f2dfe48 to 12.0.9 - #16346
depsBump github.com/Masterminds/semver/v3 from 3.3.0 to 3.3.1 - #16280
depsBump github.com/aws/aws-sdk-go-v2/config from 1.27.39 to 1.28.6 - #16343
depsBump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.162.1 to 1.198.1 - #16317
depsBump github.com/fatih/color from 1.17.0 to 1.18.0 - #16345
depsBump github.com/gopacket/gopacket from 1.3.0 to 1.3.1 - #16282
depsBump github.com/nats-io/nats.go from 1.36.0 to 1.37.0 - #16318
depsBump github.com/prometheus/common from 0.60.0 to 0.61.0 - #16324
depsBump github.com/vapourismo/knx-go from v0.0.0-20240217175130-922a0d50c241 to v0.0.0-20240915133544-a6ab43471c11 - #16297
depsBump golang.org/x/crypto from 0.29.0 to 0.31.0 - #16281
depsBump k8s.io/client-go from 0.30.1 to 0.31.3 - #16313
depsBump super-linter/super-linter from 7.2.0 to 7.2.1
v1.33.0
New Plugins
- #15754
inputs.neoom_beaamAdd new plugin - #15869
processors.batchAdd batch processor - #16144
outputs.quixAdd plugin
Features
- #16010
agentAdd –watch-interval option for polling config changes - #15948
aggregators.basicstatsAdd first field - #15891
common.socketAllow parallel parsing with a pool of workers - #16141
inputs.amqp_consumerAllow specification of queue arguments - #15950
inputs.diskioAdd field io await and util - #15919
inputs.kafka_consumerImplement startup error behavior options - #15910
inputs.memcachedAdd support for external-store metrics - #15990
inputs.mockAdd sine phase - #16040
inputs.modbusAllow grouping across register types - #15865
inputs.prometheusAllow to use secrets for credentials - #16230
inputs.smartAdd Power on Hours and Cycle Count - #15935
inputs.snmpAdd displayhint conversion - #16027
inputs.snmpConvert uneven bytes to int - #15976
inputs.socket_listenerUse reception time as timestamp - #15853
inputs.statsdAllow reporting sets and timings count as floats - #11591
inputs.vsphereAdd VM memory configuration - #16109
inputs.vsphereAdd cpu temperature field - #15917
inputsAdd option to choose the metric time source - #16242
loggingAllow overriding message key for structured logging - #15742
outputs.influxdb_v2Add rate limit implementation - #15943
outputs.mqttAdd sprig functions for topic name generator - #16041
outputs.postgresqlAllow limiting of column name length - #16258
outputsAdd rate-limiting infrastructure - #16146
outputsImplement partial write errors - #15883
outputsOnly copy metric if its not filtered out - #15893
serializers.prometheusremotewriteLog metric conversion errors
Bug fixes
- #16248
inputs.netflowDecode flags in TCP and IP headers correctly - #16257
inputs.procstatHandle running processes correctly across multiple filters - #16219
loggingAddClose()func for redirectLogger - #16255
loggingClean up extra empty spaces when redirectLogger is used - #16274
loggingFix duplicated prefix and attrMsg in log message when redirectLogger is used
Dependency updates
- #16232
depsBump cloud.google.com/go/bigquery from 1.63.1 to 1.64.0 - #16235
depsBump cloud.google.com/go/storage from 1.43.0 to 1.47.0 - #16198
depsBump github.com/aws/aws-sdk-go-v2/service/cloudwatch from 1.42.2 to 1.43.1 - #16234
depsBump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.29.3 to 1.32.6 - #16201
depsBump github.com/intel/powertelemetry from 1.0.1 to 1.0.2 - #16200
depsBump github.com/rclone/rclone from 1.68.1 to 1.68.2 - #16199
depsBump github.com/vishvananda/netns from 0.0.4 to 0.0.5 - #16236
depsBump golang.org/x/net from 0.30.0 to 0.31.0 - #16250
depsBump golangci-lint from v1.62.0 to v1.62.2 - #16233
depsBump google.golang.org/grpc from 1.67.1 to 1.68.0 - #16202
depsBump modernc.org/sqlite from 1.33.1 to 1.34.1 - #16203
depsBump super-linter/super-linter from 7.1.0 to 7.2.0
v1.32.3
Important Changes
- PR #16015 changes the
internal counters of the Bind plugin to unsigned integers (as in the server
implementation). For backward compatibility,
report_counters_as_intistrueby default to avoid type conflicts on the output side. However, you should setreport_counters_as_inttofalseas soon as possible to avoid invalid values and parsing errors with the v3 XML statistics.
Bug fixes
- #16123
agentRestore setup order of stateful plugins toInit()thenSetState() - #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
Bug fixes
- #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
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 creating serializers, contact us.
Bug fixes
- #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
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 redundant
logtargetsetting is deprecated.stderris used if nologfileis provided, otherwise messages are logged to the given file. To use Windowseventlog, setlogformat = "eventlog". - This release contains a change in json_v2 parser config parsing: if the config is empty (doesn’t 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). This feature is experimental. Please report any issues you encounter while using it.
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
Bug fixes
- #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
Bug fixes
- #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
Bug fixes
- #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
Bug fixes
- #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
Important Changes
- The fields
read_bytesandwrite_bytesininputs.procstatnow contain all I/O operations for consistency with other operating systems. Previous values are output asdisk_read_bytesanddisk_write_bytesmeasuring only the I/O on the storage layer.
New Plugins
Inputs
- smartctl (
inputs.smartctl)
Parsers
- openmetrics (
parsers.openmetrics) - parquet (
parsers.parquet)
Processors
- timestamp (
processors.timestamp)
Features
- Agent:
- Add uint support in cli test output.
- Introduce CLI option to set config URL retry attempts.
- Introduce CLI option to reload remote URL configs on change.
- Azure Monitor (
input.azure_monitor): Use default Azure credentials chain when no secret provided. - Basicstats (aggregators.basicstats`): Add last field.
- Binary (
parsers.binary): Allow base64-encoded input data. - Ceph (
inputs.ceph): Use perf schema to determine metric type. - CLI: List available parsers and serializers.
- CrateDB (
outputs.cratedb): Allow configuration of startup error handling. - DNS Query (
inputs.dns_query): Allow ignoring errors of specific types. - ElasticSearch (`outputs.elasticsearch Allow settings extra headers for elasticsearch output.
- Exec (
inputs.exec): Add option to ignore return code. - Execd (
inputs.execd): Add option to not restart program on error. - File (
inputs.file): Add tag with absolute path of file. - Final (aggregators.final`): Add option to disable appending _final.
- GNMI (
inputs.gnmi):- Add keepalive settings.
- Add option to create more descriptive tags.
- Add secret store support for username and password.
- Add yang-model decoding of JSON IETF payloads.
- Allow to pass accepted cipher suites.
- HTTP Listener (
inputs.http_listener): Allow setting custom success return code. - HTTP Response (
inputs.http_response): Add cookie authentication. - Influx (
serializers.influx): Add option to omit timestamp. - InfluxDB (
inputs.influxdb): Add metrics for build, crypto and commandline. - InfluxDB (
outputs.influxdb): Add option to define local address. - InfluxDB v2 (
outputs.influxdb_v2)- Add option to set local address.
- Preserve custom query parameters on write.
- InfluxDB v2 Listener (
inputs.influxdb_v2_listener):- Add support for rate limiting.
- Support secret store for token.
- Internet Speed (
inputs.internet_speed): Introduce packet loss field. - Inputs (
inputs): Add framework to retry on startup errors. - Kafka Consumer (
inputs.kafka_consumer): Add resolve canonical bootstrap server option. - KNX Listener (
inputs.knx_listener):- Add support for string data type.
- Allow usage of DPT string representation.
- Kubernetes (
inputs.kubernetes): Add option to node metric name. - Lustre2 (
inputs.lustre2):- Add eviction_count field.
- Add health-check metric.
- Add support for bulk read/write stats.
- Skip brw_stats in case of insufficient permissions.
- Merge (aggregators.merge`): Allow to round metric timestamps.
- MQTT (
outputs.mqtt): Add client trace logging, resolve MQTT5 reconnect login. - Mock (
inputs.mock): Add baseline option to sine. - Netflow (
inputs.netflow):- Add support for IPFIX option packets.
- Add support for netflow v9 option packets.
- Nvidia SMI (
inputs.nvidia_smi): Add power-limit field for v12 scheme. - OPCUA (
common.opcua): Add session timeout as configuration option. - OpenStack (
inputs.openstack): Use service catalog from v3 authentication if available. - OpenTelemetry (
inputs.opentelemetry): Add option to set max receive message size - Outputs (
outputs): Add framework to retry on startup errors. - Parser (
processors.parser): Add base64 decode for fields. - PostgreSQL (
outputs.postgresql):- Add secret store support.
- Allow configuration of startup error handling.
- Printer (
processors.printer): Embed Influx serializer options. - Procstat (
inputs.procstat):- Add option to select properties to collect.
- Allow multiple selection criteria.
- Report consistent I/O on Linux.
- Prometheus Remote Write (
parser.prometheusremotewrite): Parse and generate histogram buckets. - Radius (
inputs.radius): Provide setting to set request IP address. - Redis (
inputs.redis): Add latency percentiles metric. - s7comm (
inputs.s7comm): Add optional connection type setting. - SNMP (
snmp): Add secret support for auth_password and priv_password. - SNMP (
inputs.snmp): Convert octet string with invalid data to hex. - SQLServer (
inputs.sqlserver): Add persistent version store metrics. - Starlark (
processors.starlark): Allow persistence of global state. - Statsd (
inputs.statsd):- Add support for DogStatsD v1.2.
- Allow counters to report as float.
- Windows EventLog (
inputs.win_eventlog): Add option to define event batch-size. - Windows WMI (
inputs.win_wmi):- Add support for remote queries.
- Allow to invoke methods.
Bug fixes
- Agent: Warn on multiple agent configuration tables seen.
- CloudWatch (
inputs.cloudwatch):- Add accounts when enabled.
- Ensure account list is larger than index.
- ECS (
inputs.ecs): Check for nil pointer before use. - PostgreSQL Extensible (
inputs.postgresql_extensible): Use same timestamp for each gather. - procstat (
inputs.procstat): Do not report dead processes as running for orphan PID files. - smartctl (
inputs.smartctl): Add additional fields. - SNMP Lookup (
processors.snmp_lookup): Return empty tag-map on error to avoid panic.
Dependency updates
- Update
cloud.google.com/go/storagefrom 1.40.0 to 1.41.0. - Update
github.com/awnumar/memguardfrom 0.22.4 to 0.22.5. - Update
github.com/fatih/colorfrom 1.16.0 to 1.17.0. - Update
github.com/jhump/protoreflectfrom 1.15.6 to 1.16.0. - Update
github.com/lxc/incusv0.4.0 to v6.2.0. - Update
github.com/miekg/dnsfrom 1.1.58 to 1.1.59. - Update
github.com/openzipkin/zipkin-gofrom 0.4.2 to 0.4.3. - Update
github.com/prometheus/commonfrom 0.52.2 to 0.53.0. - Update
github.com/showwin/speedtest-gofrom 1.7.5 to 1.7.6. - Update
github.com/showwin/speedtest-gofrom 1.7.6 to 1.7.7. - Update
github.com/snowflakedb/gosnowflakefrom 1.7.2 to 1.10.0. - Update
gofrom v1.22.3 to v1.22.4. - Update
golang.org/x/cryptofrom 0.22.0 to 0.23.0. - Update
golang.org/x/netfrom 0.24.0 to 0.25.0. - Update
k8s.io/*from 0.29.3 to 0.30.1. - Update
modernc.org/sqlitefrom 1.29.10 to 1.30.0. - Update
modernc.org/sqlitefrom 1.29.5 to 1.29.10. - Update
super-linter/super-linterfrom 6.4.1 to 6.5.0. - Update
super-linter/super-linterfrom 6.5.0 to 6.5.1. - Switch to
github.com/leodido/go-syslog. - Update all OpenTelemetry dependencies.
v1.30.3
Bug fixes
- Cloudwatch (
inputs.cloudwatch): Option to produce dense metrics. - GNMI (
inputs.gnmi): Ensure path contains elements to avoid panic. - Graphite (
outputs.graphite): Handle local address without port correctly. - HTTP (
http): Stop plugins from leaking file descriptors on telegraf reload. - HTTP Listener v2 (
inputs.http_listener_v2): Wrap timestamp parsing error messages. - Loki (
outputs.loki): Option to sanitize label names. - Makefile (
makefile): Use go’s dependency checker for per platform builds. - Netflow (
inputs.netflow): Log unknown fields only once. - Redis (
input.redis): Discard invalid errorstat lines. - Sysstat (
inputs.sysstat): Prevent default sadc_interval from increasing on reload. - Windows (
windows): Make sure to log the final error message on exit.
Dependency updates
- Update
cloud.google.com/go/bigqueryfrom 1.59.1 to 1.61.0. - Update
github.com/Azure/azure-kusto-gofrom 0.15.0 to 0.15.2. - Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.62.713 to 1.62.721. - Update
github.com/antchfx/xmlqueryfrom 1.3.18 to 1.4.0. - Update
github.com/antchfx/xpathfrom 1.2.5 to 1.3.0. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.27.9 to 1.27.13. - Update
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.17.9 to 1.17.11. - Update
github.com/aws/aws-sdk-go-v2/service/ec2from 1.151.1 to 1.161.1. - Update
github.com/coocood/freecachefrom 1.2.3 to 1.2.4. - Update
github.com/google/cel-gofrom 0.18.1 to 0.20.1. - Update
github.com/grid-x/modbusfrom v0.0.0-20211113184042-7f2251c342c9 to v0.0.0-20240503115206-582f2ab60a18. - Update
github.com/nats-io/nats-server/v2from 2.10.9 to 2.10.14. - Update
github.com/pion/dtls/v2from 2.2.10 to 2.2.11. - Update
github.com/prometheus/procfsfrom 0.13.0 to 0.14.0. - Update
github.com/shirou/gopsutil/v3from v3.24.3 to v3.24.4. - Update
github.com/testcontainers/testcontainers-go/modules/kafkafrom 0.26.1-0.20231116140448-68d5f8983d09 to 0.30.0. - Update
github.com/vmware/govmomifrom 0.37.0 to 0.37.2. - Update
gofrom v1.22.2 to v1.22.3. - Update
golang.org/x/modfrom 0.16.0 to 0.17.0. - Update
golang.org/x/syncfrom 0.6.0 to 0.7.0. - Update
golangci-lintfrom v1.57.2 to v1.58.0. - Update
google.golang.org/apifrom 0.171.0 to 0.177.0. - Update
super-linter/super-linterfrom 6.3.1 to 6.4.1. - Migrate to maintained gopacket library.
v1.30.2
Important Changes
- This release 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 to true.
Bug fixes
- Agent (
agent): Ensure import of required package for pprof support. - Disk I/O (
inputs.diskio): Update path from /sys/block to /sys/class/block. - Modbus (
inputs.modbus): Avoid overflow when calculating with uint16 addresses. - Nvidia (
inputs.nvidia): Include power limit field for v11. - OPC UA (
inputs.opcua): Make sure to always create a request. - OpenSearch (
outputs.opensearch): Correctly error during failures or disconnect. - PHP FPM (
inputs.phpfpm): Check for error before continue processing. - Prometheus (
inputs.prometheus):- Correctly handle host header.
- Remove duplicate response_timeout option.
- SQL (
outputs.sql): Enable the use of krb5 with mssql driver. - SQL Server (
inputs.sqlserver): Honor timezone on backup metrics. - systemd (
systemd): Remove 5 second timeout, use default (90 seconds). - systemd Units (
inputs.systemd_units):- Reconnect if connection is lost.
- Revert to only gather loaded units by default.
- Windows Event Log (
inputs.win_eventlog): Handle empty query correctly.
Dependency updates
- Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.62.563 to 1.62.708. - Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.62.708 to 1.62.713. - Update
github.com/apache/iotdb-client-gofrom 0.12.2-0.20220722111104-cd17da295b46 to 1.2.0-tsbs. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchfrom 1.36.1 to 1.37.0. - Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.27.1 to 1.27.4. - Update
github.com/aws/aws-sdk-go-v2/service/timestreamwritefrom 1.25.2 to 1.25.5. - Update
github.com/go-sql-driver/mysqlfrom 1.7.1 to 1.8.1. - Update
github.com/gophercloud/gophercloudfrom 1.9.0 to 1.11.0. - Update
github.com/jackc/pgtypefrom 1.14.2 to 1.14.3. - Update
github.com/prometheus/client_golangfrom 1.18.0 to 1.19.0. - Update
github.com/redis/go-redis/v9from 9.2.1 to 9.5.1. - Update
github.com/shirou/gopsutilfrom v3.23.11 to v3.24.3. - Update
github.com/testcontainers/testcontainers-gofrom 0.27.0 to 0.29.1. - Update
github.com/vmware/govmomifrom 0.33.1 to 0.37.0. - Update
golang.org/x/netfrom 0.22.0 to 0.23.0. - Update
golang.org/x/oauth2from 0.18.0 to 0.19.0. - Update
k8s.io/client-gofrom 0.29.2 to 0.29.3. - Update
super-linter/super-linterfrom 6.3.0 to 6.3.1. - Update
tj-actions/changed-filesfrom 43 to 44
v1.30.1
Bug fixes
- Chrony (
inputs.chrony): Remove chronyc dependency in documentation. - DiskIO (
inputs.diskio): Add missing udev properties. - DNS Query (
inputs.dns_query):- Fill out additional record fields.
- Include the canonical CNAME target.
- KNX (
inputs.knx_listener):- Ignore GroupValueRead requests.
- Reconnect after connection loss.
- MySQL (
inputs.mysql):- Parse boolean values in metric v1 correctly.
- Use correct column-types for Percona 8 user stats.
- NVIDIA SMI (
inputs.nvidia_smi): Add process info metrics. - OpenStack(
inputs.openstack): Resolve regression in block storage and server info. - PHP-FPM (
inputs.phpfpm): Add timeout for fcgi. - Ping (
inputs.ping): Add option to force ipv4. - Prometheus (
inputs.prometheus): Initialize logger of parser. - S.M.A.R.T. (
inputs.smart): Improve regexp to support flags with a plus. - Systemd Units (
inputs.systemd_units): Handle disabled multi-instance units correctly. - BigQuery (
outputs.bigquery): Add scope to bigquery and remove timeout context. - Avoid count underflow by only counting initialized secrets.
- Ensure watch-config is passed to the Windows service.
Dependency updates
- Update
github.com/IBM/saramafrom v1.42.2 to v1.43.1. - Update
github.com/aws/aws-sdk-go-v2from 1.25.3 to 1.26.0. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.27.5 to 1.27.9. - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imdsfrom 1.15.2 to 1.16.0. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.34.2 to 1.34.3. - Update
github.com/aws/aws-sdk-go-v2/service/ec2from 1.149.3 to 1.151.1. - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.28.2 to 1.28.4. - Update
github.com/docker/dockerfrom 25.0.0+incompatible to 25.0.5+incompatible. - Update
github.com/jackc/pgtypefrom 1.14.0 to 1.14.2. - Update
github.com/jackc/pgx/v4from 4.18.1 to 4.18.2. - Update
github.com/klauspost/compressfrom 1.17.6 to 1.17.7. - Update
github.com/pion/dtls/v2from 2.2.8 to 2.2.10. - Update
github.com/prometheus-community/pro-bingfrom 0.3.0 to 0.4.0. - Update
github.com/prometheus/procfsfrom 0.12.0 to 0.13.0. - Update
github.com/stretchr/testifyv1.8.4 to v1.9.0. - Update
go.step.sm/cryptofrom 0.43.0 to 0.44.1. - Update
golang.org/x/cryptofrom 0.20.0 to 0.21.0. - Update
gonum.org/v1/gonumfrom 0.14.0 to 0.15.0. - Update
google.golang.org/apifrom 0.165.0 to 0.171.0. - Update
google.golang.org/protobuffrom 1.32.0 to 1.33.0. - Update
tj-actions/changed-filesfrom 42 to 43.
v1.30.0
Deprecation removals
This release removes the following deprecated plugins:
inputs.cassandrainputs.httpjsoninputs.ioinputs.jolokiainputs.kafka_consumer_legacyinputs.snmp_legacyinputs.tcp_listenerinputs.udp_listeneroutputs.riemann_legacy
Furthermore, the following deprecated plugin options are removed:
mountpointsofinputs.diskmetric_bufferofinputs.mqtt_consumermetric_bufferofinputs.nats_consumerurlofoutputs.influxdb
Replacements do exist, so please migrate your configuration in case you are
still using one of these plugins. The telegraf config migrate command
can help with migrating to newer plugins.
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. Telegraf 1.30.0+ sets the timeout to infinite (i.e zero) as this is the expected behavior. - Telegraf 1.30.0+ correctly sanitize PostgreSQL addresses, which may change the server tag value for a URI-formatted address that contains spaces, backslashes or single-quotes in non-redacted parameters.
New Plugins
Outputs
- Zabbix (
outputs.zabbix)
Serializers
- Binary (
serializers.binary)
Processors
- SNMP lookup (
processors.snmp_lookup)
Features
- Add loongarch64 nightly and release builds.
- Add
skip_processors_after_aggregatorsconfiguration option to skip re-running processors after aggregators. - Allow secrets in headers
- OPCUA (
common.opcua): Add debug info for nodes not in server namespace. - Aerospike (
inputs.aerospike): Deprecate plugin. - AMD ROCm System Management Interface (
inputs.amd_rocm_smi): Addstartup_error_behaviorconfiguration option. - Chrony (
inputs.chrony):- Allow the collection of additional metrics.
- Remove
chronycdependency.
- Kafka Consumer (
inputs.kafka_consumer): Mark messages that failed parsing. - Kernel (
inputs.kernel): Add pressure stall information. - Modbus (
inputs.modbus): Add a workaround for unusual string-byte locations. - Net (
inputs.net): Add speed metric. - NVIDIA SMI (
inputs.nvidia_smi): Addstartup_error_behaviorconfiguration option. - Prometheus (
inputs.prometheus):- Add internal metrics.
- Add option to limit body length.
- Redfish (
inputs.redfish): Allow secrets for username/password configuration. - S.M.A.R.T. (
inputs.smart): Add adevice_typetag to differentiate disks behind a RAID controller. - SQL Server (
inputs.sqlserver): Add stolen target memory ratio. - Systemd Units (
inputs.systemd_units)- Support querying unloaded/disabled units.
- Introduce show subcommand for additional data.
- Windows Services (
inputs.win_services): Make service selection case-insensitive. - Graphite (
outputs.graphite): Set the local address to bind to. - NATS (
outputs.nats): Introduce NATS Jetstream option. - Nebius Cloud Monitoring (
outputs.nebius_cloud_monitoring): Add service configuration setting. - Webscoket (
outputs.websocket): Support secrets in headers. - CSV (
serializers.csv): Specify a fixed column order.
Bug fixes
- Catch panics in input plugin goroutines.
- Reword error message about missing configuration options.
- Docker Log (
inputs.docker_log): Use the correct name when matching container. - GNMI (
inputs.gnmi):- Add option to infer the path tag from the subscription.
- Handle canonical field-name correctly
- Netflow (
inputs.netflow): Fallback to IPFIX mappings for Netflow v9. - PHP-FPM (
inputs.phpfpm): Continue despite erroneous sockets. - Prometheus (
inputs.prometheus): List namespaces only when filtering by namespace. - Prometheus (
parsers.prometheus): Do not touch input data for protocol-buffers. - Override (
processors.override): Correct TOML tag name. - Ensure valid statefile in package.
Dependency updates
- Update all
github.com/aws/aws-sdk-go-v2dependencies. - Update
cloud.google.com/go/bigqueryfrom 1.58.0 to 1.59.1. - Update
github.com/aws/aws-sdk-go-v2/service/dynamodbfrom 1.27.0 to 1.30.2. - Update
github.com/cloudevents/sdk-go/v2from 2.15.0 to 2.15.2. - Update
github.com/eclipse/paho.golangfrom 0.20.0 to 0.21.0. - Update
github.com/microsoft/go-mssqldbfrom 1.6.0 to 1.7.0. - Update
github.com/netsampler/goflow2from v1.3.6 to v2.1.2. - Update
github.com/peterbourgon/unixtransportfrom 0.0.3 to 0.0.4. - Update
github.com/prometheus/client_modelfrom 0.5.0 to 0.6.0. - Update
github.com/srebhan/cborqueryfrom v0.0.0-20230626165538-38be85b82316 to v1.0.1. - Update
github.com/vapourismo/knx-gofrom v0.0.0-20240107135439-816b70397a00 to v0.0.0-20240217175130-922a0d50c241. - Update
go.mongodb.org/mongo-driverfrom 1.13.1 to 1.14.0. - Update
golang.org/x/cryptofrom 0.19.0 to 0.20.0. - Update
modernc.org/sqlitefrom 1.28.0 to 1.29.2. - Update
super-linter/super-linterfrom 6.1.1 to 6.3.0.
v1.29.5
Bug fixes
- execd (
processors.execd): Accept tracking metrics instead of dropping them. - Filecount (
inputs.filecount): Respect symlink files with FollowSymLinks. - GNMI (
inputs.gnmi): Normalize path for inline origin handling. - Kafka Consume (
inputs.kafka_consumer): Fix typo of msg_headers_as_tags. - MQTT (
outputs.mqtt): Retry metrics for server timeout. - Packaging (
rpm): Ensure telegraf is installed after useradd. - PostgreSQL Extensible (
inputs.postgresql_extensible): Add support for bool tags. - Redfish (
inputs.redfish): Resolve iLO4 fan data. - SNMP Trap (
inputs.snmp_trap): Enable SHA ciphers. - unpivot (
processors.unpivot): Handle tracking metrics correctly. - Vsphere (
inputs.vsphere): Use guest.guestId value if set for guest name.
Dependency updates
- Update
cloud.google.com/go/bigqueryfrom 1.57.1 to 1.58.0. - Update
cloud.google.com/go/pubsubfrom 1.33.0 to 1.36.1. - Update
cloud.google.com/go/storagefrom 1.36.0 to 1.38.0. - Update
github.com/Azure/azure-event-hubs-go/v3from 3.6.1 to 3.6.2. - Update
github.com/DATA-DOG/go-sqlmockfrom 1.5.0 to 1.5.2. - Update
github.com/IBM/saramafrom 1.42.1 to 1.42.2. - Update
github.com/awnumar/memguardfrom 0.22.4-0.20231204102859-fce56aae03b8 to 0.22.4. - Update
github.com/cloudevents/sdk-go/v2from 2.14.0 to 2.15.0. - Update
github.com/eclipse/paho.golangfrom 0.11.0 to 0.20.0. - Update
github.com/google/uuidfrom 1.5.0 to 1.6.0. - Update
github.com/gopcua/opcuafrom 0.4.0 to 0.5.3. - Update
github.com/gophercloud/gophercloudfrom 1.7.0 to 1.9.0. - Update
github.com/gwos/tcg/sdkfrom v0.0.0-20220621192633-df0eac0a1a4c to v8.7.2. - Update
github.com/jhump/protoreflectfrom 1.15.4 to 1.15.6. - Update
github.com/klauspost/compressfrom 1.17.4 to 1.17.6. - Update
github.com/miekg/dnsfrom 1.1.57 to 1.1.58. - Update
github.com/showwin/speedtest-gofrom 1.6.7 to 1.6.10. - Update
github.com/urfave/cli/v2from 2.25.7 to 2.27.1. - Update
go.opentelemetry.io/collector/pdatafrom 1.0.1 to 1.1.0. - Update
golang.org/x/oauth2from 0.16.0 to 0.17.0. - Update
google.golang.org/apifrom 0.162.0 to 0.165.0. - Update
google.golang.org/grpcfrom 1.61.0 to 1.61.1. - Update
k8s.io/apimachineryfrom 0.29.0 to 0.29.1. - Update
k8s.io/client-gofrom 0.29.0 to 0.29.1. - Update
k8s.io/client-gofrom 0.29.1 to 0.29.2. - Update
super-linter/super-linterfrom 6.0.0 to 6.1.1. - Update
tj-actions/changed-filesfrom 41 to 42. - Remove
golang.org/x/expand use stable versions instead. - Use
github.com/coreos/go-systemd/v22instead of git version.
v1.29.4
Bug fixes
- SNMP (
inputs.temp): Fix regression in metric formats. - SNMP Trap (
inputs.snmp_trap): Handle octet strings. - Parser (
processors.parser): Drop tracking metrics when not carried forward.
Dependency updates
- Update all AWS dependencies
- Update
github.com/compose-spec/compose-gofrom 1.20.0 to 1.20.2. - Update
github.com/gosnmp/gosnmpfrom 1.36.1 to 1.37.0. - Update
github.com/microsoft/go-mssqldbfrom 1.5.0 to 1.6.0. - Update
github.com/nats-io/nats-server/v2from 2.10.6 to 2.10.9. - Update
github.com/yuin/goldmarkfrom 1.5.6 to 1.6.0.
v1.29.3
Bug fixes
- Encoding (
common.encoding): Remove locally-defined errors and use upstream ones. - GNMI (
inputs.gnmi): Refactor alias handling to prevent clipping. - IOTDB (
outputs.iotdb): Handle paths that contain illegal characters. - Loki (
outputs.loki): Do not close body before reading it. - MQTT (
outputs.mqtt): Preserve leading slash in topic. - Temperature (
inputs.temp): Recover pre-v1.22.4 temperature sensor readings. - Windows Performance Counters (
inputs.win_perf_counters):- Check errors post-collection for skip.
- Ignore PdhCstatusNoInstance as well.
Dependency updates
- Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.29.5 to 1.31.0. - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.26.5 to 1.26.7. - Update
github.com/clarify/clarify-gofrom 0.2.4 to 0.3.1. - Update
github.com/docker/dockerfrom 24.0.7+incompatible to 25.0.0+incompatible. - Update
github.com/docker/go-connectionsfrom 0.4.0 to 0.5.0. - Update
github.com/fatih/colorfrom 1.15.0 to 1.16.0. - Update
github.com/gorilla/muxfrom 1.8.0 to 1.8.1. - Update
github.com/intel/powertelemetryfrom 1.0.0 to 1.0.1. - Update
github.com/nats-io/nats.gofrom 1.31.0 to 1.32.0. - Update
github.com/prometheus/commonfrom 0.44.0 to 0.45.0. - Update
github.com/testcontainers/testcontainers-gofrom 0.26.0 to 0.27.0. - Update
github.com/vapourismo/knx-gofrom v0.0.0-20220829185957-fb5458a5389d to 20240107135439-816b70397a00. - Update
go.opentelemetry.io/collector/pdatafrom 1.0.0-rcv0016 to 1.0.1. - Update
go.starlark.netfromgo.starlark.netv0.0.0-20220328144851-d1966c6b9fcd to v0.0.0-20231121155337-90ade8b19d09. - Update
k8s.io/client-gofrom 0.28.3 to 0.29.0. - Update
modernc.org/sqlitefrom 1.24.0 to 1.28.0.
v1.29.2
Bug fixes
- Bigquery (
outputs.bigquery): Ignore fields containing NaN or infinity. - Filter (
processors.filter): Rename processors.Filter -> processors.filter. - InfluxDB (
outputs.influxdb): Support setting Host header. - InfluxDB v2 (
outputs.influxdb_v2): Support setting Host header. - Kafka (
common.kafka): Correctly set gssapi username/password.- Add pid field to differentiate metrics.
- Use logger without causing panic.
- PHP FPM (
inputs.phpfpm): - procstat (
inputs.procstat): Correctly set tags on procstat_lookup. - Prometheus Client (
outputs.prometheus_client): Always default to TCP. - Starlark (
processors.starlark): Use tracking ID to identify tracking metrics. - systemd (
systemd): Allow notify access from all. - UPSD (
inputs.upsd): Add additional fields to upsd from NUT. - Vsphere (
inputs.vsphere): Resolve occasional serverFault.
Dependency updates
- Update
collectd.orgfrom v0.5.0 to v0.6.0. - Update
github.com/Azure/azure-kusto-gofrom 0.13.1 to 0.15.0. - Update
github.com/containerd/containerdfrom 1.7.7 to 1.7.11. - Update
github.com/djherbis/timesfrom 1.5.0 to 1.6.0. - Update
github.com/dvsekhvalnov/jose2gofrom v1.5.0 to v1.5.1-0.20231206184617-48ba0b76bc88. - Update
github.com/google/uuidfrom 1.4.0 to 1.5.0. - Update
github.com/jhump/protoreflectfrom 1.15.3 to 1.15.4. - Update
github.com/pion/dtls/v2from 2.2.7 to 2.2.8. - Update
github.com/prometheus/prometheusfrom 0.48.0 to 0.48.1. - Update
github.com/sijms/go-ora/v2from 2.7.18 to 2.8.4. - Update
go.mongodb.org/mongo-driverfrom 1.12.1 to 1.13.1. - Update
golang.org/x/cryptofrom 0.16.0 to 0.17.0. - Update
golang.org/x/netfrom 0.17.0 to 0.19.0. - Update
google.golang.org/protobuffrom 1.31.1-0.20231027082548-f4a6c1f6e5c1 to 1.32.0.
v1.29.1
Bug fixes
- Clickhouse (
inputs.clickhouse): Omit zookeeper metrics on clickhouse cloud. - PHP FPM (
inputs.php-fpm): Parse JSON output. - procstat (
inputs.procstat): Revert unintended renaming of systemd_unit option.
Dependency updates
- Update
github.com/go-ldap/ldap/v3from 3.4.5 to 3.4.6. - Update
github.com/klauspost/compressfrom 1.17.3 to 1.17.4. - Update
github.com/openzipkin/zipkin-gofrom 0.4.1 to 0.4.2. - Update
github.com/tidwall/gjsonfrom 1.14.4 to 1.17.0. - Update all
github.com/aws/aws-sdk-go-v2dependencies.
v1.29.0
New Plugins
Inputs
- LDAP (
inputs.inputs.ldap)
Outputs
- OpenSearch (
outputs.opensearch)
Processors
- Filter (
processors.filter)
Secret Stores
- systemd (
secretstores.systemd)
Features
- Agent (
agent): Allow separators for namepass and namedrop filters - Final (
aggregators.final): Specify output strategy - HTTP (
common.http): Add support for connecting over unix-socket - OPCUA (
common.opcua): Add option to include OPC-UA DataType as a field - Config (
config): Deprecatefieldpassandfielddropmodifiers - Intel PMT (
input.intel_pmt): Addpci_bdftag to uniquely identify GPUs and other peripherals - AMQP Consumer (
inputs.amqp_consumer): Add secretstore support for username and password - Docker (
inputs.docker): Add disk usage - DPDK (
inputs.dpdk): Add options to customize error-behavior and metric layout - Elasticsearch (
inputs.elasticsearch): Use HTTPClientConfig struct - Elasticsearch Query (
inputs.elasticsearch_query): Use HTTPClientConfig struct - GNMI (
inputs.gnmi): Rework plugin - HTTP Response (
inputs.http_response): Add body form configuration option - Intel PowerStat (
inputs.intel_powerstat): Extract business logic to external library - Kafka Consumer (
inputs.kafka_consumer):- Add message headers as metric tags
- Add option to set metric name from message header
- Kibana (
inputs.kibana): Use HTTPClientConfig struct - Kube Inventory (
inputs.kube_inventory)- Support filtering pods and nodes by node name
- Support using kubelet to get pods data
- LDAP (
inputs.ldap): Collect additional fields - Logstash (
inputs.logstash): Use HTTPClientConfig struct - Modbus (
inputs.modbus): Add support for string fields - NATS Consumer (
inputs.nats_consumer): Add nkey-seed-file authentication - OPCUA Listener (
inputs.opcua_listener): Add monitoring params - Open Weather Map(
inputs.openweathermap): Add per-city query scheme for current weather - procstat (
inputs.procstat): Obtain process information through supervisor - RabbitMQ (
inputs.rabbitmq): Add secretstore support for username and password - Redfish (
inputs.redfish): Allow specifying which metrics to collect - SNMP (
inputs.snmp): Hint to use source tag - Socket Listener (
inputs.socket_listener): Add vsock support to socket listener and writer - SQL (
inputs.sql):- Add Oracle driver
- Add IBM Netezza driver
- Windows Service (
inputs.win_service): Reduce required rights toGENERIC_READ - Migrations (
migrations):- Add migration for
fieldpassandfielddrop - Add migration for
inputs.jolokia - Add migration for
inputs.kafka_consumer_legacy - Add migration for
inputs.snmp_legacy - Add migration for
inputs.tcp_listener - Add migration for
inputs.udp_listener - Add migration for
outputs.riemann_legacy - Add option migration for
inputs.disk - Add option migration for
inputs.mqtt_consumer - Add option migration for
inputs.nats_consumer - Add option migration for
outputs.influxdb
- Add migration for
- Azure Data Explorer (
outputs.azure_data_explorer): Set user agent string - BigQuery (
outputs.bigquery):- Add metrics in one compact table
- Make
projectno longer a required field
- Exec (
outputs.exec): Execute command once per metric - Prometheus Client (
outputs.prometheus_client): Support listening on vsock - Socket Writer (
outputs.socket_writer): Add vsock support to socket listener and writer - Stackdriver (
outputs.stackdriver):- Add metric type config options
- Enable histogram support
- Wavefront (
outputs.wavefront): Use common/http to configure http client - Avro (
parsers.avro):- Allow connection to https schema registry
- Get metric name from the message field
- Support multiple modes for union handling
- Dedup (
processors.dedup): Add state persistence between runs - Regex (
processors.regex): Allow batch transforms using named groups - Secrets (
secrets): Add unprotected secret implementation
Bug Fixes
- OAuth (
common.oauth): Initialize EndpointParams to avoid panic with audience settings - HTTP (
inputs.http): Use correct token variable - Intel PowerStat (
inputs.intel_powerstat): Fix unit tests to work on every CPU/platform - Modbus (
inputs.modbus): Split large request correctly at field borders - Netflow (
inputs.netflow): Handle malformed inputs gracefully - s7comm (
inputs.s7comm): Reconnect if query fails - tail (
inputs.tail): Retry opening file after permission denied - BigQuery (
outputs.bigquery): Correct use of auto-detected project ID - OpenSearch (
outputs.opensearch):- Expose TLS setting correctly
- Migrate to new secrets API
- Prometheus Client (
outputs.prometheus_client): Ensure v1 collector data expires promptly - Avro (
parsers.avro):- Clean up Warnf error wrapping error
- Attempt to read CA cert file only if filename is not empty string
- JSON v2 (
parsers.json v2):- Correct wrong name of config option
- Reset state before parsing
- Starlark (
processors.starlark):- Avoid negative refcounts for tracking metrics
- Maintain tracking information post-apply
Dependency updates
- Update
cloud.google.com/go/bigqueryfrom 1.56.0 to 1.57.1 - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.26.0 to 1.27.2 - Update
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitorfrom 0.10.1 to 0.10.2 - Update
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/monitor/armmonitorfrom 0.10.2 to 0.11.0 - Update
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources from1.1.1 to 1.2.0 - Update
github.com/golang-jwt/jwt/v5from 5.0.0 to 5.2.0 - Update
github.com/IBM/saramafrom 1.41.3 to 1.42.1 - Update
github.com/influxdata/tailfrom 1.0.1-0.20210707231403-b283181d1fa7 to 1.0.1-0.20221130111531-19b97bffd978 - Update
github.com/jackc/pgconn from1.14.0 to 1.14.1 - Update
github.com/nats-io/nats-server/v2from 2.9.23 to 2.10.6 - Update
github.com/prometheus/prometheusfrom 0.46.0 to 0.48.0 - Update
github.com/vmware/govmomifrom 0.32.0 to 0.33.1 - Update
golang.org/x/textfrom 0.13.0 to 0.14.0 - Update
k8s.io/apifrom 0.28.3 to 0.28.4 - Point kafka dependency to IBM organization
v1.28.5
Bug Fixes
- ECS (
inputs.ecs): Correct v4 metadata URLs. - Intel RDT (
inputs.intel_rdt): Do not fail on missing PIDs. - JSON v2 (
parsers.json_v2): Log inner errors. - s7comm (
inputs.s7comm): Truncate strings to reported length.
Dependency updates
- Update
github.com/gosnmp/gosnmpfrom 1.35.1-0.20230602062452-f30602b8dad6 to 1.36.1. - Update
github.com/Masterminds/semver/v3from 3.2.0 to 3.2.1. - Update
golang.org/x/syncfrom 0.4.0 to 0.5.0. - Update
golang.org/x/modfrom 0.13.0 to 0.14.0. - Update
google.golang.org/apifrom 0.149.0 to 0.150.0.
v1.28.4
Bug Fixes
- cGroup (
inputs.cgroup): Escape backslashes in path. - Config (
config): Fix comment removal in TOML files. - Disk (
inputs.disk): Add inodes_used_percent field. - ECS (
inputs.ecs):- Fix cgroupv2 CPU metrics.
- Test for v4 metadata endpoint.
- Elasticsearch (
outputs.elasticsearch): Print error status value. - IP Set (
inputs.ipset): Parse lines with timeout. - JSON v2 (
parsers.json_v2): Prevent race condition in parse function. - Prometheus (
inputs.prometheus): Read bearer token from file every time. - MQTT Consumer (
inputs.mqtt_consumer): Resolve could not mark message delivered. - Netflow (
inputs.netflow): Fix sFlow metric timestamp. - s7comm (
inputs.s7comm): Fix bit queries. - Timestream (
outputs.timestream): Clip uint64 values. - Windows Performance Counters (
inputs.win_perf_counter): Do not rely on returned buffer size. - ZFS (
inputs.zfs):- Parse metrics correctly on FreeBSD 14.
- Support gathering metrics on zfs 2.2.0 and later.
Dependency updates
- Update
cloud.google.com/go/storagefrom 1.30.1 to 1.34.1. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.18.42 to 1.19.1. - Update
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.13.40 to 1.13.43. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.23.5 to 1.26.0. - Update
github.com/antchfx/xmlqueryfrom 1.3.17 to 1.3.18. - Update
github.com/antchfx/xpathfrom 1.2.5-0.20230505064641-588960cceeac to 1.2.5. - Update
github.com/benbjohnson/clockfrom 1.3.3 to 1.3.5. - Update
github.com/compose-spec/compose-gofrom 1.16.0 to 1.20.0. - Update
github.com/docker/dockerfrom 24.0.6 to 24.0.7. - Update
github.com/hashicorp/consul/apifrom 1.24.0 to 1.25.1. - Update
github.com/hashicorp/consul/apifrom 1.25.1 to 1.26.1. - Update
github.com/nats-io/nkeysfrom 0.4.5 to 0.4.6. - Update
github.com/prometheus/client_golangfrom 1.16.0 to 1.17.0. - Update
github.com/rabbitmq/amqp091-gofrom 1.8.1 to 1.9.0. - Update
github.com/showwin/speedtest-gofrom 1.6.6 to 1.6.7. - Update
google.golang.org/grpcfrom 1.58.2 to 1.58.3. - Update
k8s.io/client-gofrom 0.28.2 to 0.28.3.
v1.28.3
Bug Fixes
- Infiniband (
inputs.infiniband): Handle devices without counters. - Jenkins (
inputs.jenkins): Filter after searching sub-folders. - Jolokia2 Agent (
inputs.jolokia2_agent): Trim quotes around tags. - JSON (
serializers.json): Append newline for batch-serialization. - Kafka (
outputs.kafka): Simplify send-error handling. - MQTT (
inputs.mqtt): Reference correct password variable. - Nebius Cloud Monitoring (
outputs.nebius_cloud_monitoring): Use correct endpoint. - PostgreSQL Extensible (
inputs.postgresql_extensible): Restore default db name. - Redis Time Series (
outputs.redistimeseries): Handle string fields correctly. - s7comm (
inputs.s7comm): Allow PDU-size to be set as config option. - Vault (
inputs.vault): Use http client to handle redirects correctly.
Dependency updates
- Update
github.com/apache/arrow/go/v13from 13.0.0-git to 13.0.0. - Update
github.com/google/cel-gofrom 0.14.1-git to 0.18.1. - Update
github.com/google/go-cmpfrom 0.5.9 to 0.6.0. - Update
github.com/jhump/protoreflectfrom 1.15.1 to 1.15.3. - Update
github.com/klauspost/compressfrom 1.16.7 to 1.17.0. - Update
github.com/miekg/dnsfrom 1.1.55 to 1.1.56. - Update
github.com/nats-io/nats.gofrom 1.28.0 to 1.31.0. - Update
github.com/nats-io/nats-server/v2from 2.9.9 to 2.9.23. - Update
github.com/netsampler/goflow2from 1.3.3 to 1.3.6. - Update
github.com/signalfx/golib/v3from 3.3.50 to 3.3.53. - Update
github.com/testcontainers/testcontainers-gofrom 0.22.0 to 0.25.0. - Update
github.com/yuin/goldmarkfrom 1.5.4 to 1.5.6. - Update
golang.org/x/modfrom 0.12.0 to 0.13.0. - Update
golang.org/x/netfrom 0.15.0 to 0.17.0. - Update
golang.org/x/oauth2from 0.11.0 to 0.13.0. - Update
gonum.org/v1/gonumfrom 0.13.0 to 0.14.0. - Update
google.golang.org/apifrom 0.139.0 to 0.147.0.
v1.28.2
Bug Fixes
- Cisco Telemetry MDT (
inputs.cisco_telemetry_mdt): Print string message on decode failure. - Cloudwatch (
outputs.cloudwatch): Increase number of metrics per write. - exec (
inputs.exec): Clean up grandchildren processes. - Intel PMT (
inputs.intel_pmt): Handle telem devices without numa_node attribute. - JTI OpenConfig Telemetry (
inputs.jti_openconfig_telemetry): Do not block gRPC dial. - JSON v2 (
parsers.json_v2): Handle optional fields properly. - Mock (
inputs.mock): Align plugin with documentation. - NFS Client (
inputs.nfsclient): Avoid panics, better error messages. - Nvidia SMI (
inputs.nvidia_smi): Add legacy power readings to v12 schema. - OpenStack (
inputs.openstack): Handle dependencies between enabled services and available endpoints. - PostgreSQL Extensible (
inputs.postgresql_extensible): Restore outputaddress behavior. - SMART (
inputs.smart): Remove parsing error message. - Stackdriver (
outputs.stackdriver):- Do not shallow copy map.
- Drop metrics on InvalidArgument gRPC error.
- systemd Units
inputs.systemd_units): Add missing upstream states. - Template (
processors.template): Handle tracking metrics correctly.
Dependency updates
- Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.62.470 to 1.62.563. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.18.27 to 1.18.42. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.20.9 to 1.23.5. - Update
github.com/aws/aws-sdk-go-v2/service/ec2from 1.80.1 to 1.120.0. - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imdsfrom 1.13.8 to 1.13.11. - Update
github.com/eclipse/paho.mqtt.golangfrom 1.4.2 to 1.4.3. - Update
github.com/google/uuidfrom 1.3.0 to 1.3.1. - Update
github.com/shirou/gopsutil/v3from 3.23.6 to 3.23.8. - Update
github.com/vmware/govmomifrom 0.28.0 to 0.32.0. - Update
golang.org/x/netfrom 0.14.0 to 0.15.0. - Update
k8s.io/apifrom 0.28.1 to 0.28.2.
v1.28.1
Bug fixes
- Packaging: Revert permission change on package configs
- Redis (
inputs.redis): Fix password typo - Vsphere (
inputs.vsphere): Fix config name typo in example
v1.28.0
Important Changes
- metricpass: Removed 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.
- Avro Processor: The avro processor will no longer create a timestamp field by default unless explicitly provided in the parser config.
New Plugins
Inputs
Processors
- Split metrics (
processors.split)
Secret Stores
- OAuth2 services (
secretstores.oauth2)
Serializers
- Template based (
serializers.template)
Features
- Agent:
- Add option to avoid filtering of global tags
- Watch default config files if none specified
- CLI: Add plugins subcommand to list available and deprecated
- AMQP Consumer (
inputs.amqp_consumer): Add support to rabbitmq stream queue - Cisco Telemetry MDT (
inputs.cisco_telemetry_mdt): Add microbust support - Couchbase (
inputs.couchbase): Add failover metrics - Fail2Ban (
inputs.fail2ban): Allow specification of socket - Fibaro (
inputs.fibaro): Support HC3 device types - HTTP (
inputs.http): Rework token options - InfluxDB Listener (
inputs.influxdb_listener): Add token based authentication - Internal (
inputs.internal): Add Go metric collection option - Jenkins (
inputs.jenkins): Add option for node labels as tag - JTI OpenConfig Telemetry (
inputs.jti_openconfig_telemetry): Add keep-alive setting - Kernel (
inputs.kernel): Collect KSM metrics - Modbus (
inputs.modbus): Add per-metric configuration style - Nvidia SMI (
inputs.nvidia_smi):- Add Nvidia DCGM MIG usage values
- Add additional fields
- Support newer data schema versions
- OpenStack (
inputs.openstack): Gather cinder services - OpenTelemetry (
inputs.opentelemetry): Add configurable log record dimensions - PGBouncer (
inputs.pgbouncer): Add show_commands to select the collected pgbouncer metrics - PostgreSQL Extensible (
inputs.postgresql_extensible): Introduce max_version for query - Procstat (
inputs.procstat): Add status field - Prometheus (
inputs.prometheus): Always apply kubernetes label and field selectors - RavenDB (
inputs.ravendb): Add new disk metrics fields - Redfish (
inputs.redfish): Add additional chassis tags - Redis (
inputs.redis):- Add additional commandstat fields
- Support of redis 6.2 ERRORSTATS
- Redis Sentinel (
inputs.redis_sentinel): Allow username and password - Solr (
inputs.solr): Support version 7.x to 9.3 - SQL Server (
inputs.sqlserver): Add IsHadrEnabled server property - Vsphere (
inputs.vsphere):- Allow to set vSAN sampling interval
- Support explicit proxy setting
- Internal (
internal):- Add gather_timeouts metric
- Add zstd to internal content_coding
- Kafka (
kafka): Set and send SASL extensions - Migrations:
- Add migration for inputs.httpjson
- Add migration for inputs.io
- execd (
outputs.execd): Add option for batch format - File (
outputs.file): Add compression - HTTP (
outputs.http): Allow PATCH method - Postgresql (
outputs.postgresql):- Add option to create time column with timezone
- Add option to rename time column
- Prometheus Client (
outputs.prometheus_client): Add secretstore support for basic_password - Wavefront (
outputs.wavefront): Add more auth options and update SDK - Avro (
parsers.avro): Add support for JSON format - Influx (
parsers.influx): Allow a user to set the timestamp precision - Value (
parsers.value): Add support for automatic fallback for numeric types - XPath (
parsers.xpath):- Add Concise Binary Object Representation parser
- Add option to store fields as base64
- Parser (
processors.parser) Allow also non-string fields - Template (
processors.template): Unify template metric
Bug fixes
- Packaging: Change the systemd KillMode from control-group to mixed
- AMQP Consumer (
inputs.amqp_consumer): Print error on connection failure - Kafka Consumer (
inputs.kafka_consumer): Use per-message parser to avoid races - OPCUA (
inputs.opcua): Verify groups or root nodes included in config - PostgreSQL (
inputs.postgresql): Fix default database definition - Procstat (
inputs.procstat): Collect swap via /proc/$pid/smaps - SQL Server (
inputs.sqlserver): Cast max_size to bigint - Sysstat (
inputs.sysstat): Remove tmpfile to avoid file-descriptor leak - Avro (
parsers.avro):- Do not force addition of timestamp as a field
- Handle timestamp format checking correctly
- SQL (
sql):- Allow sqlite on Windows (amd64 and arm64)
- Move conversion_style config option to the right place of sample config
Dependency updates
- Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.18.2 to 1.18.5. - Update
github.com/hashicorp/consul/apifrom 1.20.0 to 1.24.0. - Update
github.com/nats-io/nats.gofrom 1.27.0 to 1.28.0. - Update
github.com/prometheus/prometheusfrom 0.42.0 to 0.46.0. - Update
github.com/showwin/speedtest-gofrom 1.6.2 to 1.6.6. - Update
k8s.io/apifrom 0.27.4 to 0.28.1.
v1.27.4
Bug fixes
- Cisco Telemetry MDT (
inputs.cisco_telemetry_mdt): Fix MDT source field overwrite. - NowMetric (
serializers.nowmetric): Add option for JSONv2 format. - OPCUA (
inputs.opcua): Register node IDs again on reconnect. - OPCUA Listener (
inputs.opcua_listener): Avoid segfault when subscription was not successful. - Stackdriver (
outputs.stackdriver): Regenerate time interval for unknown metrics. - Xpath (
parsers.xpath): Handle protobuf maps correctly.
Dependency updates
- Update
cloud.google.com/go/pubsubfrom 1.32.0 to 1.33.0. - Update
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.13.26 to 1.13.32. - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imdsfrom 1.13.4 to 1.13.7. - Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.17.14 to 1.18.0. - Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.18.0 to 1.18.2. - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.19.3 to 1.21.2. - Update
github.com/gophercloud/gophercloudfrom 1.2.0 to 1.5.0. - Update
github.com/microsoft/go-mssqldbfrom 1.3.1-0.20230630170514-78ad89164253 to 1.5.0. - Update
github.com/miekg/dnsfrom 1.1.51 to 1.1.55. - Update
github.com/openconfig/gnmifrom 0.9.1 to 0.10.0. - Update
github.com/santhosh-tekuri/jsonschema/v5from 5.3.0 to 5.3.1. - Update
go.mongodb.org/mongo-driverfrom 1.11.6 to 1.12.1. - Update
golang.org/x/oauth2from 0.10.0 to 0.11.0. - Update
google.golang.org/apifrom 0.129.0 to 0.134.0.
v1.27.3
Bug fixes
- Agent (
agent): Respect processor order in file. - Config (
config):- Handle escaping and quotation correctly.
- Setup logger for secret-stores.
- Custom Builder (
tools.custom_builder): Ignore non-plugin sections during configuration. - Docker (
inputs.docker): Add restart count. - JTI OpenConfig Telemetry (
inputs.jti_openconfig_telemetry): Reauthenticate connection on reconnect. - MQTT Consumer (
inputs.mqtt_consumer): Add client trace logs via option. - Nebius Cloud Monitoring (
outputs.nebius_cloud_monitoring): Replace reserved label names. - OpenTelemetry (
outputs.opentelemetry): Group metrics by age and timestamp. - Prometheus (
inputs.prometheus):- Do not collect metrics from finished pods.
- Fix missing metrics when multiple plugin instances specified.
- Stackdriver (
outputs.stackdriver): Add tag as resource label option. - Xpath (
parsers.xpath):- Ensure precedence of explicitly defined tags and fields.
- Fix field-names for arrays of simple types.
- Improve handling of complex-type nodes.
Dependency updates
- Update
github.com/aliyun/alibaba-cloud-sdk-go1.62.389 to 1.62.470. - Update
github.com/antchfx/jsonqueryfrom 1.3.1 to 1.3.2. - Update
github.com/antchfx/xmlqueryfrom 1.3.15 to 1.3.17. - Update
github.com/antchfx/xpathfrom v1.2.4 to latest master. - Update
github.com/aws/aws-sdk-go-v2/service/dynamodbfrom 1.17.3 to 1.20.0. - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.19.2 to 1.19.3. - Update
github.com/eclipse/paho.golangfrom 0.10.0 to 0.11.0. - Update
github.com/go-ldap/ldap/v3from 3.4.4 to 3.4.5. - Update
github.com/jaegertracing/jaegerfrom 1.38.0 to 1.47.0. - Update
github.com/opensearch-project/opensearch-go/v2from 2.2.0 to 2.3.0. - Update
github.com/prometheus-community/pro-bingfrom 0.2.0 to 0.3.0. - Update
github.com/shirou/gopsutil/v3from 3.23.5 to 3.23.6. - Update
github.com/thomasklein94/packer-plugin-libvirtfrom 0.3.4 to 0.5.0. - Update
k8s.io/apifrom 0.27.2 to 0.27.4. - Update
k8s.io/apimachineryfrom 0.27.2 to 0.27.3. - Update
modernc.org/sqlitefrom 1.23.1 to 1.24.0.
v1.27.2
Bug fixes
- Binary (
parsers.binary): Fix binary parser example in README.md. - Config (
config): Replace environment variables if existing but empty. - Cloud PubSub (
inputs.cloud_pubsub): Properly lock for decompression. - Custom Builder (
tools.custom_builder): Error out for unknown plugins in configuration. - GNMI (
inputs.gnmi): Add option to explicitly trim field-names. - Graphite (
outputs.graphite): Rework connection handling. - Grok (
parsers.grok): Use UTC as the default timezone. - InfluxDB v2 (
outputs.influxdb_v2): Expose HTTP/2 client timeouts. - Internet Speed (
inputs.internet_speed): Add location as a field. - Modbus (
inputs.modbus):- Check number of register for datatype.
- Fix optimization of overlapping requests and add warning.
- MQTT Consumer (
inputs.mqtt_consumer):- Correctly handle semaphores on messages.
- Print warning on no metrics generated.
- OPC UA (
inputs.opcua): Ensure connection after reconnect. - PHP FPM (
inputs.phpfpm): Check address length to avoid crash. - Printer (
processors.printer): Convert output to string. - SNMP Trap (
inputs.snmp_trap): Copy GoSNMP global defaults to prevent side-effects. - Secretstores (
secretstores): Skip dbus connection with kwallet. - Splunk Metric (
serializers.splunkmetric): Fix TOML option name for multi-metric. - Stackdriver (
outputs.stackdriver): Options to use official path and types. - Sumologic (
outputs.sumologic): Unwrap serializer for type check. - Vsphere (
inputs.vpshere): Compare versions as a string. - Xpath (
parsers.xpath): Handle explicitly defined fields correctly.
Dependency updates
- Replace
github.com/denisenkom/go-mssqldbwithgithub.com/microsoft/go-mssqldb. - Update
cloud.google.com/go/bigqueryfrom 1.51.1 to 1.52.0. - Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.62.337 to 1.62.389. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.18.8 to 1.18.27. - Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.17.8 to 1.17.14. - Update
github.com/gopcua/opcuafrom 0.3.7 to 0.4.0. - Update
github.com/prometheus/client_golangfrom 1.15.1 to 1.16.0. - Update
github.com/snowflakedb/gosnowflakefrom 1.6.13 to 1.6.22. - Update
github.com/urfave/cli/v2from 2.25.5 to 2.25.7. - Update
golang.org/x/textfrom 0.9.0 to 0.10.0. - Update
golang.org/x/textfrom 0.10.0 to 0.11.0. - Update
google.golang.org/apifrom 0.126.0 to 0.129.0.
v1.27.1
Bug fixes
- Correctly handle serializers and parsers with custom builder.
- Handle compression level correctly for different algorithms.
- Restore old environment var behavior with option.
Dependency updates
- Update
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.13.20 to 1.13.26. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchfrom 1.25.9 to 1.26.2. - Update
github.com/aws/aws-sdk-go-v2/service/timestreamwritefrom 1.16.0 to 1.17.2. - Update
github.com/go-sql-driver/mysqlfrom 1.6.0 to 1.7.1. - Update
github.com/jackc/pgx/v4from 4.17.1 to 4.18.1. - Update
github.com/nats-io/nats.gofrom 1.24.0 to 1.27.0. - Update
github.com/prometheus-community/pro-bingfrom 0.1.0 to 0.2.0. - Update
golang.org/x/cryptofrom 0.8.0 to 0.9.0. - Update
golang.org/x/termfrom 0.8.0 to 0.9.0. - Update
modernc.org/sqlitefrom 1.21.0 to 1.23.1.
v1.27.0
Important Changes
- Timezone Parsing: 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. - Internal Parser methods: 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
Inputs
- ctrlX Data Layer (
inputs.ctrlx_datalayer) - Intel Baseband Accelerator (
inputs.intel_baseband)
Outputs
- Clarify (
outputs.clarify) - Nebius Cloud Monitoring (
outputs.nebius_cloud_monitoring)
Processors
- Scale (
processors.scale)
Secret Stores
Serializers
- Cloud Events (
serializers.cloudevents)
Features
- Agent (
agent):- Add option to avoid filtering of explicit plugin tags
- Add common expression language metric filtering
- BasicStats (
aggregators.basicstats): Add percentage change - Cloud PubSub (
cloud_pubsub): Add support for gzip compression - OPCUA (
common.opcua): Add support for secret-store secrets - TLS (
common.tls): Add support for passphrase-protected private key - Config (
config):- Add framework for migrating deprecated plugins
- Support shell like syntax for environment variable substitution
- Cloudwatch (
inputs.cloudwatch): Add support for cross account observability - Directory Monitor (
inputs.directory_monitor): Improve internal stats - Filecount (
inputs.filecount): Add oldestFileTimestamp and newestFileTimestamp - GNMI (
inputs.gnmi):- Allow canonical field names
- Support Juniper GNMI Extension Header
- Internet Speed (
inputs.internet_speed): Support multi-server test - Kafka Consumer (
inputs.kafka_consumer): Add regular expression support for topics - Kubernetes (
inputs.kubernetes): Extend kube_inventory plugin to include and extend resource quota, secret, node, and pod measurement - Nats Consumer (
inputs.nats_consumer): Add receiver subject as tag - Netflow (
inputs.netflow):- Add sFlow decoder
- Allow custom PEN field mappings
- Nvidia SMI (
inputs.nvidia_smi): Add additional memory related fields - Open Telemetry (
inputs.opentelemetry): Add configurable span dimensions - Prometheus (
inputs.prometheus): Control which pod metadata is added as tags - SQL (
inputs.sql):- Add disconnected_servers_behavior field in the configuration
- Add FlightSQL support
- SQL Server (
inputs.sqlserver):- Add Azure Arc-enabled SQL MI support
- Check SQL Server encryptionEnforce with xp_instance_regread
- StatsD (
inputs.statsd): Add optional temporality and start_time tag for statsd metrics - Suricata (
inputs.suricata): Add ability to parse drop or rejected - Vsphere (
inputs.vsphere): Add vSAN extension - Internal (
internal): Add additional faster compression options - Loki (
outputs.loki): Add option for metric name label - Wavefront (
outputs.wavefront): Add TLS and HTTP Timeout configuration fields - OpenTSDB (
parsers.opentsdb): Add OpenTSDB data format parser - AWS EC2 (
processors.aws_ec2): Add caching of imds and ec2 tags - Parser (
processors.parser): Add merge with timestamp option - Scale (
processors.scale): Add scaling by factor and offset - Template (
processors.template): Allow tag to be a template - Prometheus Remote (
serializer.prometheusremote): Improve performance - Test (
test): Allow to capture all messages during test
Bug fixes
- Cloud PubSub (
inputs.cloud_pubsub): Fix gzip decompression. - GNMI (
inputs.gnmi):- Allow optional origin for update path.
- Handle canonical field-name correctly for non-explicit subscriptions.
- MQTT (
inputs.mqtt): ACK messages when persistence is enabled. - MySQL (
inputs.mysql): Update MariaDB Dialect regex version check. - Netflow (
inputs.netflow):- Fix field mappings.
- Handle PEN messages correctly.
- Prometheus (
inputs.prometheus): Avoid race when creating informer factory. - Socket Listener (
inputs.socket_listener): Avoid noisy logs on closed connection. - Temp (
inputs.temp): Ignore warnings and instead return only errors. - UPSD (
inputs.upsd): Handle float battery.runtime value. - Internal (
internal): Fix time parsing for abbreviated timezones. - SQL (
outputs.sql): Use config.duration to correctly to parse toml config. - Wavefront (
outputs.wavefront): Flush metric buffer before reaching overflow. - Lookup (
processors.lookup): Do not strip tracking info. - Influx (
serializers.influx): Restore disabled uint support by default.
Dependency updates
- Update cloud.google.com/go/monitoring from 1.13.0 to 1.14.0.
- Update github.com/aliyun/alibaba-cloud-sdk-go from 1.62.193 to 1.62.337.
- Update github.com/aws/aws-sdk-go-v2/feature/ec2/imds from 1.13.2 to 1.13.3.
- Update github.com/aws/aws-sdk-go-v2/service/sts from 1.18.9 to 1.19.0.
- Update github.com/Azure/azure-event-hubs-go/v3 from 3.4.0 to 3.5.0.
- Update github.com/Azure/go-autorest/autorest from 0.11.28 to 0.11.29.
- Update github.com/influxdata/influxdb-observability libraries from 0.3.3 to 0.3.15.
- Update github.com/jackc/pgconn from 1.13.0 to 1.14.0.
- Update github.com/jackc/pgtype from 1.12.0 to 1.14.0.
- Update github.com/Mellanox/rdmamap to 1.1.0.
- Update github.com/pion/dtls/v2 from 2.2.6 to 2.2.7.
- Update github.com/prometheus/common from 0.43.0 to 0.44.0.
- Update github.com/rabbitmq/amqp091-go from 1.8.0 to 1.8.1.
- Update github.com/shirou/gopsutil from 3.23.4 to 3.23.5.
- Update github.com/showwin/speedtest-go from 1.5.2 to 1.6.2.
- Update github.com/urfave/cli/v2 from 2.23.5 to 2.25.5.
- Update k8s.io/client-go from 0.26.2 to 0.27.2.
v1.26.3
Bug fixes
- GNMI (
inputs.gnmi): Create selfstat to track connection state. - Graphite (
outputs.graphite): Fix logic to reconnect with servers that were not up on agent startup. - Intel PMU (
inputs.intel_pmu): Fix handling of the json perfmon format. - Prometheus Client (
outputs.prometheus_client): Fix export_timestamp for v1 metric type. - Socket Listener (
inputs.socket_listener):- Fix loss of connection tracking.
- Fix race in tests.
- Stackdriver (
outputs.stackdriver):- Allow for custom metric type prefix.
- Group batches by timestamp.
- Starlark (
processors.starlark): Do not reject tracking metrics twice. - Vsphere (
inputs.vsphere): Specify the correct option for disconnected_servers_behavior. - Warp10 (
outputs.warp10): Support Infinity/-Infinity/NaN values.
Dependency updates
- Update
cloud.google.com/go/pubsubfrom 1.30.0 to 1.30.1. - Update
github.com/aerospike/aerospike-client-go/v5from 5.10.0 to 5.11.0. - Update
github.com/antchfx/xpathto latest master for string-join(). - Update
github.com/aws/aws-sdk-go-v2from 1.17.8 to 1.18.0. - Update
github.com/Azure/go-autorest/autorest/adalfrom 0.9.22 to 0.9.23. - Update
github.com/benbjohnson/clockfrom 1.3.0 to 1.3.3. - Update
github.com/docker/distributionfrom 2.8.1 to 2.8.2. - Update
github.com/fatih/colorfrom 1.13.0 to 1.15.0. - Update
github.com/netsampler/goflow2from 1.1.1 to 1.3.3. - Update
github.com/yuin/goldmarkfrom 1.5.3 to 1.5.4. - Update
go.opentelemetry.io/collector/pdatafrom 1.0.0-rc7 to 1.0.0-rcv0011. - Update
golang.org/x/netfrom 0.8.0 to 0.9.0. - Update
golang.org/x/netfrom 0.9.0 to 0.10.0. - Update
golang.org/x/oauth2from 0.5.0 to 0.7.0. - Update
google.golang.org/apifrom 0.106.0 to 0.120.0. - Update
govulncheck-actionfrom 0.10.0 to 0.10.1. - Update
prometheusfrom v1.8.2 to v2.42.0. - Update
signalfx/golibfrom 3.3.46 to 3.3.50.
v1.26.2
Bug fixes
- Agent (
agent): Pass quiet flag earlier. - Grok (
parsers.grok): Fix nil metric for multiline inputs. - Lookup (
processors.lookup): Fix tracking metrics. - Prometheus (
inputs.prometheus): Add namespace option in k8s informer factory. - Socket Listener (
inputs.socket_listener): Fix tracking of unix sockets.
Dependency updates
- Update
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.13.15 to 1.13.20. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchfrom 1.21.6 to 1.25.9. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.15.13 to 1.20.9. - Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.15.19 to 1.17.8. - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.18.5 to 1.18.9. - Update
github.com/docker/dockerfrom 23.0.0 to 23.0.4. - Update
github.com/openconfig/gnmifrom 0.0.0-20220920173703-480bf53a74d2 to 0.9.1. - Update
github.com/prometheus/commonfrom 0.41.0 to 0.42.0. - Update
github.com/safchain/ethtoolfrom 0.2.0 to 0.3.0. - Update
github.com/tinylib/msgpfrom 1.1.6 to 1.1.8. - Update
github.com/vishvananda/netnsfrom 0.0.2 to 0.0.4. - Update
github.com/wavefronthq/wavefront-sdk-gofrom 0.11.0 to 0.12.0.
v1.26.1
Bug fixes
- Config (
config): Return error on order set as string. - ethtool (
inputs.ethtool): Check for nil. - execd (
inputs.execd): Add option to set buffer size. - Graphite (
outputs.graphite): Add custom regex to outputs. - Graphite (
serializers.graphite): Allow for specifying regex to sanitize. - Internet Speed (
inputs.internet_speed): Rename host tag to source. - Kubernetes (
inputs.kubernetes): Apply timeout for the whole HTTP request. - Netflow (
inputs.netflow): Use correct name in the build tag. - Procstat (
inputs.procstat): Return tags of pids if lookup_error. - Prometheus (
inputs.prometheus):- Correctly set timeout param.
- Use set over add for custom headers.
- Secret Stores (
secrets):- Add function to set a secret.
- Minimize secret holding time.
- Warn if OS limit for locked memory is too low.
- Handle array of secrets correctly.
- systemd (
systemd): Increase lock memory for service to 8192kb. - UPSD (
inputs.upsd): Include ups.real_power.
Dependency updates
- Update
github.com/antchfx/xpathfrom 1.2.3 to 1.2.4. - Update
github.com/apache/thriftfrom 0.16.0 to 0.18.1. - Update
github.com/Azure/azure-event-hubs-go/v3from 3.3.20 to 3.4.0. - Update
github.com/Azure/go-autorest/autorest/azure/authfrom 0.5.11 to 0.5.12. - Update
github.com/golang-jwt/jwt/v4from 4.4.2 to 4.5.0. - Update
github.com/jhump/protoreflectfrom 1.8.3-0.20210616212123-6cc1efa697ca to 1.15.1. - Update
github.com/nats-io/nats.gofrom 1.19.0 to 1.24.0. - Update
github.com/opencontainers/runcfrom 1.1.4 to 1.1.5. - Update
github.com/pion/dtls/v2from 2.2.4 to 2.2.6. - Update
github.com/rabbitmq/amqp091-gofrom 1.7.0 to 1.8.0. - Update
github.com/shirou/gopsutilfrom 3.23.2 to 3.23.3. - Update
github.com/Shopify/saramafrom 1.37.2 to 1.38.1. - Update
github.com/sensu/sensu-go/api/core/v2from 2.15.0 to 2.16.0. - Update
github.com/tidwall/gjsonfrom 1.14.3 to 1.14.4. - Update
golang.org/x/netfrom 0.7.0 to 0.8.0. - Update
modernc.org/sqlitefrom 1.19.2 to 1.21.0.
v1.26.0
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.conffiles 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
Inputs
- Opensearch Query (
inputs.opensearch_query) - P4Runtime (
inputs.p4runtime) - Radius Auth Response Time (
inputs.radius) - Windows Management Instrumentation (WMI) (
inputs.win_wmi)
Parsers
- Apache Avro (
parsers.avro)
Processors
- lookup (
processors.lookup)
Features
- Always disable cgo support (static builds).
- Plugin state-persistence.
- Add
/etc/telegraf/telegraf.dto default configuration file locations. - Print loaded configurations.
- Accept durations given in days (e.g. 7d).
- OAuth (
common.oauth): Addaudienceparameter. - TLS (
common.tls): Addenableflag. - CGroups (
inputs.cgroup): Add support forcpu.stat. - Cisco Telemetry MDT (
inputs.cisco_telemetry_mdt): Includedeletefield. - Disk (
inputs.disk): Add label as tag. - DNS Query (
inputs.dns_query): Add IP fields. - Docker Log (
inputs.docker_log): Add state-persistence capabilities. - Ethtool (
inputs.ethtool): Add support for link speed, duplex, etc. - GNMI (
inputs.gnmi): Set max gRPC message size. - HA Proxy (
inputs.haproxy): Add support for TCP endpoints in haproxy plugin. - HTTP Listener v2 (
inputs.http_listener_v2): Add custom server HTTP headers. - Icinga2 (
inputs.icinga2): Support collecting hosts, services, and endpoint metrics. - InfluxDB (
inputs.influxdb): Collect uptime statistics. - Intel PowerStat (
inputs.intel_powerstat): Add CPU base frequency metric and add support for new platforms. - Internet Speed (
inputs.internet_speed):- Add the best server selection via latency and jitter field.
- Server ID include and exclude filter.
- JTI OpenConfig Telemtry (
inputs.jti_openconfig_telemetry): Set timestamp from data. - Modbus (
inputs.modbus):- Add RS485 specific config options.
- Add workaround to enforce reads from zero for coil registers.
- Allow to convert coil and discrete registers to boolean.
- MySQL (
inputs.mysql): Add secret-store support. - Open Weather Map (
inputs.openweathermap): Addsnowparameter. - Processes (
inputs.processes): Add use_sudo option for BSD. - Prometheus (
inputs.prometheus): Use namespace annotations to filter pods to be scraped. - Redfish (
inputs.redfish): Add power control metric. - SQL Server (
inputs.sqlserver): Get database pages performance counter. - Stackdriver (
inputs.stackdriver): Allow filtering by resource metadata labels. - Statsd (
inputs.statsd): Add pending messages stat and allow to configure number of threads. - Vsphere (
inputs.vsphere): Flag for more lenient behavior when connect fails on startup. - Windows Event Log (
inputs.win_eventlog): Add state-persistence capabilities. - Windows Performance Counters (
inputs.win_perf_counters): Add remote system support. - Wireguard (
inputs.wireguard): Add allowed_peer_cidr field. - x509 Certificates (
inputs.x509_cert):- Add OCSP stapling information for leaf certificates.
- Add tag for certificate type-classification.
- MQTT (
outputs.mqtt):- Add option to specify topic layouts.
- Add support for MQTT 5 publish properties.
- Enhance routing capabilities.
- XPath Parser (
parsers.xpath): Add timezone handling. - Converter Processor (
processors.converter): Convert tag or field as metric timestamp. - Unpivot Processor (
processors.unpivot): Add mode to create new metrics. - Secret Stores:
- Add command-line option to specify password.
- Add support for additional input plugins.
- Convert many output plugins.
Bug fixes
- Allow graceful shutdown on interrupt (e.g. Ctrl-C).
- Only rotate log on SIGHUP if needed.
- AMQP Consumer (
inputs.amqp_consumer):- Avoid deprecations when handling defaults.
- Fix panic on Stop() if not connected successfully.
- ethtool (
inputs.ethtool): Close namespace file to prevent crash. - statsd (
inputs.statsd): On close, verify listener is not nil.
Dependency updates
- Update cloud.google.com/go/storage from 1.28.1 to 1.29.0.
- Update github.com/Azure/go-autorest/autorest/adal from 0.9.21 to 0.9.22.
- Update github.com/aliyun/alibaba-cloud-sdk-go from 1.62.77 to 1.62.193.
- Update github.com/aws/aws-sdk-go-v2/credentials from 1.13.2 to 1.13.15.
- Update github.com/aws/aws-sdk-go-v2/service/timestreamwrite from 1.14.5 to 1.16.0.
- Update github.com/coocood/freecache from 1.2.2 to 1.2.3.
- Update github.com/karrick/godirwalk from v1.17.0 to v1.16.2.
- Update github.com/opencontainers/runc from 1.1.3 to 1.1.4.
- Update github.com/opensearch-project/opensearch-go/v2 from 2.1.0 to 2.2.0.
- Update github.com/openzipkin-contrib/zipkin-go-opentracing from 0.4.5 to 0.5.0.
- Update github.com/rabbitmq/amqp091-go from 1.5.0 to 1.7.0.
- Update github.com/shirou/gopsutil from v3.22.12 to v3.23.2.
- Update github.com/stretchr/testify from 1.8.1 to 1.8.2.
- Update OpenTelemetry from 0.3.1 to 0.3.3.
v1.25.3
Bug fixes
- Fix reload config on config update/SIGHUP.
- Bond (
inputs.bond): Reset slave stats for each interface. - Cloudwatch (
inputs.cloudwatch): Verify endpoint is not nil. - LVM (
inputs.lvm): Add options to specify path to binaries. - XPath (
parsers.xpath): Fix panic for JSON name expansion. - JSON (
serializers.json): Fix stateful transformations.
Dependency updates
- Update cloud.google.com/go/pubsub from 1.27.1 to 1.28.0.
- Update github.com/containerd/containerd from 1.6.8 to 1.6.18.
- Update github.com/go-logfmt/logfmt from 0.5.1 to 0.6.0.
- Update github.com/gofrs/uuid from 4.3.1 to 5.0.0.
- Update github.com/gophercloud/gophercloud from 1.0.0 to 1.2.0.
- Update github.com/pion/dtls/v2 from 2.1.5 to 2.2.4.
- Update golang.org/x/net from 0.5.0 to 0.7.0.
- Update golang.org/x/sys from 0.4.0 to 0.5.0.
- Update google.golang.org/grpc from 1.52.3 to 1.53.0.
- Update k8s.io/apimachinery from 0.25.3 to 0.25.6.
- Update testcontainers from 0.14.0 to 0.18.0.
v1.25.2
Bug fixes
- Only read the config once.
- fix link to license for Google flatbuffers.
- Cisco Telemetry MDT (
inputs.cisco_telemetry_mdt): Check subfield sizes to avoid panics. - Cloudwatch (
inputs.cloudwatch): Enable custom endpoint support. - Conntrack (
inputs.conntrack): Resolve segfault when setting collect field. - GNMI (
inputs.gnmi): Handle both new-style tag_subscription and old-style tag_only. - MongoDB (
inputs.mongodb):- Improve error logging.
- SIGSEGV when restarting MongoDB node.
- MySQL (
inputs.mysql): Avoid side-effects for TLS between plugin instances. - Prometheus (
inputs.prometheus): Deprecate and rename the timeout variable. - Tail (
inputs.tail): Fix typo in the README. - UPSD (
inputs.upsd): Add additional fields. - x509 Cert (
inputs.x509_cert): Fix Windows path handling. - Prometheus Client (
outputs.prometheus_client): Expire with ticker, not add/collect. - Secret Stores: Check store id format and presence.
Dependency updates
- Update cloud.google.com/go/bigquery from 1.44.0 to 1.45.0.
- Update github.com/99designs/keyring from 1.2.1 to 1.2.2.
- Update github.com/antchfx/xmlquery from 1.3.12 to 1.3.15.
- Update github.com/antchfx/xpath from 1.2.2 to 1.2.3.
- Update github.com/coreos/go-semver from 0.3.0 to 0.3.1.
- Update github.com/moby/ipvs from 1.0.2 to 1.1.0.
- Update github.com/multiplay/go-ts3 from 1.0.1 to 1.1.0.
- Update github.com/prometheus/client_golang from 1.13.1 to 1.14.0.
- Update github.com/shirou/gopsutil from 3.22.9 to 3.22.12.
- Update go.mongodb.org/mongo-driver from 1.11.0 to 1.11.1.
- Update golang/x dependencies.
- Update google.golang.org/grpc from 1.51.0 to 1.52.0.
- Update google.golang.org/grpc from 1.52.0 to 1.52.3.
v1.25.1
Bug fixes
- Catch non-existing commands and error out.
- Correctly reload configuration files.
- Handle float time with fractions of seconds correctly.
- Only set default snmp after reading all configs.
- Allow any 2xx status code.
- Kafka: Add keep-alive period setting for input and output.
- Cisco Telemetry MDT (
inputs.cisco_telemetry_mdt): Add operation-metric and class-policy prefix. - Exec (
inputs.exec): Restore pre-v1.21 behavior for CSV data_format. - GNMI (
inputs.gnmi): Update configuration documentation. - Logstash (
inputs.logstash): Collect opensearch specific stats. - MySQL (
inputs.mysql): Revert slice declarations with non-zero initial length. - OPC UA (
inputs.opcua): Fix opcua and opcua-listener for servers using password-based auth. - Prometheus (
inputs.prometheus):- Correctly track deleted pods.
- Set the timeout for slow running API endpoints correctly.
- SQL Server (
inputs.sqlserver):- Add more precise version check.
- Added own SPID filter.
- SqlRequests include sleeping sessions with open transactions.
- Suppress error on secondary replicas.
- UPSD (
inputs.upsd):- Always convert to float.
- Ensure firmware is always a string.
- Windows Event Log (
inputs.win_eventlog): Handle remote events more robustly. - x509 Cert (
inputs.x509_cert): Fix off-by-one when adding intermediate certificates. - Loki (
outputs.loki): Return response body on error. - JSON v2 parser (
parsers.json_v2): In case of invalid json, log message to debug log. - Secret Stores:
- Cleanup duplicate printing.
- Fix handling of “id” and print failing secret-store.
- Fix handling of TOML strings.
Dependency updates
- Update cloud.google.com/go/storage from 1.23.0 to 1.28.1.
- Update github.com/antchfx/jsonquery from 1.3.0 to 1.3.1.
- Update github.com/aws/aws-sdk-go-v2 from 1.17.1 to 1.17.3.
- Update github.com/aws/aws-sdk-go-v2/service/ec2 from 1.54.4 to 1.80.1.
- Update github.com/denisenkom/go-mssqldb from 0.12.0 to 0.12.3.
- Update github.com/eclipse/paho.mqtt.golang from 1.4.1 to 1.4.2.
- Update github.com/hashicorp/consul/api from 1.15.2 to 1.18.0.
- Update github.com/karrick/godirwalk from 1.16.1 to 1.17.0.
- Update github.com/kardianos/service from 1.2.1 to 1.2.2.
- Update github.com/nats-io/nats-server/v2 from 2.9.4 to 2.9.9.
v1.25.0
New Plugins
Inputs
- Azure Monitor (
inputs.azure_monitor) - Google Cloud Storage (
inputs.google_cloud_storage) - Intel Dynamic Load Balancer (Intel DLB) (
inputs.intel_dlb) - libvirt (
inputs.libvirt) - Netflow (
inputs.netflow) - OPC UA Client Listener (
inputs.opcua_listener)
Parsers
- Binary (
parsers.binary)
Features
- Add arm64 Windows builds to nightly and CI.
- Add method to inform of deprecated plugin option values.
- Add Secret-store implementation.
- Deprecate active usage of netsnmp translator.
Plugin updates
- Kafka (
common.kafka): Add exponential backoff when connecting or reconnecting and allow plugin to start without making initial connection. - AMQP Consumer (
inputs.amqp_consumer): Determine content encoding automatically. - APCUPSD (
inputs.apcupsd): Add new fields:- status
- cumulative_time_on_battery_ns
- last_transfer
- number_transfers
- CGroup (
inputs.cgroups):- Do not abort on first error.
- Print message once.
- Conntrack (
inputs.conntrack): Parse conntrack stats. - DiskIO (
inputs.diskio): Allow selecting devices by ID. - Ethtool (
inputs.ethtool):- Gather statistics from namespaces.
- Possibility to skip gathering metrics for downed interfaces
- HTTP Response (
inputs.http_response):- Add setting for TLS renegotiation method.
- Add User-Agent header.
- Kafka Consumer (
inputs.kafka_consumer): Add Sarama debug logs. - KNX (
inputs.knx_listener): Add support for TCP as a transport protocol. - Kubernetes (
inputs.kubernetes): Allow fetching kublet metrics remotely. - Modbus (
inputs.modbus):- Add 8-bit integer types.
- Add configuration option to pause after connect.
- Add support for half-precision floats (float16).
- Optimize grouped requests.
- Optimize requests.
- OPC UA (
inputs.opcua): Use regular reads instead of registered reads. - PowerDNS Recursor (
inputs.powerdns_recursor): Support for new PowerDNS recursor control protocol. - Prometheus (
inputs.prometheus): Add support for custom headers.- Allow explicit scrape configuration without annotations.
- Use system wide proxy settings.
- S.M.A.R.T. (
inputs.smart): Add additional SMART metrics that indicate/predict device failure. - SNMP (
inputs.snmp): Convert enum values. - Socket Listener (
inputs.socket_listener): Specify message separator for streams. - SQL Server (
inputs.sqlserver):- Add
@@SERVICENAMEandSERVERPROPERTY(IsClustered)in measurementsqlserver_server_properties. - Add data and log used space metrics for Azure SQL DB.
- Add metric
available_physical_memory_kbinsqlserver_server_properties. - Introduce timeout for query execution.
- Add
- System (
inputs.system): Collect unique user count logged in. - Tail (
inputs.tail):- Add option to preserve newlines for multiline data
- Allow handling of quoted strings spanning multiple lines
- Tomcat (
inputs.tomcat): Add source tag. - Azure Data Explorer (
outputs.azure_data_explorer): Add support for streaming ingestion for ADX output plugin. - Event Hubs (
outputs.event_hubs): Expose max message size batch option. - Graylog (
outputs.graylog): Implement optional connection retries. - Timestream (
outputs.timestream): Support ingesting multi-measures. - Binary parser (
parsers.binary) Handle hex-encoded inputs. - CSV parser (
parsers.csv):- Add option for overwrite tags
- Support null delimiters
- Grok parser (
parsers.grok): Add option to allow multiline messages. - XPath parser (
parsers.xpath):- Add option to skip (header) bytes.
- Allow to specify byte-array fields to encode in HEX.
- JSON serializer (
serializers.json) Support serializing JSON nested in string fields.
Bug fixes
- Run processors in configuration order.
- Watch for changes in configuration files in config directories.
- Conntrack (
inputs.conntrack): Skip gather tests if conntrack kernel module is not loaded. - Filecount (
inputs.filecount): Revert library version. - Kubernetes Inventory (
inputs.kube_inventory): Change default token path, use in-cluster config by default. - Modbus (
inputs.modbus):- Add workaround to read field in separate requests.
- Fix Windows COM-port path.
- Fix default value of transmission mode.
- MongoDB (
inputs.mongodb): Fix connection leak triggered by configuration reload. - OPC UA (
inputs.opcua):- Add support for OPC UA datetime values.
- Parse full range of status codes with uint32.
- Prometheus (
inputs.prometheus): Respect selectors when scraping pods. - SQL (
inputs.sql): Castmeasurement_columnto string. - VSphere (
inputs.vsphere): Eliminate duplicate samples. - ZFS (
inputs.zfs): Unbreak dataset stat gathering in case listsnaps is enabled on a zfs pool. - Azure Data Explorer (
outputs.azure_data_explorer): Update test call toNewSerializer. - Parser processor (
processors.parser): Handle empty metric names correctly.
Dependency updates
- Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.61.1836 to 1.62.77 - Update
github.com/gosnmp/gosnmpfrom 1.34.0 to 1.35.0 - Update
OpenTelemetryfrom 0.2.30 to 0.2.33
v1.24.4
Bug fixes
- Amazon CloudWatch (
inputs.cloudwatch): Correctly handle multiple namespaces. - Directory Monitor (
inputs.directory_monitor): Close input file before removal. - GMNI (
inputs.gnmi):- Handle decimal_val as per gnmi v0.8.0.
- Do not provide empty prefix for subscription request.
- Fix empty name for Sonic devices.
- Ping (
inputs.ping): Avoid -x/-X on FreeBSD 13 and newer with ping6. - Prometheus input (
inputs.prometheus): Correctly default to port 9102. - Redis Sentinel (
input.redis_sentinel): Fix sentinel and replica stats gathering. - Socket Listener (
inputs.socket_listener): Ensure connections are closed. - Datadog (
output.datadog): Log response in case of non 2XX response from API - Prometheus output (
outputs.prometheus): Expire metrics correctly during adds. - Yandex Cloud Monitoring (
outputs.yandex_cloud_monitoring): Catch int64 values.
Dependency updates
- Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.61.1818 to 1.61.1836 - Update
github.com/prometheus/client_golangfrom 1.13.0 to 1.13.1 - Update
github.com/aws/aws-sdk-go-v2/service/timestreamwritefrom 1.13.12 to 1.14.5 - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imdsfrom 1.12.17 to 1.12.19 - Update
github.com/gofrs/uuidfrom v4.3.0 to v4.3.1 - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.16.19 to 1.17.2 - Update
github.com/urfave/cli/v2from 2.16.3 to 2.23.5 - Update
github.com/Azure/azure-event-hubs-go/v3from 3.3.18 to 3.3.20 - Update
github.com/showwin/speedtest-gofrom 1.1.5 to 1.2.1 - Update
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.12.21 to 1.13.2 - Update
github.com/yuin/goldmarkfrom 1.5.2 to 1.5.3 - Update
cloud.google.com/go/pubsubfrom 1.25.1 to 1.26.0 - Update
go.mongodb.org/mongo-driverfrom 1.10.2 to 1.11.0
v1.24.3
Bug fixes
- Restore warning on unused configuration options.
- Correct default value of
enable_tls. - Update systemd unit description.
- Fix panic due to tickers slice being off-by-one in size.
- Set default parser.
- Correctly setup processors
- Fix problem with metrics not exposed by plugins.
- Directory Monitor (
inputs.directory_monitor): Allow cross filesystem directories. - Kafka (
inputs.kafka): Switch to Sarama’s new consumer group rebalance strategy setting. - Modbus (
inputs.modbus):- Add slave ID to failing connection.
- Handle field-measurement definitions correctly on duplicate field check
- Improve duplicate field checks
- OPC UA (
inputs.opcua): Add metric tags to node. - Syslog (
inputs.syslog): Print error when no error or message given. - Zookeeper (
inputs.zookeeper): Add the ability to parse floats as floats. - JSON v2 parser (
parsers.json_v2): Remove BOM before parsing. - Parser processor (
processors.parser): Keep name of original metric if parser doesn’t return one. - Splunk Metric serializer (
serializers.splunkmetric): Provide option to remove event metric tag.
Features
- Support sections in markdown.
Dependency updates
- Update github.com/snowflakedb/gosnowflake from 1.6.2 to 1.6.13
- Update github.com/sensu/sensu-go/api/core/v2 from 2.14.0 to 2.15.0
- Update github.com/gofrs/uuid from 4.2.0& to 4.3.0
- Update github.com/hashicorp/consul/api from 1.14.0 to 1.15.2
- Update github.com/aws/aws-sdk-go-v2/credentials from 1.12.5 to 1.12.21
- Update github.com/aws/aws-sdk-go-v2/service/cloudwatch
- Update github.com/aws/aws-sdk-go-v2/config
- Update k8s.io/apimachinery from 0.25.1 to 0.25.2
- Update k8s.io/api from 0.25.0 to 0.25.2
- Update k8s.io/api from 0.25.2 to 0.25.3
- Update modernc.org/sqlite from 1.17.3 to 1.19.2
- Update github.com/signalfx/golib/v3 from 3.3.45 to 3.3.46
- Update github.com/yuin/goldmark from 1.4.13 to 1.5.2
- Update cloud.google.com/go/bigquery from 1.40.0 to 1.42.0
- Update github.com/aws/aws-sdk-go-v2/service/kinesis
- Update github.com/aliyun/alibaba-cloud-sdk-go
- Update github.com/Shopify/sarama from 1.36.0 to 1.37.2
- Update testcontainers-go from 0.13.0 to 0.14.0 and address breaking change
- Update modernc.org/libc from v1.20.3 to v1.21.2
- Update github.com/aws/aws-sdk-go-v2/service/dynamodb
- Update google.golang.org/api from 0.95.0 to 0.100.0
- Update github.com/gopcua/opcua from 0.3.3 to 0.3.7
- Update github.com/prometheus/client_model from 0.2.0 to 0.3.0
- Update cloud.google.com/go/monitoring from 1.5.0 to 1.7.0
- Update github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.4
v1.24.2
Bug fixes
- Support old style of filtering sample configurations in CLI.
- Enable TLS in Kafka plugins without custom configuration.
- Avoid Ethtool internal name conflict with AWS.
Input plugin updates
- InfluxDB Listener (
influxdb_listener): Error on invalid precision. - Internet speed (
internet_speed): Renameenable_file_downloadto match upstream intent. - MongoDB (
mongodb): Start plugin correctly. - MQTT Consumer (
mqtt_consumer): Rework connection and message tracking.
Parser updates
- XPath (
xpath): Handle floating-point times correctly. - Allow specifying the Influx parser type.
Dependency updates
- Update dependencies for OpenBSD support.
- Update
k8s.io/apimachineryfrom 0.25.0 to 0.25.1. - Update
github.com/aerospike/aerospike-client-go/v5from 5.9.0 to 5.10.0. - Update github.com/nats-io/nats.go from 1.16.0 to 1.17.0.
- Replace
go-pingwithpro-bing. - Update
go.mongodb.org/mongo-driverfrom 1.10.1 to 1.10.2. - Update
github.com/aws/smithy-gofrom 1.13.2 to 1.13.3. - Update
github.com/rabbitmq/amqp091-gofrom 1.4.0 to 1.5.0. - Update
github.com/docker/distributionfrom v2.7.1 to v2.8.1.
v1.24.1
Bug fixes
- Clear error message when provided configuration is not a text file.
- Enable global confirmation for installing
mingw.
Input plugin updates
- Ceph (
ceph): Modernize metrics. - Modbus (
modbus): Do not fail if a single server reports errors. - NTPQ (
ntpq): Handle pools with-.
Parser updates
- CSV (
csv): Remove direct check. - XPath (
xpath): Add array index when expanding names. - Fix memory leak for plugins using
ParserFunc. - Unwrap parsers and remove some special handling.
processors.parser: Add option to parse tags
Dependency updates
- Update
cloud.google.com/go/pubsubfrom 1.24.0 to 1.25.1. - Update
github.com/urfave/cli/v2from 2.14.1 to 2.16.3. - Update
github.com/aws/aws-sdk-go-v2/service/ec2. - Update
github.com/wavefronthq/wavefront-sdk-go. - Update
cloud.google.com/go/bigqueryfrom 1.33.0 to 1.40.0.
v1.24.0
Breaking change
- Set default minimum TLS version to v1.2 for security reasons on both server and client connections.
This is a change from the previous defaults (TLS v1.0) on the server configuration and might break clients relying on older TLS versions.
Older versions can be manually reverted on a per-plugin basis using the
tls_min_versionoption in the plugins required.
Features
- Create custom builder to scan a Telegraf configuration file for the plugin files being defined and builds a new binary only including these plugins.
- Add license checking tool.
- Add metrics for member and replica-set average health of MongoDB.
- Allow collecting node-level metrics for Couchbase buckets.
- Make
configsubcommand.
Bug fixes
- Add version number to MacOS packages.
- Backport sync
sample.confandREADME.mdfiles. - Fix to parsing errors in Datadog mode.
- Clean up after Redis merge.
- Refactor Telegraf version.
- Remove shell execution for
license-checker.
New plugins
Inputs
- AWS CloudWatch Metric Streams (
cloudwatch_metric_streams) - Contributed by @mccabecillian. - Linux CPU(
linux_cpu) - Contributed by @fabianishere. - NSDP (
nsdp) - Contributed by @hdecarne. - Supervisor (
supervisor) - Contributed by @niasar. - UPSD (
upsd) - Contributed by @Malinskiy.
Outputs
- PostgreSQL (
postgresql) - Contributed by @phemmer. - RedisTimeSeries (
redistimeseries) - Contributed by @gkorland. - Stomp (Active MQ) - Contributed by @amus-sal.
Serializers
- CSV (
csv) - Contributed by @influxdata.
Input plugin updates
- Nats Consumer (
nats_consumer): Add simple support for jetstream subjects. - Cisco Telemetry MDT (
cisco_telemetry_mdt): Add GRPC Keepalive/timeout configuration options. - Directory Monitor (
directory_monitor):- Support paths for
files_to_ignoreandfiles_to_monitor. - Traverse subdirectories.
- Support paths for
- Kafka Consumer (
kafka_consumer): Option to set default fetch message bytes. - Linux CPU (
linux_cpu): Add plugin to collect CPU metrics on Linux. - Logstash (
logstash): Record number of failures. - Modbus (
modbus): Error out on requests with no fields defined. - MQTT Consumer (
mqtt_consumer): Add incoming MQTT message size calculation. - Nginx Plus API (
nginx_plus_api) Gatherlimit_reqsmetrics. - NTPQ (
ntpq):- Add option to specify command flags.
- Add possibility to query remote servers.
- Allow to specify
reachoutput format.
- Openstack (
openstack): Addallow_reauthconfiguration option. - Smart (
smart): Collect SSD endurance information where available insmartctl. - SQL Server (
sqlserver):- Add database name to IO stats for MI.
- Improved filtering for active requests.
- Fix filtering for
sqlAzureMIRequestsand sqlAzureDBRequests.
- StatsD (
statsd): Add median timing calculation. - Syslog (
syslog): Log remote host as source tag. - x509 Cert (
x509_cert):- Add SMTP protocol.
- Add proxy support.
- Multiple sources with non-overlapping DNS entries.
- RabbitMQ (
rabbitmq): Add support forhead_message_timestampmetric. - Redis (
redis): Add Redis 6 ACL authorization support. - Jolokia 2 (
jolokia2): Add optional origin header. - MongoDB (
mongodb): Add an option to bypass connection errors on start. - OPC UA (
opcua): Assign node ID correctly. - Prometheus (
prometheus): Run outside Kubernetes cluster error. - UPSD (
upsd): Move to newsample.confstyle.
Output plugin updates
- Cloudwatch (
cloudwatch): Add proxy support. - MQTT (
mqtt): Add support for MQTT protocol version 5. - AMQP (
amqp): Add proxy support. - Graphite (
graphite): Retry connecting to servers with failed send attempts. - Groundwork (
groundwork):- Improve metric parsing to extend output.
- Add default appType as configuration option.
- Redis Time Series (
redistimeseries): Add integration test - SQL (
sql): Add settings for Gosql.DBsettings. - ExecD (
execd): Fix error when partially unserializable metrics are written. - Wavefront (
wavefront): Update Wavefront SDK and use non-deprecated APIs.
Serializer updates
- JSON (
json): Add newjson_transformationoption transform outputted JSON. This new option can be used to transform the JSON output using the JSONata language to accommodate for requirements on the receiver side. The setting can also filter and process JSON data points. - Prometheus (
prometheus):- Provide option to reduce payload size by removing HELP from payload
- Sort labels in prometheusremotewrite serializer
Parser updates
- Migrate parsers to new style.
- XPath (
xpath): Add support for returning underlying data types. - CSV (
csv): Addreset-modeflag.
Processor updates
- Starlark (
starlark): Add benchmark for tag concatenation.
Dependency updates
- Update
github.com/jackc/pgx/v4from 4.16.1 to 4.17.0. - Update
github.com/Azure/go-autorest/autorestfrom 0.11.24 to 0.11.28. - Update
github.com/aws/aws-sdk-go-v2/service/ec2from 1.51.2 to 1.52.1 - Update
github.com/urfave/cli/v2from 2.3.0 to 2.11.2. - Update
github.com/aws/aws-sdk-go-v2/service/timestreamwritefrom 1.13.6 to 1.13.12. - Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.61.1695 to 1.61.1727. - Update
go.mongodb.org/mongo-driverfrom 1.9.1 to 1.10.1. - Update
github.com/wavefronthq/wavefront-sdk-gofrom 0.10.1 to 0.10.2. - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.16.7 to 1.16.13. - Update
github.com/aerospike/aerospike-client-go/v5from 5.7.0 to 5.9.0. - Update
github.com/hashicorp/consul/apifrom 1.13.1 to 1.14.0. - Update
github.com/tidwall/gjsonfrom 1.14.1 to 1.14.3. - Update
github.com/rabbitmq/amqp091-gofrom 1.3.4 to 1.4.0. - Update
github.com/aws/aws-sdk-go-v2/service/dynamodbfrom 1.15.10 to 1.16.1. - Update
github.com/gophercloud/gophercloudfrom 0.25.0 to 1.0.0. - Update
k8s.io/client-gofrom 0.24.3 to 0.25.0. - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imdsfrom 1.12.11 to 1.12.13. - Update
github.com/urfave/cli/v2from 2.11.2 to 2.14.1. - Update
gonum.org/v1/gonumfrom 0.11.0 to 0.12.0. - Update
github.com/Azure/azure-kusto-gofrom 0.7.0 to 0.8.0. - Update
google.golang.org/grpcfrom 1.48.0 to 1.49.0.
v1.23.4
Bug fixes
- Update
github.com/lxc/lxdto be able to run tests. - Sync sql output and input build constraints to handle loong64 in go1.19.
- Updating credentials file to not use
endpoint_urlparameter. - Cloudwatch (
inputs.cloudwatch): Customize batch size when querying - Kubernetes Inventor (
inputs.kube_inventory): Send file location to enable token auto-refresh. - Kubernetes (
inputs.kubernetes): Refresh token from file at each read. - MongoDB (
inputs.mongodb): Update version check for newer versions. - OPC UA (
inputs.opcua): Return an error with mismatched types. - SQL Server (
inputs.sqlserver): Set lower deadlock priority. - Stackdriver Google Cloud Monitoring (
inputs.stackdriver): Handle when no buckets are available. - Fix Linter issues
Features
- Add coralogix dialect to opentelemetry
Dependency updates
- Update
github.com/testcontainers/testcontainers-gofrom 0.12.0 to 0.13.0. - Update
github.com/apache/thriftfrom 0.15.0 to 0.16.0. - Update
github.com/aws/aws-sdk-go-v2/service/ec2from 1.46.0 to 1.51.0. - Update all
go.opentelemetry.iodependencies. - Update
github.com/go-ldap/ldap/v3from 3.4.1 to 3.4.4. - Update
github.com/karrick/godirwalkfrom 1.16.1 to 1.17.0. - Update
github.com/vmware/govmomifrom 0.28.0 to 0.29.0. - Update
github.com/eclipse/paho.mqtt.golangfrom 1.3.5 to 1.4.1. - Update
github.com/shirou/gopsutil/v3from 3.22.4 to 3.22.7. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs. - Update
github.com/Azure/go-autorest/autorest/adal. - Update
github.com/pion/dtls/v2from 2.0.13 to 2.1.5. - Update
github.com/Azure/azure-event-hubs-go/v3. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatch. - Update
github.com/aws/aws-sdk-go-v2/service/kinesis. - Update
github.com/aws/aws-sdk-go-v2/service/dynamodb. - Update
github.com/signalfx/golib/v3from 3.3.43 to 3.3.45. - Update
github.com/BurntSushi/tomlfrom 0.4.1 to 1.2.0. - Update
cloud.google.com/go/pubsubfrom 1.24.0 to 1.24.0. - Update
k8s.io/apimachineryfrom 0.24.2 to 0.24.3. - Update
github.com/Shopify/saramafrom 1.34.1 to 1.35.0. - Update
github.com/sirupsen/logrusfrom 1.8.1 to 1.9.0. - Update
github.com/emicklei/go-restfulfrom v2.9.5+incompatible to v3.8.0. - Update
github.com/hashicorp/consul/apifrom 1.12.0 to 1.13.1. - Update
github.com/prometheus/client_golangfrom 1.12.2 to 1.13.0. - Update
google.golang.org/apifrom 0.85.0 to 0.91.0. - Update
github.com/antchfx/xmlqueryfrom 1.3.9 to 1.3.12. - Update
github.com/aws/aws-sdk-go-v2/service/ec2. - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imds. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs.
v1.23.4
- Update
github.com/lxc/lxdto be able to run tests. - Sync sql output and input build constraints to handle loong64 in go1.19.
- Update credentials file to not use
endpoint_urlparameter - Fixes to linter issues
- Add Coralogix dialect to open telemetry.
Input plugin updates
- Cloudwatch (
cloudwatch): Customizable batch size when querying. - Kube Inventory (
kube_inventory): Send file location to enable token auto-refresh. - Kubernetes (
kubernetes): Refresh token from file at each read. - MongoDB (
mongodb): Update to most recent version. - OPC UA (
opcua): Return an error with mismatched types. - SQL server (
sqlserver): Set lower deadlock priority. - Stackdriver (
stackdriver) Handle when no buckets available.
Dependency updates
- Bump github.com/testcontainers/testcontainers-go from 0.12.0 to 0.13.0.
- Bump github.com/apache/thrift from 0.15.0 to 0.16.0.
- Bump github.com/aws/aws-sdk-go-v2/service/ec2 from 1.46.0 to 1.51.0.
- Update all go.opentelemetry.io dependencies.
- Bump github.com/go-ldap/ldap/v3 from 3.4.1 to 3.4.4.
- Bump github.com/karrick/godirwalk from 1.16.1 to 1.17.0.
- Bump github.com/vmware/govmomi from 0.28.0 to 0.29.0.
- Bump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1.4.1.
- Bump github.com/shirou/gopsutil/v3 from 3.22.4 to 3.22.7.
- Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs.
- Bump github.com/Azure/go-autorest/autorest/adal.
- Bump github.com/pion/dtls/v2 from 2.0.13 to 2.1.5.
- Bump github.com/Azure/azure-event-hubs-go/v3.
- Bump github.com/aws/aws-sdk-go-v2/service/cloudwatch.
- Bump github.com/aws/aws-sdk-go-v2/service/kinesis.
- Bump github.com/aws/aws-sdk-go-v2/service/dynamodb.
- Bump github.com/signalfx/golib/v3 from 3.3.43 to 3.3.45.
- Update github.com/BurntSushi/toml from 0.4.1 to 1.2.0.
- Update cloud.google.com/go/pubsub from 1.24.0 to 1.24.0.
- Update k8s.io/apimachinery from 0.24.2 to 0.24.3.
- Update github.com/Shopify/sarama from 1.34.1 to 1.35.0.
- Bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0.
- Bump github.com/emicklei/go-restful from v2.9.5+incompatible to v3.8.0.
- Bump github.com/hashicorp/consul/api from 1.12.0 to 1.13.1.
- Bump github.com/prometheus/client_golang from 1.12.2 to 1.13.0.
- Bump google.golang.org/api from 0.85.0 to 0.91.0.
- Bump github.com/antchfx/xmlquery from 1.3.9 to 1.3.12.
- Bump github.com/aws/aws-sdk-go-v2/service/ec2.
- Bump github.com/aws/aws-sdk-go-v2/feature/ec2/imds.
- Bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs.
v1.23.3
Bug fixes
- Openstack input plugin (
inputs.openstack): Use v3 volume library. - MQTT Consumer input plugin (
inputs.mqtt_consumer): Topic parsing error when topic having prefix ‘/’. - SNMP Trap input plugin (
inputs.snmp_trap): Prevent map panic when using withnetsnmptranslator. - SQL Server input plugin (
inputs.sqlserver): Set lower deadlock priority on queries. common.cookie: Use reader over readcloser, regeneratecookie-jarat reauthorization.- Prometheus parser (
parsers.prometheus): Histogram infinity bucket is now always present.
Dependency updates
- Bump
github.com/antchfx/jsonqueryfrom 1.1.5 to 1.2.0.
v1.23.2
Bug fixes
- Remove unexpected deprecation warnings for non-deprecated packages that occurred in 1.24.1.
- HTTP input plugin (
inputs.http): Allow both 200 and 201 response codes when generating cookie authentication. Also update the cookie header docs to show a TOML map rather than a string. - Microsoft SQL Server input plugin (
inputs.sqlserver): Usebigintforbackupsizeinsqlserverqueries. - gNMI input plugin (
inputs.gnmi): Refactortag_onlysubscriptions for complex keys (such asnetwork-instances) and to improve concurrrency. The subscription key is no longer hardcoded to the device name and thenametag. Adds ability to specify a subscription key on a per-tag basis. - SNMP input plugin (
inputs.snmp): Now sets gosnmp’sUseUnconnectedUDPSocketto true when using UDP. Adds support to accept SNMP responses from any address (not just the requested address). Useful when gathering responses from redundant/failover systems.
Dependency updates
- Bump
github.com/docker/dockerfrom 20.10.14 to 20.10.17.
v1.23.1
Bug fixes
- Jolokia2 input plugin (
jolikia2): Resolve panic on null response. - RabbitMQ input plugin (
rabbitmq) Don’t require listeners to be present in overview. - Sync back
sample.confsfor Couchbuse input plugin (couchbase) and Groundwork output plugin (groundwork). - Filter out views in MongoDB lookup.
- Fix race condition in configuration and prevent concurrent map writes to
c.UnusedFields. - Restore sample configurations broken during initial migration
- Sync back sample.confs for inputs.couchbase and outputs.groundwork.
Dependency updates
- Bump
cloud.google.com/go/monitoringfrom 1.2.0 to 1.5.0. - Bump
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.12.2 to 1.12.5. - Bump
google.golang.org/grpcfrom 1.46.2 to 1.47.0. - Bump
k8s.io/client-gofrom 0.23.3 to 0.24.1. - Bump
github.com/go-logfmt/logfmtfrom 0.5.0 to 0.5.1. - Bump
github.com/aws/aws-sdk-go-v2/service/dynamodbfrom 1.15.3 to 1.15.7. - Bump
go.mongodb.org/mongo-driverfrom 1.9.0 to 1.9.1. - Bump
github.com/gophercloud/gophercloudfrom 0.24.0 to 0.25.0. - Bump
google.golang.org/apifrom 0.74.0 to 0.84.0. - Bump
github.com/fatih/colorfrom 1.10.0 to 1.13.0. - Bump
github.com/aws/aws-sdk-go-v2/service/timestreamwritefrom 1.3.2 to 1.13.6. - Bump
github.com/shopify/saramafrom 1.32.0 to 1.34.1. - Bump
github.com/dynatrace-oss/dynatrace-metric-utils-gofrom 0.3.0 to 0.5.0. - Bump
github.com/nats-io/nats.gofrom 1.15.0 to 1.16.0. - Bump
cloud.google.com/go/pubsubfrom 1.18.0 to 1.22.2. - Bump
go.opentelemetry.io/collector/pdatafrom 0.52.0 to 0.54.0. - Bump
github.com/jackc/pgx/v4from 4.15.0 to 4.16.1. - Bump
cloud.google.com/go/bigqueryfrom 1.8.0 to 1.33.0. - Bump
github.com/Azure/azure-kusto-gofrom 0.6.0 to 0.7.0. - Bump
cloud.google.com/go/pubsubfrom 1.22.2 to 1.24.0. - Bump
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.13.0 to 1.15.7. - Bump
github.com/aws/aws-sdk-go-v2/service/ec2from 1.1.0 to 1.46.0. - Bump
github.com/golang-jwt/jwt/v4from 4.4.1 to 4.4.2. - Bump
github.com/vmware/govmomifrom 0.27.3 to 0.28.0. - Bump
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.15.4 to 1.15.8. - Bump
github.com/influxdata/influxdb-observability/otel2influxfrom 0.2.21 to 0.2.22. - Bump
k8s.io/apifrom 0.24.1 to 0.24.2. - Bump
github.com/prometheus/client_golangfrom 1.12.1 to 1.12.2.
v1.23.0
- Sample configuration (
sample.conf) files for the different plugins are now embedded into the Golang code by the Go compiler. You can now download the sample configuration from Telegraf without having to paste in sample configurations from each plugin’s README.md. - Add missing build constraints for sqlite.
- Always build README-embedder for host-architecture.
- Avoid calling
sadcwith invalid 0 interval. - Check
net.Listen()error in tests. - Add DataDog count metrics.
- Deprecate unused database configuration option.
- Document interval setting for internet speed plugin.
- Add Elasticsearch output float handling test.
- Log instance name in skip warnings.
- Output erroneous namespace and fix error.
- Remove any content type from Prometheus accept header.
- Remove full access permissions.
- Search services file in
/etc/servicesand fall back to/usr/etc/services. - Migrate XPath parser to new style.
- Add field key option to set event partition key
- Add semantic commits checker.
- Allow other
fluentdmetrics. - Add Artifactory Webhook Receiver.
- Create and push nightly Docker images to quay.io.
- Fix error if no nodes found for current configuration with XPath parser.
New plugins
- Fritzbox(
fritzbox) - Contributed by @hdecarne. - Huebridge(
huebridge) - Contributed by @hdecarne. - Slab (
slab) - Contributed by @bobuhiro11.
Input plugin updates
- Burrow (
burrow): Move Dialer to variable and runmake fmt. - CPU (
cpu): Add core and physical ID tags that contain information about physical CPU or cores in cases of hyper-threading. - HTTP (
http): Use readers over closers. - Lustre (
lustre): Support collecting per-client stats. - Mock (
mock) Add constant algorithm. - Tail (
tail): Add ANSI color filter. - Redis (
redis): Fix togoroutineleak triggered by auto-reload configuration mechanism.
Output plugin updates
- HTTP (
http): Enable authentication against a Google API protected by the OAuth 2.0 protocol. - HTTP (
elasticsearch): Add healthcheck timeout. - SQL (
sql): Add table existence cache.
Dependency updates
- Update
github.com/wavefronthq/wavefront-sdk-gofrom 0.9.10 to 0.9.11. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.15.3 to 1.15.7. - Update
github.com/sensu/sensu-go/api/core/v2from 2.13.0 to 2.14.0. - Update
go.opentelemetry.io/otel/metricfrom 0.28.0 to 0.30.0. - Update
github.com/nats-io/nats-server/v2from 2.7.4 to 2.8.4. - Update
golangci-lintfrom v1.45.2 to v1.46.2. - Update
gopsutilfrom v3.22.3 to v3.22.4 to allow for HOST_PROC_MOUNTINFO. - Update
moby/ipvsdependency from v1.0.1 to v1.0.2. - Update
modernc.org/sqlitefrom v1.10.8 to v1.17.3. - Update
github.com/containerd/containerdfrom v1.5.11 to v1.5.13. - Update
github.com/tidwall/gjsonfrom 1.10.2 to 1.14.1.
v1.22.4
- Wait for network up in
systemdpackaging.
Input plugin updates
- Couchbase (
couchbase): Do not assume metrics will all be of the same length. - StatsD (
statsd): Fix error when closing network connection. - Add mount option filtering to disk plugin.
Output plugin updates
- Azure Monitor (
azure_monitor): Reinitializehttpclient on context deadline error. - Wavefront (
wavefront): Do not addtelegraf.hosttag if nohosttag is provided.
Dependency updates
- Update
github.com/showwin/speedtest-gofrom 1.1.4 to 1.1.5. - Update OpenTelemetry plugins to v0.51.0.
v1.22.3
- Update Go to 1.18.1.
Input plugin updates
- InfluxDB Listener (
influxdb_listener): Remove duplicate writes with upstream parser. - GNMI (
gnmi): Use external xpath parser. - System (
system): Reduce log level back to original level.
v1.22.2
- Allow Makefile to work on Windows.
- Allow zero outputs when using
test-waitparameter.
Input plugin updates
- Aerospike (
aerospike): Fix statistics query bug. - Aliyun CMS (
aliyuncms): Ensure metrics accept array. - Cisco Telemetry MDT (
cisco_telemetry_mdt):- Align the default value for message size.
- Remove overly verbose info message.
- GNMI (
gnmi):- Add mutex to lookup map.
- Use sprint to cast to strings.
- Consul agent (
consul_agent): Use correct auth token. - MySQL (
mysql): Addmariadb_dialectto address the MariaDB differences inINNODB_METRICS. - SMART (
smart): Correctly parse various numeric forms - Prometheus (
prometheus): Moved from watcher to informer.
Output plugin updates
- InfluxDB v2 (
influxdb_v2): Improve error message.
Dependency updates
- Update
github.com/Azure/azure-kusto-gofrom 0.5.0 to 0.60. - Update
opentelemetryfrom v0.2.10 to v0.2.17. - Update
go.opentelemetry.io/collector/pdatafrom v0.48.0 to v0.49.0. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.13.1 to 1.15.3 - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs. - Update
github.com/aws/aws-sdk-go-v2/credentialsfrom 1.8.0 to 1.11.2. - Update
github.com/containerd/containerdfrom v1.5.9 to v1.5.11. - Update
github.com/miekg/dnsfrom 1.1.46 to 1.1.48. - Update
github.com/gopcua/opcuafrom v0.3.1 to v0.3.3 - Update
github.com/aws/aws-sdk-go-v2/service/dynamodb. - Update
github.com/xdg/scramfrom 1.0.3 to 1.0.5. - Update
go.mongodb.org/mongo-driverfrom 1.8.3 to 1.9.0. - Update
starlark 7a1108eaa012->d1966c6b9fcd.
v1.22.1
- Update
gonum.org/v1/gonumfrom 0.9.3 to 0.11.0. - Update
github.com/golang-jwt/jwt/v4from 4.2.0 to 4.4.1. - Update
gopsutiland associated dependencies for improved OpenBSD support. - Fix default value for logfile rotation interval.
Input plugin updates
- Intel PMU (
intel_pmu): Fix slow running intel-pmu test. - Cloud PubSub (
cloud_pubsub): Skip longer integration tests on-shortmode. - Cloud PubSub Push (
cloud_pubsub_push): Reduce timeouts and sleeps. - SQL Server (
sqlserver): Fix inconsistencies insql*Requestsqueries. - ZFS (
zfs): Fix redundant pool tag. - vSphere (
vsphere): Update debug message information.
Output plugin updates
- Azure Monitor (
azure_monitor): Include body in error message. - HTTP (
http): Switch HTTP 100 test case values.
Processor plugin updates
- TopK (
topk) Clarify thekandfieldsparameters.
New external plugins
- PSI External Plugin(
external.psi) - Contributed by @ajfriesen.
v1.22.0
Features
- Add
autorestartandrestartdelayflags to Windows service - Add builds for
riscv64. - Add file version and icon to
win.exe. - Add
systemdnotify support. - Check TLS configuration early to catch missing certificates.
- Implement collection offset.
common.auth: HTTP basic auth.common.cookie: Support headers with cookie auth.common.proxy: Addsocks5proxy support.- Improve error logging on plugin initialization.
Bug fixes
- Print loaded plugins and deprecations for once and test.
- Remove signed MacOS artifacts.
- Run
go mod tidy. - Fix
prometheusremotewritewrong timestamp unit. - Fix sudden close caused by OPC UA input.
- Update
containerdto 1.5.9. - Update
go-sensuto v2.12.0. - Update
gosmifrom v0.4.3 to v0.4.4. - Update parsing logic of
config.duration. - Update precision parameter default value.
- Use
sha256for rpm digest. - Warning output when running with
--test. - Graceful shutdown of Telegraf with Windows service.
- Add push-only updated values flag to histogram aggregator.
common.cookie: Address flaky tests in cookie_test.go and graylog_test.go.common.shim: Linter fixes.- Do not save cache on i386 builds.
- Add error msg for missing environment variables in configuration file.
- Fix panic in parsers due to missing log for all plugins using
setparserfunc. - Grab table columns more accurately.
- Improve parser tests by using
go-cmp/cmp. - Linter fixes for
config/config.go. - Log error when loading mibs.
- Fix Mac signing issue with arm64.
New plugins
Inputs
- Hashicorp Consul Agent Input Plugin(
consul_agent) - Contributed by @efbar. - Hashicorp Nomad Input Plugin(
nomad) - Contributed by @efbar. - Hashicorp Vault Input Plugin(
vault) - Contributed by @efbar. - Hugepages Input Plugin(
hugepages) - Contributed by @zak-pawel. - Mock Input Plugin(
mock) - Contributed by InfluxData. - Redis Sentinel Input Plugin(
redis_sentinel) - Contributed by @spideyfusion. - Socketstat Input Plugin(
socketstat) - Contributed by @sajoupa. - XtremIO Input Plugin(
xtremio) - Contributed by @cthiel42.
Processors
- Noise Processor (
noise) - Contributed by @wizarq.
Input plugin updates
- Aerospike (
aerospike): Updategithub.com/aerospike/aerospike-client-gofrom 1.27.0 to 5.7.0. - Bond (
bond): Add additional stats. - Directory Monitor (
directory_monitor):- Update
djherbis/timesand fixdependabot. - Plugin restructuring.
- Update
- Disk (
disk): Fix missing storage in container. - Docker (
docker):- Keep field type of
tasks_desiredthe same. - Update memory usage calculation.
- Update client API version.
- Keep field type of
- ECS (
ecs): Use current time as timestamp. - Execd
execd: Add newline for Prometheus parsing. - File (
file): Stateful parser handling. - GNMI (
gnmi): Add dynamic tagging. - Graylog (
graylog):- Add
tomltags. - Add
timeout-setting. - Update documentation to use current URLs.
- Add
- HTTP (
http): Ensure http body is empty. - HTTP Listener v2 (
http_listener_v2): Revert deprecation. - Internet speed (
internet_speed): Add caching. - IPset (
ipset): Fix crash when command not found. - JSON V2 (
json_v2):- Allow multiple optional objects.
- Use raw values for timestamps.
- Kibana (
kibana): Addheap_size_limitfield. - Logparser (
logparser):- Add comment.
- Fix panic due to missing log.
- MDStat (
mdstat): Fix when sync is less than 10%. - Memcached (
memcached): Gather additional stats. - Modbus
modbus:- Make Telegraf compile on Windows with golang 1.16.2.
- Re-enable openbsd support.
- Update documentation.
- Add
per-requesttags. - Support multiple slaves (gateway feature).
- MQTT Consumer (
mqtt_consumer): Topic extracting no longer requires all three fields. - NFS Client (
nfsclient): Add new field. - NTPQ (
ntpq): Correctly read long poll output. - OPC UA (
opcua):- Accept non-standard OK status by implementing a configurable workaround.
- Add more data to error log.
- Remove duplicate addition of fields.
- OpenLDAP (
openldap): Update go-ldap to v3.4.1. - OpenStack (
openstack): Fix typo. - OpenWeatherMap (
openweathermap): Addfeels_likefield. - PHPfpm (
phpfpm): Ensure CI tests runs against i386. - PostgreSQL (
postgresql): Add option to disable prepared statements. - SMART (
smart): Add concurrency configuration option, support and lint fixes. - SNMP
(snmp):- Respect number of retries configured.
- Use the correct path when evaluating symlink.
- Add option to select translator.
- Check index before assignment.
- Do not require networking during tests.
- Ensure folders do not get loaded more than once.
- Fix panic due to no module.
- Fix errors if mibs folder doesn’t exist.
- Optimize locking for mibs loading.
- SNMP Trap (
snmp_trap):- Collapsed fields by calling more in-depth function.
- Deprecate unused timeout configuration option.
- SQL (
sql): Add Clickhouse driver. - StatsD (
statsd): Sanitize names. - Syslog (
syslog): Add rfc3164 to rfc5424 translation to docs. - System (
system): Remove verbose logging. - Windows Performance Counter (
win_perf_counter):- Allow errors to be ignored.
- Implemented support for reading raw values, added tests, and update documentation.
- X.509 Certificate (
x509_cert):- Mark
testgatherudpcertas an integration test. - Add
exclude_root_certsoption.
- Mark
- ZFS (
zfs): Pool detection and metrics gathering for ZFS 2.1.x.
Output plugin updates
- AMQP (
amqp): Check for nil client before closing. - ElasticSearch (
elasticsearch):- Implement
nanandinfhandling. - Add bearer token support.
- Implement
- Graylog (
graylog): Fix to field prefixes. - Groundwork (
groundwork):- Set
nextchecktimetolastchecktime. - Update SDK and improve logging.
- Process group tag.
- Set
- InfluxDB V2 (
influxdb_v2): Include bucket name in error messages. - SQL (
sql): Fix unsigned settings. - Stackdriver (
stackdriver): Cumulative interval start times. - Syslog (
syslog): Correctly set trailer. - Timestream (
timestream): Fix batching logic with write record and introduce concurrent requests. - Datadog (
datadog): Add compression. - HTTP (
http):- Add optional list of non-retryable status codes.
- Support AWS managed service for Prometheus.
- Websocket
websocket:socks5proxy support. - Wavefront (
wavefront):- Flush sender on error to clean up broken connections.
- Run
gofmt. - Fix panic if no mibs folder is found.
Parser plugin updates
- CSV (
csv):- Empty import tzdata for Windows binaries.
- Fix typo.
- Ifname (
ifname):- Eliminate mib dependency.
- Parallelism fix.
- JSON V2 (
parsers.json_v2):- Allow optional paths and handle wrong paths correctly.
- Check if gpath exists and support optional in fields/tags.
- Fixes to timestamp setting.
- Nagios (
nagios): Use real error for logging. - XPath (
xpath):- Handle duplicate registration of protocol-buffer files gracefully.
- Fix typo.
Dependency updates
- Update
github.com/azure/azure-kusto-gofrom 0.5.0 to 0.5.2. - Update
github.com/nats-io/nats-server/v2from 2.7.3 to 2.7.4. - Update
github.com/shopify/saramafrom 1.29.1 to 1.32.0. - Update
github.com/shirou/gopsutil/v3 from 3.21.12 to 3.22.2. - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imds. - Update
github.com/miekg/dnsfrom 1.1.43 to 1.1.46. - Update
github.com/aws/aws-sdk-go-v2/service/dynamodb. - Update
github.com/nats-io/nats-server/v2from 2.7.2 to 2.7.3. - Update
github.com/aws/aws-sdk-go-v2/configfrom 1.8.3 to 1.13.1. - Update
github.com/testcontainers/testcontainers-go. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs. - Update
github.com/aws/aws-sdk-go-v2/feature/ec2/imds. - Update
github.com/wavefronthq/wavefront-sdk-gofrom 0.9.9 to 0.9.10. - Update
github.com/clickhouse/clickhouse-gofrom 1.5.1 to 1.5.4. - Update
k8s.io/apifrom 0.23.3 to 0.23.4. - Update
cloud.google.com/go/pubsubfrom 1.17.1 to 1.18.0. - Update
github.com/newrelic/newrelic-telemetry-sdk-go. - Update
github.com/aws/aws-sdk-go-v2/service/dynamodbfrom 1.5.0 to 1.13.0. - Update
github.com/sensu/sensu-go/api/core/v2from 2.12.0 to 2.13.0. - Update
github.com/gophercloud/gophercloudfrom 0.16.0 to 0.24.0. - Update
github.com/jackc/pgx/v4from 4.14.1 to 4.15.0. - Update
github.com/aws/aws-sdk-go-v2/service/stsfrom 1.7.2 to 1.14.0. - Update all
go.opentelemetry.iodependencies. - Update
github.com/signalfx/golib/v3from 3.3.38 to 3.3.43. - Update
github.com/aliyun/alibaba-cloud-sdk-go. - Update
github.com/denisenkom/go-mssqldbfrom 0.10.0 to 0.12.0. - Update
github.com/gopcua/opcuafrom 0.2.3 to 0.3.1. - Update
github.com/nats-io/nats-server/v2from 2.6.5 to 2.7.2. - Update
k8s.io/client-gofrom 0.22.2 to 0.23.3. - Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.6.0 to 1.13.0. - Update
github.com/benbjohnson/clockfrom 1.1.0 to 1.3.0. - Update
github.com/vmware/govmomifrom 0.27.2 to 0.27.3. - Update
github.com/prometheus/client_golangfrom 1.11.0 to 1.12.1. - Update
go.mongodb.org/mongo-driverfrom 1.7.3 to 1.8.3. - Update
github.com/google/go-cmpfrom 0.5.6 to 0.5.7. - Update
go.opentelemetry.io/collector/modelfrom 0.39.0 to 0.43.2. - Update
github.com/multiplay/go-ts3from 1.0.0 to 1.0.1. - Update
cloud.google.com/go/monitoringfrom 0.2.0 to 1.2.0. - Update
github.com/vmware/govmomifrom 0.26.0 to 0.27.2. - Update
google.golang.org/apifrom 0.54.0 to 0.65.0. - Update
github.com/antchfx/xmlqueryfrom 1.3.6 to 1.3.9. - Update
github.com/nsqio/go-nsqfrom 1.0.8 to 1.1.0. - Update
github.com/prometheus/commonfrom 0.31.1 to 0.32.1. - Update
cloud.google.com/go/pubsubfrom 1.17.0 to 1.17.1. - Update
github.com/influxdata/influxdb-observability/influx2otelfrom 0.2.8 to 0.2.10. - Update
github.com/shirou/gopsutil/v3from 3.21.10 to 3.21.12. - Update
github.com/jackc/pgx/v4from 4.6.0 to 4.14.1. - Update
github.com/azure/azure-event-hubs-go/v3from 3.3.13 to 3.3.17. - Update
github.com/gosnmp/gosnmpfrom 1.33.0 to 1.34.0. - Update
github.com/hashicorp/consul/apifrom 1.9.1 to 1.12.0. - Update
github.com/antchfx/xpathfrom 1.1.11 to 1.2.0. - Update
github.com/antchfx/jsonqueryfrom 1.1.4 to 1.1.5. - Update
github.com/prometheus/procfsfrom 0.6.0 to 0.7.3. - Update
github.com/aws/aws-sdk-go-v2/service/cloudwatchlogsfrom 1.5.2 to 1.12.0. - Update
github.com/kardianos/servicefrom 1.0.0 to 1.2.1. - Update
github.com/couchbase/go-couchbasefrom 0.1.0 to 0.1.1. - Update
github.com/pion/dtls/v2from 2.0.9 to 2.0.13. - Update
github.com/eclipse/paho.mqtt.golangfrom 1.3.0 to 1.3.5.
v1.21.4
- Update to Go 1.17.7 to address three security issues in the library.
- Update all
go.opentelemetry.iofrom 0.24.0 to 0.27.0. - Update
github.com/signalfx/golib/v3from 3.3.38 to 3.3.43. - Update
github.com/aliyun/alibaba-cloud-sdk-gofrom 1.61.1004 to 1.61.1483. - Update
github.com/denisenkom/go-mssqldbfrom 0.10.0 to 0.12.0. - Update
github.com/gopcua/opcuafrom 0.2.3 to 0.3.1. - Update
github.com/nats-io/nats-server/v2from 2.6.5 to 2.7.2. - Update
k8s.io/client-gofrom 0.22.2 to 0.23.3. - Update
github.com/aws/aws-sdk-go-v2/service/kinesisfrom 1.6.0 to 1.13.0. - Update
github.com/benbjohnson/clockfrom 1.1.0 to 1.3.0. - Update
github.com/Azure/azure-kusto-gofrom 0.5.0 to 0.5.2. - Update
github.com/vmware/govmomifrom 0.27.2 to 0.27.3. - Update
github.com/prometheus/client_golangfrom 1.11.0 to 1.12.1. - Update
go.mongodb.org/mongo-driverfrom 1.7.3 to 1.8.3. - Update
github.com/google/go-cmpfrom 0.5.6 to 0.5.7. - Update
go.opentelemetry.io/collector/modelfrom 0.39.0 to 0.43.2. - Update
github.com/multiplay/go-ts3from 1.0.0 to 1.0.1. - Update
cloud.google.com/go/monitoringfrom 0.2.0 to 1.2.0. - Update
github.com/vmware/govmomifrom 0.26.0 to 0.27.2.
Input plugin updates
- Docker (
docker): Update memory usage calculation. - ECS (
ecs): Use current time as timestamp. - SNMP (
snmp): Ensure folders do not get loaded more than once. - Windows Performance Counters (
win_perf_counters): Add deprecated warning and version.
Output plugin updates
- AMQP (
amqp): Check for nil client before closing. - Azure Data Explorer (
azure_data_explorer): Lower RAM usage. - ElasticSearch (
elasticsearch): Add scheme to fix error in sniffing option.
Parser plugin updates
- JSON v2 (
json_v2):- Fix timestamp change during execution.
- Fix incorrect handling of
timestamp_path. - Allow optional paths and handle wrong paths correctly.
Serializer updates
- Prometheus serializer (
prometheusremotewrite): Use correct timestamp unit.
New External Plugins
v1.21.3
- Update
grpcmodule to v1.44.0. - Update
google.golang.org/apimodule from 0.54.0 to 0.65.0. - Update
antchfx/xmlquerymodule from 1.3.6 to 1.3.9. - Update
nsqio/go-nsqmodule from 1.0.8 to 1.1.0. - Update
prometheus/commonmodule from 0.31.1 to 0.32.1. - Update
cloud.google.com/go/pubsubmodule from 1.17.0 to 1.17.1. - Update
influxdata/influxdb-observability/influx2otelmodule from 0.2.8 to 0.2.10. - Update
shirou/gopsutil/v3module from 3.21.10 to 3.21.12. - Update
jackc/pgx/v4module from 4.6.0 to 4.14.1. - Update
Azure/azure-event-hubs-go/v3module from 3.3.13 to 3.3.17. - Update
gosnmp/gosnmpmodule from 1.33.0 to 1.34.0. - Update
hashicorp/consul/apimodule from 1.9.1 to 1.12.0. - Update
antchfx/xpathmodule from 1.1.11 to 1.2.0. - Update
antchfx/jsonquerymodule from 1.1.4 to 1.1.5. - Update
prometheus/procfsmodule from 0.6.0 to 0.7.3. - Update
aws/aws-sdk-go-v2/service/cloudwatchlogsmodule from 1.5.2 to 1.12.0. - Update
kardianos/servicemodule from 1.0.0 to 1.2.1. - Update
couchbase/go-couchbasemodule from 0.1.0 to 0.1.1. - Update
pion/dtls/v2module from 2.0.9 to 2.0.13. - Update
containerd/containerdmodule to 1.5.9.
Input plugin updates
- Execd (
execd): Resolve a Prometheus text format parsing error. - IPset (
ipset): Prevent panic from occurring after startup. - OPC-UA (
opc_ua): Fix issue where fields were being duplicated. - HTTP (
http): Prevent server side error message. - SNMP (
snmp): Fix error when a MIBs folder doesn’t exist. - SNMP Trap (
snmp_trap): Fix translation of partially resolved OIDs.
Output plugin updates
- AMQP (
amqp): Update to avoid connection leaks. - Timestream (
timestream):- Fix an issue with batching logic of write records.
- Introduce concurrent requests.
- Stackdriver (
stackdriver): Send correct interval start times for all counter metrics. - Syslog (
syslog): Correctly set the ASCII trailer per RFC 6587.
Parser plugin updates
- Nagios (
nagios): Log correct errors when executing commands to aid in debugging. - JSON v2 (
json_v2): Fix timestamp precision when usingunix_nstimestamp format. - Wavefront (
wavefront): Add missing settingwavefront_disable_prefix_conversion.
v1.21.2
- Add arm64 MacOS builds for M1 devices.
- Add RISC-V64 Linux builds.
- Complete numerous changes to CircleCI config to ensure more timely completion and more clear execution flow.
- Update
github.com/djherbis/timesmodule from v1.2.0 to v1.5.0. - Update
github.com/go-ldap/ldap/v3module from v3.1.0 to v3.4.1. - Update
github.com/gwos/tcg/sdkmodule to v0.0.0-20211223101342-35fbd1ae683c.
Input plugin updates
- Disk (
disk): Fix issue of missing disks when running Telegraf in a container. - DPDK (
dpdk): Add a note to documentation about socket availability. - Logparser (
logparser): Resolve panic in the logparser plugins due to a missingLog. - SNMP (
snmp):- Resolve panic due to a missing
gosmimodule. - Resolve panic to check the index before assignment where a floating
::exists. - Resolve a panic when no MIBs folder was found.
- Ensure the module load order to avoid an SNMP marshal error.
- Now more accurately grabs MIB table columns.
- Networking no longer required during tests.
- Resolve panic due to a missing
- SNMP Trap (
snmp_trap): Documented deprecation of thetimeoutsetting.
Parser plugin updates
- CSV (
csv): Use an empty import oftzdatato correctly set the time zone.
v1.21.1
Bug fixes
- Fix panic in parsers due to missing log.
- Update
go-sensu moduleto v2.12.0 - Fix typo in OpenStack input plugin.
Features
- Add SMART input plugin concurrency configuration option,
nvme-cli v1.14+support, and lint fixes.
v1.21
The signing for RPM digest has changed to use sha256 to improve security. Due to this change, RPM builds might not be compatible with RHEL6 and older releases. (Telegraf only supports releases in RHEL production.)
- Restart Telegraf service if it’s already running and upgraded via RPM.
- Print loaded plugins and deprecations for once and test flags.
- Update
eclipse/paho.mqtt.golangmodule from 1.3.0 to 1.3.5. - Shutdown Telegraf gracefully on Windows Service.
- Skip
knxlistenerwhen writing the sample configuration file. - Update
nats-severto supportopenbsd. - Revert unintended corruption of the Makefile.
- Filter client certificates by DNS names.
- Update
etc/telegraf.confandetc/telegraf_windows.conf. - Add full metadata to configuration for
common.kafka. - Update
google.golang.org/grpcmodule from 1.39.1 to 1.40.0.
Input plugin updates
- Cloudwatch (
cloudwatch): Fix metrics collection. - CPU (
cpu): Updateshirou/gopsutilfrom v2 to v3. - Directory Monitor (
directory_monitor):- Fix to when when data format is CSV and
csv_skip_rows>0andcsv_header_row_count>=1. - Adds the ability to create and name a tag containing the filename.
- Fix to when when data format is CSV and
- ElasticSearch (
elasticsearch_query): Add debug query output. - HTTP Listener v2: (
http_listener_v2): Fix panic on close to check that Telegraf is closing. - Kubernetes Inventory (
kube_inventory): Set TLS server name configuration properly. - Modbus (
modbus): Update connection settings (serial). - MQTT Consumer (
mqtt_consumer):- Extracting no longer requires all three fields
- Enable extracting tag values from MQTT topics
- OPC UA (
opc_ua):- Fix sudden closing of Telegraf.
- Allow user to select the source for the metric timestamp.
- Prometheus (
prometheus):- Check error before defer.
- Add
ignore_timestampoption.
- Puppet (
puppetagent): Add measurements from puppet 5. - SNMP (
snmp):- Update snmp plugin to respect number of retries configured.
- Optimize locking for SNMP MIBs loading.
- Update to use gosmi.
- Remove
snmptranslatefrom READme and fix default path. - Merge tables with different indexes.
- StatsD (
statsd): Fix parse error. - Sysstat (
sysstat): Use unique temporary file. - Windows Performance Counters (
win_perf_counters): Add setting to ignore localization. - Windows Services (
win_services): Add exclude filter. - ZFS (
zfs): Pool detection and metrics gathering for ZFS >= 2.1.x
Output plugin updates
- Register
bigqueryto all output plugins. - Azure Data Explorer (
azure_data_explorer):- Add option to skip table creation.
- Add
json_timestamp_layoutoption.
- ElasticSearch (
elasticsearch): Implement NaN and inf handling. - Graylog (
graylog):- Ensure graylog spec fields not prefixed with
_. - Failing test due to port already in use.
- Mute UDP/TCP tests by marking them as integration.
- TLS support and message format.
- Add TCP support.
- Ensure graylog spec fields not prefixed with
- HTTP (
http): Adduse_batch_format. - InfluxDB V2 (
influxdb_v2): Add retry to 413 errors with InfluxDB output. - Wavefront (
wavefront): Flush sender on error to clean up broken connections.
Parser plugin updates
- XPath (
xpath): Handle duplicate registration of protocol-buffer files gracefully - JSON v2 (
json_v2):- Parser timestamp setting order.
- Remove dead code.
- Support defining field/tag tables within an object table.
Processor plugin updates
- IfName (
ifname):- Eliminate MIB dependency.
- Parallelism fix.
- Add more details to log messages.
- Starlark (
starlark): Example for processingsparkplug_bmessages. - RegEx (
regex): Extend to allow renaming of measurements, tags, and fields.
Aggregator plugin updates
- Implement deprecation infrastructure
- Add support of aggregator as Starlark script
New plugins
Inputs
- Intel PMU Input Plugin(
intel_pmu) - Contributed by @bkoltowski. - Logical Volume Manager Input Plugin(
lvm) - Contributed by @InfluxData. - OpenStack Input Plugin(
openstack) - Contributed by [@singamSrikar].(https://github.com/singamSrikar).
Outputs
- Azure Event Hubs Output Plugin(
event_hubs) - Contributed by @tomconte. - GroundWork Output Plugin(
groundwork) - Contributed by [@VladislavSenkevich)(https://github.com/VladislavSenkevich). - MongoDB Output Plugin(
mongodb) - Contributed by @bustedware.
Aggregator
- Starlark Aggregator(
starlark) - Contributed by @essobedo.
v1.20.4
- Update
BurntSushi/tomlfrom 0.3.1 to 0.4.1. - Update
gosnmpmodule from 1.32 to 1.33. - Update
go.opentelemetry.io/otelfrom v0.23.0 to v0.24.0. - Fix plugin linters.
Input plugin updates
- Cisco Model-Driven Telemetry (
cisco_telemetry_mdt): Move to new protobuf library. - InfluxDB (
influxdb): Update input schema docs. - Intel RDT (
intel_rdt): Correct the timezone to use local timezone by default instead of UTC from metrics gathered from thepqostool. - IPMI Sensor (
ipmi): Redact passwords in log files to maintain security. - Modbus (
modbus): Do not build on OpenBSD. - MySQL (
mysql):- Fix type conversion follow-up.
- Correctly set the default paths.
- NVIDIA SMI (
nvidia_smi): Correctly set the default paths. - Proxmox (
proxmox): Parse the column types of the server status. - SQL Server (
sqlserver): Add elastic pool in supported versions.
Output plugin updates
- Loki (
loki): Include the metric name as a label for improved query performance and metric filtering.
v1.20.3
- Update Go to 1.17.2.
- Update
gjsonmodule to v1.10.2. - Update Snowflake database driver module to 1.6.2.
- Update
github.com/apache/thriftmodule from 0.14.2 to 0.15.0. - Update
github.com/aws/aws-sdk-go-v2/configmodule from 1.8.2 to 1.8.3. - Update
github.com/Azure/azure-kusto-gomodule from 0.3.2 to 0.4.0. - Update
github.com/docker/dockermodule from 20.10.7+incompatible to 20.10.9+incompatible. - Update
github.com/golang-jwt/jwt/v4module from 4.0.0 to 4.1.0. - Update
github.com/jaegertracing/jaegermodule from 1.15.1 to 1.26.0. - Update
github.com/prometheus/commonmodule from 0.26.0 to 0.31.1.
Input plugin updates
- IPMI Sensor (
ipmi_sensor): Redact IPMI password in logs. - Kube Inventory (
kube_inventory):- Do not skip resources with zero s/ns timestamps.
- Fix segfault in ingress, persistentvolumeclaim, statefulset.
- Procstat (
procstat): Revert and fix tag creation. - SQL Server (
sqlserver): Add integration tests. - Amazon CloudWatch (
cloudwatch): Use the AWS SDK v2 library. - ZFS (
zfs): Check return code of zfs command for FreeBSD. - Ethtool (
ethtool): Add normalization of tags. - Internet Speed (
internet_speed): Resolve missing latency field. - Prometheus (
prometheus):- Decode Prometheus scrape path from Kubernetes labels.
- Move err check to correct place.
- Procstat (
procstat): Correct conversion of int with specific bit size. - Webhooks (
webhooks): Provide more fields. - MongoDB (
mongodb): Solve compatibility issue when using 5.x relicaset. - Intel RDT (
intel_rdt): Allow sudo usage. - MySQL (
mysql): Fix inconsistent metric types.
Processor plugin updates
- Starlark (
starlark): Pop operation for non-existing keys.
New plugins
External
- IBM DB2: Contributed by @sranka.
- Oracle Database: Contributed by @sranka.
v1.20.2
- Fix makefile typo that prevented i386 tar and rpm packages from being built.
Input plugin updates
- Cloudwatch (
cloudwatch): Use new session API. - Stackdriver (
stackdriver): Migrate tocloud.google.com/go/monitoring/apiv3/v2.
Parser plugin updates
- JSON V2 (
json_v2): Duplicate line_protocol when using object and fields. - Influx (
influx): Fix memory leak.
v1.20.1
- Fix output buffer never completely flushing.
- Update
k8s.io/apimachinerymodule to 0.22.2. - Update
consulmodule to 1.11.0. - Update
github.com/testcontainers/testcontainers-gomodule to 0.11.1. - Update
github.com/Azure/go-autorest/autorest/adalmodule. - Update
github.com/Azure/go-autorest/autorest/azure/auth moduleto 0.5.8. - Update
cloud.google.com/go/pubsubmodule to 1.17.0. - Update
github.com/aws/smithy-gomodule to 1.8.0.
Input plugin updates
- ElasticSearch (
elasticsearch_query): Add custom time/date format field. - OpenTelemetry (
opentelemetry): Fix error returned to OpenTelemetry client. - Couchbase (
couchbase): Fix insecure certificate validation. - MongoDB (
mongodb): Fix panic due to nil dereference. - Intel RDT (
intel_rdt): Prevent timeout when logging. - Procstat (
procstat): Add missing tags.
Output plugin updates
- Loki (
loki): Update http_headers setting to match sample config. - MQTT (
mqtt): Add “keep alive” config option and documentation around issue with eclipse/mosquito version.
v.1.20
- Update Go to 1.17.0
- Update runc module to v1.0.0-rc95.
- Migrate
dgrijalva/jwt-gotogolang-jwt/jwt/v4. - Update
thriftmodule to 0.14.2 andzipkin-go-opentracing0.4.5. - Update
cloud.google.com/go/pubsubmodule to 1.15.0. - Update
github.com/tinylib/msgpmodule to 1.1.6.
Input plugin updates
- MongoDB (
mongodb): Change command based on server version. - SQL (
sql): Make timeout apply to single query. - SystemD Units (
systemd_units): Add pattern support. - Cloudwatch (
cloudwatch):- Pull metrics from multiple AWS CloudWatch namespaces.
- Support AWS Web Identity Provider.
- Modbus (
modbus): Add support for RTU over TCP. - Procstat (
procstat): Support cgroup globs and includesystemdunit children. - Suricata (
suricata): Support alert event type. - Prometheus (
prometheus): Add ability to query Consul Service catalog. - HTTP Listener V2 (
http_listener_v2): Allow multiple paths and add path_tag. - HTTP (
http): Add cookie authentication. - Syslog (
syslog): Add RFC 3164 support for BSD-style syslog messages. - Jenkins (
jenkins): Add option to include nodes by name. - SNMP Trap (
snmp_trap): Improve MIB lookup performance. - Smart (
smart): Add power mode status. - New Relic (
newrelic): Add option to overridemetric_url.
Output plugin updates
- Dynatrace (
dynatrace): Remove hardcoded int value. - InfluxDB v2 (
influxdb_v2): Increase accepted retry-after header values. - SQL (
sql): Add bool datatype. - Prometheus Client (
prometheus_client): Add Landing page. - HTTP (
http): Add cookie authentication.
Serializer plugin updates
- Prometheus (
prometheus): Update timestamps and expiration time as new data arrives.
Parser plugin updates
- XPath (
xpath): Add JSON, MessagePack, and Protocol-buffers format support.
New plugins
Input
- Elasticsearch Query - Contributed by @lpic10
- Internet Speed Monitor - Contributed by @ersanyamarya
- mdstat - Contributed by @johnseekins
- AMD ROCm System Management Interface (SMI) - Contributed by @mconcas
Output
- OpenTelemetry - Contributed by @jacobmarble
- Azure Data Explorer - Contributed by @minwal
v.1.19.3
- Update
sirupsen/logrusmodule from 1.7.0 to 1.8.1. - Update
testcontainers/testcontainers-gomodule from 0.11.0 to 0.11.1. - Update
golang/snappymodule from 0.0.3 to 0.0.4. - Update
aws/aws-sdk-go-v2module from 1.3.2 to 1.8.0. - Update
sensu/gomodule to v2.9.0. - Update
hashicorp/consul/apimodule to 1.9.1.
Input plugin updates
- Prometheus (
prometheus): Fix Kubernetes pod discovery. - Redis (
redis) Improve redis commands documentation. - Clickhouse (
clickhouse): Fix panic, improve handling empty result set. - OPC UA: (
opcua):- Avoid closing session on a closed connection.
- Fix reconnection regression introduced in 1.19.1.
- Don’t skip good quality nodes after encountering bad quality node.
- Kubernetes Inventory (
kube_inventory): Fix k8s nodes and pods parsing error. - PostgreSQL (
postgresql): Normalize unix socket path. - vSphere (
vsphere): Updatevmware/govmomimodule to v0.26.0 in order to support vSphere 7.0.
Output plugin updates
- Loki (
loki): Sort logs by timestamp before writing to Loki. - CrateDB (
cratedb): Replace dots in tag keys with underscores.
Processor plugin updates
- AWS (
aws): Refactor EC2 init.
v.1.19.2
- Update Go to 1.16.6.
- Linter fixes.
- Update
dynatrace-metric-utils-gomodule to v0.2.0. - Detect changes to configuration and reload Telegraf.
Input plugin updates
- CGroup (
couchbase): Allow for multiple keys when parsing cgroups. - Kubernetes (
kubernetes): Update plugin to attach pod labels to thekubernetes_pod_volumeandkubernetes_pod_networkmetrics. - Kubernetes Inventory (
kube_inventory): Fix a segmentation fault when selector labels were not present on a persistent volume claim. - MongoDB (
mongodb): Switch to officialmongo-go-drivermodule to fix an SSL authentication failure. - NSQ Consumer (
couchbase): Fix a connection error when attempting to connect to an empty list of servers. - Prometheus (
prometheus): Fix Prometheus cAdvisor authentication. - SQL (
sql): Fix issue when handling a boolean column. - SQL Server (
sqlserver):- Add TempDB troubleshooting stats and missing v2 query metrics.
- Update to provide more detailed error messaging.
- StatsD (
statsd): Fix a regression that didn’t allow integer percentiles. - x509 Certificate (
x509_cert): Fix an issue where plugin would hang indefinitely to a UDP connection.
Output plugin updates
- Dynatrace Output (
dynatrace):- Update plugin to allow optional default dimensions.
- Fix a panic caused by uninitialized
loggedMetricsmap.
- InfluxDB (
influxdb): Fix issue where metrics were reporting as written but not actually written.
Processor plugin updates
- IfName (
ifname): Fix issue with SNMP empty metric name.
Parser plugin updates
- JSON v2 (
json_v2):- Simplify how nesting is handled in parser.
- Add support for large uint64 and int64 numbers.
- Fix an issue to handle nested objects in arrays properly.
v.1.19.1
- Update nat-server module to v2.2.6.
- Update apimachinary module to v0.21.1.
- Update jwt module to v1.2.2 and jwt-go module to v3.2.3.
- Update couchbase module to v0.1.0.
- Update signalfx module to v3.3.34.
- Update gjson module to v1.8.0.
- Linter fixes.
Input plugin updates
- SQL Server (
sqlserver): Require authentication method to be specified. - Kube Inventory (
kube_inventory): Fix segfault. - Couchbase (
couchbase): Fix panic. - KNX (
knx_listener): Fix nil pointer panic. - Procstat (
procstat): Update gopsutil module to fix panic. - RabbitMQ (
rabbitmq) Fix JSON unmarshall regression. - Dovecot (
dovecot): Exclude read-timeout from being an error. - StatsD(
statsd) Don’t stop parsing after parsing error. - SNMP (
snmp): Add a check for oid and name to prevent empty metrics. - (
x509_cert):- Fix ‘source’ tag for https.
- Fix SNI support.
Output plugin updates
- (
http): Fix toml error when parsing insecure_skip_verify.
Parser plugin updates
- (
json_v2): Don’t require tags to be added to included_keys.
v1.19.0
- Update Go to 1.16.5.
Bug fixes
- Update pgx to v4.
- Fix reading configuration files starting with HTTP:
serializers.prometheusremotewrite: Update dependency and remove tags with empty values.outputs.kafka: Don’t prevent telegraf from starting when there’s a connection error.parsers.prometheusremotewrite: Update prometheus dependency to v2.21.0.outputs.dynatrace: Use dynatrace-metric-utils.- Many linter fixes. (Thanks @zak-pawel and all!)
Features
- Configuration file environment variable can now be a URL.
- Add named timestamp formats.
- Allow multiple
--configand--config-directoryflags.
Plugin updates
Input plugin updates
- (
aliyuncms): Add configuration option list of regions to query. - (
cisco_telemetry_mdt): Add support for events and class based query. - (
cloudwatch): Add wildcard support in dimensions configuration. - (
couchbase): Add ~200 more Couchbase metrics via buckets endpoint. - (
dovecot): Add support for Unix domain sockets. - (
http_listener_v2): Add support for snappy compression - (
http): Add OAuth2 to HTTP input. - (
kinesis_consumer): Addcontent_encodingoption with gzip and zlib support. - (
logstash): Add support for version 7 queue statistics. - (
mongodb): Optionally collect top statistics. - (
mysql): Gather all MySQL channels. - (
ping): Add an option to specify packet size. - (
sqlserver): Add an optional health metric. - (
sqlserver): Addedlogin_name. - (
sqlserver): Enable Azure Active Directory (AAD) authentication. - (
sqlserver): input/sqlserver: Add service and save connection pools. - (
vsphere): Add configuration option for the historical interval duration. - (
x509_)cert: Wildcard support for certificate filenames.
Output plugin updates
- (
datadog): Add HTTP proxy to DataDog output. - (
graphite): Allow more characters in graphite tags.
Parser plugin updates
- (
prometheusremotewrite): Add Starlark script for renaming metrics. - (
value): Add custom field name configuration option.
Processor plugin updates
- (
enum): Supportfloat64. - (
starlark): Add an example showing how to obtain IOPS fromdiskioinput. - (
starlark): Addmathmodule. - (
starlark): Addtimemodule. - (
starlark): Support nanosecond resolution timestamp. - (
strings): Add UTF-8 sanitizer.
New plugins
Input
- Alibaba CloudMonitor Service (Aliyun) - Contributed by @i-prudnikov
- Intel Data Plane Development Kit (DPDK) - Contributed by @p-zak
- KNX - Contributed by @DocLambda
- OpenTelemetry - Contributed by @jacobmarble
- SQL - Contributed by @srebhan
Output
- AWS Cloudwatch logs - Contributed by @i-prudnikov
- SQL - Contributed by @illuusio
- Websocket - Contributed by @FZambia
Parser
- Prometheus Remote Write - Contributed by @influxdata
- JSON V2 - Contributed by @influxdata
External
- Big Blue Button - Contributed by @SLedunois
- dnsmasq - Contributed by @machinly
- ldap_org and ds389 - Contributed by @falon
- x509_crl - Contributed by @jcgonnard
v1.18.3
- Add FreeBSD ARMv7 build.
- Dependencies:
- Migrate from
soniah/gosnmptogosnmp/gosnmpv1.32.0. - Migrate from
docker/libnetwork/ipvstomoby/ipvs. - Migrate from
ericchiang/k8stokubernetes/client-go. - Update
hashicorp/consul/apimodule to v1.8.1. - Update
shirou/gopsutilto v3.21.3. - Update
microsoft/ApplicationInsights-Goto v0.4.4 - Update
gogo/protobufto v1.3.2. - Update
Azure/go-autorest/autorest/azure/authto v0.5.6 andAzure/go-autorest/autorestto v0.11.17. - Update
collectd.orgto v0.5.0. - Update
nats-io/nats.goto v1.10.0. - Update
golang/protobufto v1.5.1.
- Migrate from
Input plugin updates
- Prometheus Input: Add ability to set user agent when scraping Prometheus metrics.
- Kinesis Input: Fix repeating parser error.
- SQL Server Input: Remove disallowed white space from
sqlServerRingBufferCPUquery.
Output plugin updates
- Elasticsearch Output: Add ability to to enable gzip compression.
v1.18.2
- Make JSON format compatible with nulls to ensure Telegraf successfully detects null values and returns an empty metric without error.
- Update
common.shimby changingNewStreamParserto accept larger inputs from scanner.
Input plugin updates
- APCUPSD Input (
apcupsd): Resolve an ‘ALARMDEL’ bug in a forked repository. This fix ensures the plugin works whenno alarmdelay duration is set. - NFS Client Input (
nfsclient): Update to successfully collect metrics other than read and write. - SNMP Input (
snmp): Update to log snmpv3 auth failures. - VMware vSphere Input (
vsphere): AddMetricLookbacksetting to handle reporting delays in vCenter 6.7 and later. - OPC UA Client Input (
opcua): Fix error handling.
Output plugin updates
- Sumo Logic Output (
sumologic): Add support to sanitize the metric name in Carbon2 serializer.
Processor plugin updates
- Converter Processor (
converter): Add support forfloat64to support converting longer hexadecimal string values to a numeric type without losing in precision. Note, if a string number exceeds the size limit forfloat64, precision may be lost.
v1.18.1
- Agent: Closes running outputs when agent reloads on SIGHUP.
Input plugin updates
- Docker Input (
docker): Fix panic when parsing container statistics. - Exec Input (
exec): Fix truncated messages in debug mode; debug mode now shows full messages. - IPMI Sensor Input (
ipmi_sensor): Fix panic by implementing a length check to plugin. - MySQL Input (
mysql): Fix the ability to handle ‘binary logs’ query for MySQL version 8.0+. - NFS Client Input (
nfsclient): Fix integer overflow in fields received by mountstat. - Ping Input (
ping): Resolve error that prevented the agent from running when an unprivileged UDP ping was sent. Now,SetPrivileged(true)is always true in native mode to ensure a privileged ICMP ping is sent. - SNMP Input (
snmp): Fixinit()when no MIBs are installed. - SQL Server Input (
sqlserver): Fixsqlserver_process_cpucalculation. - Tail Input (
tail): Added configurable option to overridepathtag.
Output plugin updates
- Azure Monitor Output (
azure_monitor): Fix an issue to handle error when initializing the authentication object. - Yandex Cloud Monitoring Output (
yandex_cloud_monitoring): Fix an issue to use correct computed metadata URL to getfolder-id.
Processor plugin updates
- ifName (
ifname): Retrieve interface name more efficiently.
v1.18
Features
- Update to Go 1.16.2.
- Add code signing for Windows and macOS.
- More SNMP v3 authentication protocols, including SHA-512.
- Add support for DataDog distributions metric type.
New plugins
Inputs
- Beat(
beat) - Contributed by @nferch - CS:GO(
csgo) - Contributed by @oofdog - Directory Monitoring(
directory_monitor) - Contributed by @influxdata - NFS(
nfsclient) - Contributed by @pmoranga - RavenDB(
ravendb) - Contributed by @ml054 and @bartoncasey
Outputs
- Grafana Loki(
loki) - Contributed by @eraac - Sensu(
sensu) - Contributed by @calebhailey - SignalFX(
signalfx) - Contributed by @keitwb
External
- GeoIP(
geoip) - Contributed by @a-bali - Plex Webhook(
plex) - Contributed by @russorat - SMCIPMI(
smc_ipmi) - Contributed by @jhpope
Aggregators
- Derivative(
derivative) - Contributed by @KarstenSchnitter - Quantile(
quantile) - Contributed by @srebhan
Processors
- AWS EC2 Metadata(
aws_ec2) - Contributed by @pmalek-sumo
Parsers
Serializers
- MessagePack(
msgpack) - Contributed by @dialogbox
v.1.17.3
- Update to Go 1.15.8.
Input plugin updates
- Filestat (
filestat): Skip missing files. - MQTT Consumer (
mqtt_consumer): Fix reconnection issues. - Ping (
ping):- Fix a timeout for
deadlineconfiguration. - Update README with correct cmd for native ping on Linux.
- Fix percentile calculations.
- Fix a timeout for
- SNMP (
snmp): Add support to expose IPv4/IPv6 as connection-schemes. - x509 Certificate (
x509_cert): Fix a timeout issue.
Output plugin updates
- InfluxDB v1.x (
influxdb): Validate InfluxDB response after creating a database to avoid JSON parsing errors. - Warp10 (
warp10): Add support for commas in tags to be URL encoded.
Miscellaneous fixes and updates
- Telegraf configuration file (
telegraf.conf): Resolve issue readingflush_jitteroutput. - Library updates:
- Update
github.com/gopcua/opcuato 0.1.13. - Update
go-pingto latest version.
- Update
v.1.17.2
Input plugin updates
ping:- Added support to the interface in native mode using either the name or IP address.
- Resolved regression from 1.17.1 by adding back missing function.
v.1.17.1
Features
- Add Event Log support for Windows platforms.
- Allow specifying SNI hostnames in
common.tls.
Input plugin updates
csv:- Add ability to define an array of string skip values.
- Address issue of ignoring missing values.
gnmi: Metric path no longer has leading character truncated.http_listener_v2: Fixed an issue withstop()when plugin fails to start.ipmi_sensor:- Add setting to enable caching.
- Add
hex_keyparameter.
jenkins: Add support for inclusive job list.lustre2: No longer crashes if the field name and value are not separated.ping: Use go-ping library whenmethod = "native"in the configurationprometheus: Use mime-type to handle protocol-buffer responses.procstat:- Provide an option to include core count when reporting
cpu_usage - Use the same timestamp for all metrics in the same
Gather()cycle.
- Provide an option to include core count when reporting
postgresql_extensible: Add timestamp column option to postgres_extensible to handle log-like queries.snmp: Extended the internal SNMP wrapper to support AES-192, AES-192C, AES-256, and AES-256C.webhooks: Use themeasurementjson field from the Particle.io webhook as the measurement name.x509_cert: Fixed a timeout issuezookeeper: Improvemntrregex expression to match user-specific keys.
Output plugin updates
http: Add option to control idle connection timeout.influxdb_v2:- Log no longer flooded with errors when Elasticsearch receiver is in read-only state.
- Add exponential backoff and respecting client error responses.
Aggregator plugin updates
merge: Performance optimization improvements.
v1.17.0
Features
- Update Go to 1.15.5.
- Added support for Linux/ppc64le.
New plugins
Inputs
- Intel Powerstat(
intel_powerstat) - Riemann Listener(
riemann)
Outputs
- Logz.io(
logzio) - Yandex Cloud Monitoring(
yandex_cloud_monitoring)
Output data formats (serializers)
- Prometheus Remote Write(
prometheusremotewrite)
Parsers
- Prometheus(
prometheus)
Input plugin updates
aerospike: Fix edge case where unexpected hex string was converted to integer if all digits.bcache: Fix tests for Windows.bind: Add configurable timeout.carbon2: Fix tests.ecs: Remove duplicated field fromecs_task.execd: Add support for new lines in line protocol fields.github: Add query of pull request statistics.graphite: Parse tags.http: Add proxy support.http_response: Fix network test.jenkins: Add build number field tojenkins_jobmeasurement.kafka_consumer: Enableztsdcompression and idempotent writes.kube_inventory:- Fix issue with missing metrics when pod has only pending containers.
- Update string parsing of allocatable cpu cores.
modbus: Add FLOAT64-IEEE support.monit: Addresponse_time.mysql: Add per user metrics.mqtt_consumer: Fix issue with concurrent map write.opcuaAdd node groups.ping:- Add percentiles.
- Fix potential issue with race condition.
snmp:- Add support for converting hex strings to integers.
- Translate field values.
socket_listener: Fix crash when receiving invalid data.sqlserver:- Add tags for monitoring readable secondaries for Azure SQL MI.
- Add SQL Server HA/DR Availability Group queries.
- Remove duplicate column (
session_db_name). - Add column
measurement_db_typeto output of all queries if not empty.
statsd: Add configurable Max TTL duration.vsphere: Fix spelling of datacenter check.win_services: Add Glob pattern matching.zfs: Add dataset metrics.
Output plugin updates
kafka: Enableztsdcompression and idempotent writes.nats: Addnameparameter.
Processor plugin updates
starlark: Can now store state between runs using a global state variable.
v1.16.3
Features
- Update
godirwalkto 1.16.1 for Dragonfly BSD support.
Input plugin updates
APCUPSD (
apcupsd): Add driver and CUDA version.CSV Parser (
csv): Fix issue where CSV timestamp was being read as Unix instead of Go reference time.gNMI (
gnmi): Add logging ofSubscribeResponse_Errorresponse types.NVIDIA SMI (
nvidia_smi): Add driver and CUDA version.PHP-FPM (
phpfpm): Fix issue with “index out of range” error.SQL Server (
sqlserver): Fix typo indatabase_namecolumn.
Output plugin updates
- Wavefront (
wavefront):- Distinguish between retryable and non-retryable errors .
- Add debug-level logging for metric data that is not retryable.
Parser plugin updates
- Starlark (
starlark):- Allow the processor to manage errors that occur in the
applyfunction. - Add support for logging.
- Add capability to return multiple metrics.
- Allow the processor to manage errors that occur in the
v1.16.2
Input plugin updates
- CSV Parser (
csv): Fix parsing multiple CSV files with different headers. - DC/OS (
dcos): Fix high-severity vulnerability in previous version of thejwt-golibrary. - gNMI (
gnmi): Add support for bytes encoding for gNMI messages. - Proxmox (
proxmox):- Fix a few issues with error reporting.
- Now ignores QEMU templates.
- RAS (
ras): Fix tests failing on some systems. - Redfish (
redfish): Fix a parsing issue. - SMART (
smart): Fix an issue to recognize all devices from the configuration. - SQL Server (
sqlserver): Fix an issue with errors in on-premise instance queries. - Systemd Units (
systemd_units): Add--plainto the command invocation to fix an issue for reporting errors for units not found. - vSphere (
vsphere)- Fix to how metrics were counted.
- Fix to metrics being skipped under in certain specific circumstances.
Output plugin updates
- Dynatrace (
dynatrace): Fix pushing metrics to separate Dynatrace environments. - Wavefront (
wavefront): Addimmediate_flushtag.
v1.16.1
Input plugin updates
- Apache Kafka Consumer (
kafka_consumer): Add Kafka SASL-mechanism authentication support for SCRAM-SHA-256, SCRAM-SHA-512, and GSSAPI. - Microsoft SQL Server (
sqlserver):- Fix a syntax error in Azure queries.
- Remove synthetic performance counters that no longer exist from the
sqlserver_performance_countersmeasurement. - Add a new tag (
sql_version_desc) to identify the readable SQL Server version.
- RAS (
ras):- Disable on specific Linux architectures (MIPS64, mips64le, ppc64le, riscv64).
- Fix an issue to properly close file handlers.
- Processes (
processes): Fix an issue with receivingno such file or directorystat error. - Windows Performance Counters (
win_perf_counters): Fix an issue with the counter where a negative denominator error would cause gathering operations to fail.
Output plugin updates
- Apache Kafka (
kafka): Add Kafka SASL-mechanism authentication support for SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI.
v1.16.0
New plugins
Inputs
- InfluxDB v2 Listener Input Plugin(
influxdb_v2_listener) - Contributed by @magichair - Intel RDT Input Plugin(
intel_rdt) - Contributed by @p-zak - NSD Input Plugin(
nsd) - Contributed by @gearnode - OPC UA Input Plugin(
opcua) - Contributed by @influxdata - Proxmox Input Plugin(
proxmox) - Contributed by @effitient - RAS Input Plugin(
ras)- Contributed by @p-zak - Windows Eventlog Input Plugin(
win_eventlog) - Contributed by @simnv
Outputs
- Dynatrace Output Plugin(
dynatrace) - Contributed by @thschue - Sumo Logic Output Plugin (
sumologic) - Contributed by @pmalek-sumo - Timestream Output Plugin (
timestream) - Contributed by @piotrwest
External
- Amazon Cloudwatch Alarms Input Plugin(
awsalarms) - Contributed by @vipinvkmenon - YouTube Input Plugin(
youtube) - Contrbuted by @inabagumi - Octoprint Input Plugin[
octoprint] - Contributed by @sspaink - Systemd Timings Input Plugin(
systemd-timings) - Contributed by @pdmorrow
Input plugin updates
aerospike: Add set and histogram reporting.agent:- Send metrics in FIFO order.
- Fix issue with
execd restart_delaybeing ignored. - Sort plugin name lists for output.
clickhouse: Add additional metrics.cloudwatch: Implement AWS CloudWatch Input Plugin ListMetrics API calls to use Active Metric Filter.consul: Addmetric_versionflag.docker: Fix vulnerabilities found in BDBA scan.execd: Fix issue withrestart_delaybeing ignored.gnmi: Next message after send returns EOF.http_listener_v2: Make header tags case-insensitive.http_response: Match on status code.jenkins: Multiple escaping occurs on at certain folder depth.kubernetes: Add missing error check for HTTP requirement failure.modbus: Extend support of fixed point values on input.mongodb: Add pages written from cache metric.net: Fix broken link toproc.c.snmpAdd agent host tag configuration option.smart: Add missing NVMe attributes.sqlserver:- Database_type config to Split up sql queries by engine type
- Fixed query mapping
- New refactoring and formatting queries.
- Add more performance counters.
tail:- Close file to ensure it has been flushed.
- Fix following on EOF.
Output plugin updates
elasticsearch: Addedforce_document_idoption to ES output enable resend data and avoid duplicated ES documents.opentsdb: Skips NaN and Inf JSON values.
Processor plugin updates
execd: Increased the maximum serialized metric size in line protocolifname: AddaddTagdebugging.starlark: Add JSON parsing support.
Bug fixes
- Fix
darwinpackage build flags. shim:- Fix bug with loading plugins with no config.
- Logger improvements.
- Fix issue with loading processor config from
execd.
- Initialize aggregation processors.
- Fix arch name in
deb/rpmbuilds. - Fix issue with
rpm /var/log/telegrafpermissions - Fix
docker-image maketarget. - Remove Event field from
serializers.splunkmetric. - Fix panic on streaming processors using logging
ParseError.Errorpanic inparsers.influx- Fix
procstatperformance regression - Fix serialization when using
carbon2. - Fix bugs found by LGTM analysis platform.
- Update to Go 1.15.2
v.1.15.3
Features
processors.starlark:- Improve the quality of docs by executing them as tests.
- Add pivot example.
outputs.application_insights: Added ability to set endpoint url.inputs.sqlserver: Added new counter - Lock Timeouts (timeout > 0)/sec.
Bug fixes
agent: Fix minor error message race condition.build: Update dockerfiles to Go 1.14.shim:- Fix bug in logger affecting
AddError. - Fix issue with
config.Duration.
- Fix bug in logger affecting
inputs.eventhub_consumer: Fix string to int conversion.inputs.http_listener_v2: Make http header tags case-insensitive.inputs.modbus: Extend support of fixed point values.inputs.ping: Fix issue for FreeBSD’s ping6.inputs.vsphere: Fixed missing cluster name.outputs.opentsdbFix JSON handling of valuesNaNandInf.
v1.15.2
Bug Fixes
- Fix RPM
/var/log/telegrafpermissions. - Fix tail following on EOF.
v1.15.1
Bug fixes
- Fix architecture in non-amd64 deb and rpm packages.
v1.15.0
Critical bug that impacted non-amd64 packages was introduced in 1.15.0. Do not install this release. Instead, install 1.15.1, which includes the features, new plugins, and bug fixes below.
Breaking changes
Breaking changes are updates that may cause Telegraf plugins to fail or function incorrectly. If you have one of the following plugins installed, make sure to update your plugin as needed:
- Logparser (
logparser) input plugin: Deprecated. Use thetailinput withdata_format = "grok"as a replacement. - Cisco GNMI Telemetry (
cisco_telemetry_gnmi) input plugin: Renamed tognmito better reflect its general support for gNMI devices. - Splunkmetric (
splunkmetric) serializer: Several fields used primarily for debugging have been removed. If you are making use of these fields, they can be added back with thetagoption.
New plugins
Inputs
- NGINX Stream STS Input Plugin(
nginx_sts) - Contributed by @zdmytriv - Redfish Input Plugin(
redfish) - Contributed by @sarvanikonda
Outputs
- Execd Output Plugin(
execd) - Contributed by @influxdata - New Relic Output Plugin(
newrelic) - Contributed by @hsingkalsi
Processors
- Defaults Processor Plugin(
defaults) - Contributed by @jregistr - Execd Processor Plugin(
execd) - Contributed by @influxdata - Filepath Processor Plugin(
filepath) - Contributed by @kir4h - Network Interface Name Processor Plugin(
ifname) - Contributed by @influxdata - Port Name Processor Plugin(
port_name) - Contributed by @influxdata - Reverse DNS Processor Plugin(
reverse_dns) - Contributed by @influxdata - Starlark Processor Plugin(
starlark) - Contributed by @influxdata
Features
- Telegraf’s
--testmode runs processors and aggregators before printing metrics. - Official packages built with Go 1.14.5.
- When updating the Debian package, you will no longer be prompted to merge the
telegraf.conffile. Instead, the new version will be installed to/etc/telegraf/telegraf.conf.sample. Thetarandzippackages now include the version in the top-level directory. - Allow per input overriding of
collection_jitterandprecision. - Deploy Telegraf configuration as
telegraf.conf.sample. - Use Docker log timestamp as metric time.
- Apply ping deadline to DNS lookup.
- Support multiple templates for graphite serializers.
- Add configurable separator graphite serializer and output.
- Add support for SIGUSR1 to trigger flush.
- Add support for once mode that writes to outputs and exits.
- Run processors and aggregators during test mode.
- Add timezone configuration to CSV parser.
Input plugin updates
- Ceph Storage (
ceph): Add support for MDS and RGW sockets. - ECS (
ecs): Add v3 metadata support. - Fibaro (
fibaro): Add support for battery-level monitoring. - File (
file):- Support UTF-16.
- Exclude
csv_timestamp_columnandcsv_measurement_columnfrom fields.
- HTTP (
http): Add reading bearer token. - HTTP Listener v2 (
http_listener_v2): Add ability to specify HTTP headers as tags. - HTTP Response (
http_response):- Add authentication support.
- Allow collection of HTTP headers.
- Add ability to collect response body as field.
- Icinga 2 (
icinga2):- Fix source field.
- Add tag for server hostname.
- InfluxDB Listener (
influxdb_listener): Add option to save retention policy as tag. - IPtables (
iptables): Extract target as a tag for each rule. - Kibana (
kibana): Fixjson unmarshalerror. - Kubernetes Inventory (
kube_inventory): Add ability to add selectors as tags. - Mem (
mem): Add laundry on FreeBSD. - Microsoft SQL Server (
sqlserver):- Add
VolumeSpacequery. - Add
cpuquery. - Add counter type to
perfmoncollector. - Improve compatibility with older server versions.
- Fix typo in
total_elapsed_time_msfield.
- Add
- Modbus (
modbus):- Add support for 64-bit integer types.
- Add retry when replica is busy.
- Add ability to specify measurement per register.
- MongoDB (
monogdb):- Add commands stats.
- Add additional fields.
- Add cluster state integer.
- Add option to disable cluster status.
- Add additional conccurrent transaction information.
- NVIDIA SMI (
nvidia_smi): Add video codec stats. - Procstat (
procstat):- Improve performance.
- Fix memory leak.
- S.M.A.R.T. (
smart): Add missingnvmeattributes. - SNMP Trap (
snmp_trap): Add SNMPv3 trap support. - System (
system): Fix incorrect uptime when clock is adjusted. - Tail (
tail): Support UTF-16.
Output plugin updates
- Enum (
enum): Add integer mapping support.
Processor plugin updates
- Date (
date):- Add field creation.
- Add integer unix time support.
- Wavefront (
wavefront): Addtruncate_tagssetting.
Bug fixes
- Fix ability to write metrics to CloudWatch with IMDSv1 disabled.
- Fix vSphere 6.7 missing data issue.
- Fix gzip support in
socket_listenerwith tcp sockets. - Fix interval drift when
round_intervalis set in agent. - Fix incorrect uptime when clock is adjusted.
- Remove trailing backslash from tag keys/values in
influxserializer. - Fix incorrect Azure SQL DB server properties.
- Send metrics in FIFO order.
v1.14.5
Bug fixes
- Improve the performance of the
procstatinput. - Fix ping exit code handling on non-Linux operating systems.
- Fix errors in output of the
sensorscommand. - Prevent startup when tags have incorrect type in configuration file.
- Fix panic with GJSON multiselect query in JSON parser.
- Allow any key usage type on x509 certificate.
- Allow histograms and summary types without buckets or quantiles in
prometheus_clientoutput.
v1.14.4
Bug fixes
- Fix the
cannot insert the value NULLerror with thePerformanceCountersquery in thesqlServerinput plugin. - Fix a typo in the naming of
the gc_cpu_fractionfield in theinfluxdbinput plugin. - Fix a numeric to bool conversion in the
converterprocessor. - Fix an issue with the
influxstream parser blocking when the data is in buffer.
v1.14.3
Bug fixes
- Use same timestamp for all objects in arrays in the
jsonparser. - Handle multiple metrics with the same timestamp in
dedupprocessor. - Fix reconnection of timed out HTTP2 connections
influxdboutputs. - Fix negative value parsing in
impi_sensorinput.
v1.14.2
Bug fixes
- Trim white space from instance tag in
sqlserverinput . - Use increased AWS Cloudwatch GetMetricData limit of 500 metrics per call.
- Fix limit on dimensions in
azure_monitoroutput. - Fix 64-bit integer to string conversion in
snmpinput. - Fix shard indices reporting in
elasticsearchinput plugin. - Ignore fields with Not a Number or Infinity floats in the JSON serializer.
- Fix typo in name of
gc_cpu_fractionfield of thekapacitorinput. - Don’t retry create database when using database_tag if forbidden by the server in
influxdboutput. - Allow CR and FF inside of string fields in InfluxDB line protocol parser.
v1.14.1
Bug fixes
- Fix
PerformanceCounterquery performance degradation insqlserverinput. - Fix error when using the
Namefield in template processor. - Fix export timestamp not working for Prometheus on v2.
- Fix exclude database and retention policy tags.
- Fix status path when using globs in
phpfpm.
v1.14
Breaking changes
Breaking changes are updates that may cause Telegraf plugins to fail or function incorrectly. If you have one of the following plugins installed, make sure to update your plugin as needed:
- Microsoft SQL Server (
sqlserver) input plugin: Renamed thesqlserver_azurestatsmeasurement tosqlserver_azure_db_resource_statsto resolve an issue where numeric metrics were previously being reported incorrectly as strings. - Date (
date) processor plugin: Now uses the UTC timezone when creating its tag. Previously, the local time was used.
Support for SSL v3.0 is deprecated in this release. Telegraf now uses the Go TLS library.
New plugins
Inputs
- Arista LANZ Consumer - Contributed by @timhughes
- ClickHouse(
clickhouse) - Contributed by @kshvakov - Execd(
execd) - Contributed by @jgraichen - Event Hub Consumer(
eventhub_consumer) - Contributed by @R290 - InfiniBand(
infiniband) - Contributed by @willfurnell - Modbus(
modbus) - Contributed by @garciaolais - Monit(
monit) - Contributed by @SirishaGopigiri - SFlow(
sflow) - Contributed by @influxdata - Wireguard(
wireguard) - Contributed by @LINKIWI
Processors
- Dedup(
dedup) - Contributed by @igomura - S2 Geo(
s2geo) - Contributed by @alespour - Template (
template) - Contributed by @RobMalvern
Outputs
- Warp10(
warp10) - Contributed by @aurrelhebert
Features
Input plugin updates
- Apache Kafka Consumer (
kafka_consumer): Add SASL version control to support Microsoft Azure Event Hub. - Apcupsd (
apcupsd): Add new tagmodeland new metrics:battery_date,nominal_input_voltage,nominal_battery_voltage,nominal_power,firmware. - Cisco Model-driven Telemetry (MDT) (
cisco_telemetry_gnmi) input plugin:- Add support for GNMI DecimalVal type.
- Replace dash (
-) with underscore (_) when handling embedded tags.
- DiskIO (
diskio): Add counters for merged reads and writes. - IPMI Sensor (
ipmi_sensor): Adduse_sudooption. - Jenkins (
jenkins):- Add
sourceandporttags tojenkins_jobmetrics. - Add new fields
total_executorsandbusy_executors.
- Add
- Kubernetes (
kubernetes): Add ability to collect pod labels. - Microsoft SQL Server (
sqlserver):- Add RBPEX IO statistics to DatabaseIO query.
- Add space on disk for each file to DatabaseIO query.
- Calculate DB Name instead of GUID in
physical_db_name. - Add
DatabaseIOTempDB per Azure DB. - Add
query_includeoption for explicitly including queries. - Add
volume_mount_pointto DatabaseIO query.
- MongoDB (
mongodb):- Add
page_faultsfor WiredTiger storage engine. - Add latency statistics.
- Add replica set tag (
rs_name).
- Add
- NATS Consumer (
nats_consumer): Add support for credentials file. - NGINX Plus API (
nginx_plus_api): Add support for new endpoints. - OpenLDAP (
openldap): Add support for MDB database information. - PHP-FPM (
phpfpm): Allow globs in FPM unix socket paths (unixsocket). - Procstat (
procstat): Add processcreated_attime. - Prometheus (
prometheus) input plugin: Addlabelandfieldselectors for Kubernetes service discovery. - RabbitMQ (
rabbitmq): Addslave_nodesandsynchronized_slave_nodesmetrics. - StatsD (
statsd): Add UDP internal metrics. - Unbound (
unbound): Expose-c cfgfileoption ofunbound-controland set the default unbound configuration (config_file= "/etc/unbound/unbound.conf) in the Telegraf configuration file. - VMware vSphere (
vsphere): Add option to exclude resources by inventory path, includingvm_exclude,host_exclude,cluster_exclude(for both clusters and datastores), anddatacenter_exclude. - X.509 Certificate (
x509_cert): Addserver_nameoverride.
Output plugin updates
- Apache Kafka (
kafka): Addtopic_tagandexclude_topic_tagoptions. - Graylog (
graylog): Allow a user defined field (short_message_field) to be used as theGELF short_message. - InfluxDB v1.x (
influxdb): Add support for setting the retention policy using a tag (retention_policy_tag). - NATS Output (
nats): Add support for credentials file.
Aggregator plugin updates
- Histogram (
histogram): Add non-cumulative histogram.
Processor plugin updates
- Converter (
converter): Add support for convertingtagorfieldtomeasurement. - Date (
date): Add date offset and timezone options. - Strings (
strings): Add support for titlecase transformation.
Bug fixes
- Fix Telegraf log rotation to use actual file size instead of bytes written.
- Fix internal Telegraf metrics to prevent output split into multiple lines.
- Chrony (
chrony) input plugin: When plugin is enabled, search forchronyconly. - Microsoft SQL Server (
sqlserver) input plugin:- Fix conversion to floats in AzureDBResourceStats query.
- Fix case sensitive collation.
- Fix several issues with DatabaseIO query.
- Fix schedulers query compatibility with pre SQL-2016.
- InfluxDB Listener (
influxdb_listener):- Fix request failing with EOF.
- Continue parsing after error.
- Set headers on ping URL.
v1.13.4
Release Notes
Official packages now built with Go 1.13.8.
Bug fixes
- Parse NaN values from summary types in Prometheus (
prometheus) input plugin. - Fix PgBouncer (
pgbouncer) input plugin when used with newer PgBouncer versions. - Support up to 8192 stats in the Ethtool (
ethtool) input plugin. - Fix performance counters collection on named instances in Microsoft SQL Server (
sqlserver) input plugin. - Use add time for Prometheus expiration calculation.
- Fix inconsistency with input error counting in Telegraf v1.x (
internal) input plugin. - Use the same timestamp per call if no time is provided in Prometheus (
prometheus) input plugin.
v1.13.3
Bug fixes
- Update Kibana (
kibana) input plugin to support Kibana 6.4 and later. - Prevent duplicate
TrackingIDsfrom being returned in the following queue consumer input plugins:- Amazon Kineses Consumer (
kinesis_consumer) - AMQP Consumer (
amqp_consumer) - Apache Consumer (
apache_consumer) - MQTT Consumer (
mqtt_consumer) - NATS Consumer (
nats_consumer) - NSQ Consumer (
nsq_consumer)
- Amazon Kineses Consumer (
- Increase support for up to 4096 statistics in the Ethtool (
ethtool) input plugin. - Remove expired metrics from the Prometheus Client (
prometheus_client) output plugin. Previously, expired metrics were only removed when new metrics were added.
v1.13.2
Bug fixes
- Warn without error when Processes (
processes) input is started on Windows. - Only parse certificate blocks in X.509 Certificate (
x509_cert) input plugin. - Add custom attributes for all resource types in VMware vSphere (
vsphere) input plugin. - Support URL agent address form with UDP in SNMP (
snmp) input plugin. - Record device fields in the SMART (
smart) input plugin when attributes isfalse. - Remove invalid timestamps from Kafka messages.
- Update
jsonparser to fixjson_strictoption and setdefaulttotrue.
v1.13.1
Bug fixes
- Fix ServerProperty query stops working on Azure after failover.
- Add leading period to OID in SNMP v1 generic traps.
- Fix missing config fields in prometheus serializer.
- Fix panic on connection loss with undelivered messages in MQTT Consumer
(
mqtt_consumer) input plugin. - Encode query hash fields as hex strings in SQL Server (
sqlserver) input plugin. - Invalidate diskio cache if the metadata mtime has changed.
- Show platform not supported warning only on plugin creation.
- Fix rabbitmq cannot complete gather after request error.
- Fix
/sbin/init --versionexecuted on Telegraf startup. - Use last path element as field key if path fully specified in Cisco GNMI Telemetry
(
cisco_telemetry_gnmi) input plugin.
v1.13
Release Notes
Official packages built with Go 1.13.5.
The Prometheus Format (prometheus) input plugin and Prometheus Client (prometheus_client)
output have a new mapping to and from Telegraf metrics, which can be enabled by setting metric_version = 2.
The original mapping is deprecated. When both plugins have the same setting,
passthrough metrics are unchanged.
Refer to the Prometheus input plugin
for details about the mapping.
New Inputs
- Azure Storage Queue
(
azure_storage_queue) - Contributed by @mjiderhamn - Ethtool
(
ethtool) - Contributed by @philippreston - SNMP Trap
(
snmp_trap) - Contributed by @influxdata - Suricata
(
suricata) - Contributed by @satta - Synproxy
(
synproxy) - Contributed by @rfrenayworldstream - Systemd Units
(
systemd_units) - Contributed by @benschweizer
New Processors
- Clone
(
clone) - Contributed by @adrianlzt
New Aggregators
- Merge
(
merge) - Contributed by @influxdata
Features
- Add per node memory stats to RabbitMQ (
rabbitmq) input plugin. - Add ability to read query from file to PostgreSQL (
postgresql_extensible) input plugin. - Add replication metrics to the Redis (
redis) input plugin. - Support NX-OS telemetry extensions in Cisco Model-driven Telemetry (
cisco_telemetry_mdt) input plugin. - Allow
graphiteparser to createInfandNaNvalues. - Use prefix base detection for ints in
grokparser. - Add more performance counter metrics to Microsoft SQL Server (
sqlserver) input plugin. - Add millisecond unix time support to
grokparser. - Add container ID as optional source tag to Docker (
docker) and Docker Log (docker_log) input plugins. - Add
langparameter to OpenWeatherMap (openweathermap) input plugin. - Log file open errors at debug level in Tail (
tail) input plugin. - Add timeout option to Amazon CloudWatch (
cloudwatch) input plugin. - Support custom success codes in HTTP (
http) input plugin. - Improve IPVS (
ipvs) input plugin error strings and logging. - Add strict mode to JSON parser that can be disabled to ignore invalid items.
- Add support for Kubernetes 1.16 and remove deprecated API usage.
- Add gathering of RabbitMQ federation link metrics.
- Add bearer token defaults for Kubernetes plugins.
- Add support for SNMP over TCP.
- Add support for per output flush jitter.
- Add a nameable file tag to File (
file) input plugin. - Add Splunk MultiMetric support.
- Add support for sending HTTP Basic Auth in InfluxDB (
influxdb) input plugin. - Add ability to configure the url tag in the Prometheus Format (
prometheus) input plugin. - Add Prometheus
metric_version=2mapping to internal metrics/line protocol. - Add Prometheus
metric_version=2support to Prometheus Client (prometheus_client) output plugin. - Add content_encoding compression support to Socket Listener (
socket_listener) input plugin. - Add high resolution metrics support to Amazon CloudWatch (
cloudwatch) output plugin. - Add
SReclaimableandSUnreclaimto Memory (mem) input plugin. - Allow multiple certificates per file in X.509 Certificate (
x509_cert) input plugin. - Add additional tags to the X.509 Certificate (
x509_cert) input plugin. - Add batch data format support to File (
file) output plugin. - Support partition assignment strategy configuration in Apache Kafka Consumer
(
kafka_consumer) input plugin. - Add node type tag to MongoDB (
mongodb) input plugin. - Add
uptime_nsfield to MongoDB (mongodb) input plugin. - Support resolution of symlinks in Filecount (
filecount) input plugin. - Set message timestamp to the metric time in Apache Kafka (
kafka) output plugin. - Add base64decode operation to String (
string) processor. - Add option to control collecting global variables to MySQL (
mysql) input plugin.
Bug fixes
- Show correct default settings in MySQL (
mysql) sample configuration. - Use
1hor3hrain values as appropriate in OpenWeatherMap (openweathermap) input plugin. - Fix
not a valid fielderror in Windows with Nvidia SMI (nvidia_smi) input plugin. - Fix InfluxDB (
influxdb) output serialization on connection closed. - Fix ping skips remaining hosts after DNS lookup error.
- Log MongoDB oplog auth errors at debug level.
- Remove trailing underscore trimming from json flattener.
- Revert change causing CPU usage to be capped at 100 percent.
- Accept any media type in the Prometheus Format (
prometheus) input plugin. - Fix unix socket dial arguments in uWSGI (
uwsgi) input plugin. - Replace colon characters in Prometheus (
prometheus_client) output labels withmetric_version=1. - Set TrimLeadingSpace when TrimSpace is on in CSV (
csv) parser.
v1.12.6
Bug fixes
- Fix many plugin errors logged at debug logging level.
- Use nanosecond precision in Docker Log (
docker_log) input plugin. - Fix interface option with
method = nativein Ping (ping) input plugin. - Fix panic in MongoDB (
mongodb) input plugin if shard connection pool stats are unreadable.
v1.12.5
Bug fixes
- Fix incorrect results in Ping (
ping) input plugin. - Add missing character replacement to
sql_instancetag. - Change
no metricerror message todebuglevel in CloudWatch (cloudwatch) input plugin. - Add missing
ServerPropertiesquery to SQLServer (sqlserver) input plugin documentation. - Fix MongoDB
connections_total_createdfield loading. - Fix metric creation when node is offline in Jenkins (
jenkins) input plugin. - Fix Docker
uptime_nscalculation when container has been restarted. - Fix MySQL field type conflict in conversion of
gtid_modeto an integer. - Fix MySQL field type conflict with
ssl_verify_depthandssl_ctx_verify_depth.
v1.12.4
- Build official packages with Go 1.12.12.
Bug fixes
- Fix metric generation with Ping (
ping) input pluginnativemethod. - Exclude alias tag if unset from plugin internal stats.
- Fix
socket_modeoption in PowerDNS Recursor (powerdns_recursor) input plugin.
v1.12.3
- Build official packages with Go 1.12.10.
Bug fixes
- Use batch serialization format in Exec (
exec) output plugin. - Use case-insensitive serial number match in S.M.A.R.T. (
smart) input plugin. - Add authorization header only when environment variable is set.
- Fix issue when running multiple MySQL and SQL Server plugin instances.
- Fix database routing on retry with
exclude_database_tag. - Fix logging panic in Exec (
exec) input plugin with Nagios data format.
v1.12.2
Bug fixes
- Fix timestamp format detection in
csvandjsonparsers. - Apcupsd input (
apcupsd)- Fix parsing of
BATTDATE.
- Fix parsing of
- Keep boolean values listed in
json_string_fields. - Disable Go plugin support in official builds.
- Cisco GNMI Telemetry input (
cisco_telemetry_gnmi)- Fix path handling issues.
v1.12.1
Bug fixes
- Fix dependenciess on GLIBC_2.14 symbol version.
- Filecount input (
filecount)- Fix filecount for paths with trailing slash.
- Icinga2 input (
icinga2)- Convert check state to an integer.
- Apache Kafka Consumer input (
kafka_consumer)- Fix could not mark message delivered error.
- MongoDB input (
mongodb)- Skip collection stats when disabled.
- HTTP Response input (
http_response)- Fix error reading closed response body.
- Apcupsd input (
apcupsd)- Fix documentation to reflect plugin.
- InfluxDB v2 output (
influxdb_v2)- Display retry log message only when retry after is received.
v1.12
Release Notes
- The cluster health related fields in the Elasticsearch input have been split out
from the
elasticsearch_indicesmeasurement into the newelasticsearch_cluster_health_indicesmeasurement as they were originally combined by error.
New Inputs
- Apcupsd (
apcupsd) - Contributed by @jonaz - Docker Log (
docker_log) - Contributed by @prashanthjbabu - Fireboard (
fireboard) - Contributed by @ronnocol - Logstash (
logstash) - Contributed by @lkmcs @dmitryilyin @arkady-emelyanov - MarkLogic (
marklogic) - Contributed by @influxdata - OpenNTPD (
openntpd) - Contributed by @aromeyer - uWSGI (
uwsgi) - Contributed by @blaggacao
New Parsers
- From Urlencoded (
form_urlencoded) - Contributed by @byonchev
New Processors
- Date (
date) - Contributed by @influxdata - Pivot (
pivot) - Contributed by @influxdata - Tag Limit (
tag_limit) - Contributed by @memory - Unpivot (
unpivot) - Contributed by @influxdata
New Outputs
- Exec (
exec) - Contributed by @Jaeyo
Features
- Improve performance of
wavefrontserializer. - Allow
regexprocessor to append tag values. - Add
starttimefield tophpfpminput. - Add cluster name tag to elasticsearch indices.
- Add support for interface field in
http_responseinput plugin. - Add container uptime_ns in
dockerinput plugin. - Add better user-facing errors for API timeouts in docker input.
- Add TLS mutual auth support to
jti_openconfig_telemetryinput. - Add support for ES 7.x to
elasticsearchoutput. - Add basic auth to
prometheusinput plugin. - Add node roles tag to
elasticsearchinput. - Support floats in
statsdpercentiles. - Add native Go ping method to
pinginput plugin. - Resume from last known offset in
tailinput when reloading Telegraf. - Add improved support for Azure SQL Database to
sqlserverinput. - Add extra attributes for NVMe devices to
smartinput. - Add
docker_devicemappermeasurement todockerinput plugin. - Add basic auth support to
elasticsearchinput. - Support string field glob matching in
jsonparser. - Update gjson to allow multipath syntax in
jsonparser. - Add support for collecting SQL Requests to identify waits and blocking to
sqlserverinput. - Collect k8s endpoints, ingress, and services in
kube_inventoryplugin. - Add support for field/tag keys to
stringsprocessor. - Add certificate verification status to
x509_certinput. - Support percentage value parsing in
redisinput. - Load external Go plugins from
--plugin-directory. - Add ability to exclude db/bucket tag from
influxdboutputs. - Gather per collections stats in
mongodbinput plugin. - Add TLS & credentials configuration for
nats_consumerinput plugin. - Add support for enterprise repos to
githubplugin. - Add Indices stats to
elasticsearchinput. - Add left function to
stringprocessor. - Add grace period for metrics late for aggregation.
- Add
diffandnon_negative_difftobasicstatsaggregator. - Add device tags to
smart_attributes. - Collect
framework_offersandallocatormetrics inmesosinput. - Add Telegraf and Go version to the
internalinput plugin. - Update the number of logical CPUs dynamically in
systemplugin. - Add darwin (macOS) builds to the release.
- Add configurable timeout setting to
smartinput. - Add
memory_usagefield toprocstatinput plugin. - Add support for custom attributes to
vsphereinput. - Add
cmdstatmetrics toredisinput. - Add
content_lengthmetric tohttp_responseinput plugin. - Add
database_tagoption toinfluxdb_listenerto add database from query string. - Add capability to limit TLS versions and cipher suites.
- Add
topic_tagoption tomqtt_consumer. - Add ability to label inputs for logging.
- Add TLS support to
nginx_plus,nginx_plus_apiandnginx_vts.
Bug fixes
- Fix sensor read error stops reporting of all sensors in
tempinput. - Fix double pct replacement in
sysstatinput. - Fix race in master node detection in
elasticsearchinput. - Fix SSPI authentication not working in
sqlserverinput. - Fix memory error panic in
mqttinput. - Support Kafka 2.3.0 consumer groups.
- Fix persistent session in
mqtt_consumer. - Fix finder inconsistencies in
vsphereinput. - Fix parsing multiple metrics on the first line of tailed file.
- Send TERM to
execprocesses before sending KILL signal. - Query oplog only when connected to a replica set.
- Use environment variables to locate Program Files on Windows.
v1.11.5
Bug fixes
- Update
go-sql-driver/mysqldriver to 1.4.1 to address auth issues. - Return error status from
--testif input plugins produce an error. - Fix with multiple instances only last configuration is used in smart input.
- Build official packages with Go 1.12.9.
- Split out
-wargument iniptablesinput plugin. - Add support for parked process state on Linux.
- Remove leading slash from rcon command.
- Allow jobs with dashes in the name in
lustre2input plugin.
v1.11.4
Bug fixes
Plugins
- Kubernetes input (
kubernetes)- Correct typo in
logsfs_available_bytesfield.
- Correct typo in
- Datadog output (
datadog)- Skip floats that are
NaNorInf.
- Skip floats that are
- Socket Listener input (
socket_listener)- Fix reload panic.
v1.11.3
Bug fixes
Agent
- Treat empty array as successful parse in JSON parser.
- Fix template pattern partial wildcard matching.
Plugins
- Bind input (
bind)- Add missing
rcodeandzonestat.
- Add missing
- GitHub input
- Fix panic.
- Lustre2 input (
lustre2)- Fix config parse regression.
- NVIDIA-SMI output (
nvidia-smi)- Handle unknown error.
- StatD input (
statd)- Fix panic when processing Datadog events.
- VMware vSphere input (
vsphere)- Fix unable to reconnect after vCenter reboot.
v1.11.2
Bug fixes
Plugins
- Bind input (
bind)- Fix
value out of rangeerror on 32-bit systems.
- Fix
- Burrow input (
burrow)- Apply topic filter to partition metrics.
- Filecount input (
filecount)- Fix path separator handling in Windows.
- Logparser input (
logparser)- Fix stop working after reload.
- Ping input (
ping)- Fix source address ping flag on BSD.
- StatsD input (
statsd)- Fix panic with empty Datadog tag string.
- Tail input (
tail)- Fix stop working after reload.
v1.11.1
Bug fixes
Agent
- Fix panic if
pool_modecolumn does not exist. - Add missing
container_idfield todocker_container_statusmetrics. - Add
device,serial_no, andwwntags to synthetic attributes.
Plugins
- Cisco GNMI Telemetry input (
cisco_telemetry_gnmi)- Omit keys when creating measurement names for GNMI telemetry.
- Disk input (
disk)- Cannot set
mount_pointsoption.
- Cannot set
- NGINX Plus API input (
nginx_plus_api)- Skip 404 error reporting.
- Procstat input (
procstat)- Don’t consider
pidof0when using systemd lookup.
- Don’t consider
- StatsD input (
statsd)- Fix parsing of remote TCP address.
- System input (
system)- Ignore error when
utmpis missing.
- Ignore error when
v1.11.0
- System (
system) input plugin- The
uptime_formatfield has been deprecated — use theuptimefield instead.
- The
- Amazon Cloudwatch Statistics (
cloudwatch) input plugin- Updated to use a more efficient API and now requires
GetMetricDatapermissions instead ofGetMetricStatistics. Theunitstag is not available from this API and is no longer collected.
- Updated to use a more efficient API and now requires
New input plugins
- BIND 9 Nameserver Statistics (
bind) - Contributed by @dswarbrick & @danielllek - Cisco GNMI Telemetry (
cisco_telemetry_gnmi) - Contributed by @sbyx - Cisco Model-driven Telemetry (
cisco_telemetry_mdt) - Contributed by @sbyx - ECS (
ecs) - Contributed by @rbtr - GitHub (
github) - Contributed by @influxdata - OpenWeatherMap (
openweathermap) - Contributed by @regel - PowerDNS Recursor (
powerdns_recursor) - Contributed by @dupondje
New aggregator plugins
- Final (
final) - Contributed by @oplehto
New output plugins
- Syslog (
syslog) - Contributed by @javicrespo - Health (
health) - Contributed by @influxdata
New output data formats (serializers)
- wavefront - Contributed by @puckpuck
Features
Agent
- Add CLI support for outputting sections of the configuration.
- Add
service-display-nameoption for use with Windows service. - Add support for log rotation.
- Allow env vars
${}expansion syntax in configuration file. - Allow devices option to match against devlinks.
Input data formats
- Nagios
- Add support for multiple line text and perfdata.
Input plugins
- AMQP Consumer (
amqp_consumer)- Support passive queue declaration.
- Add support for gzip compression.
- Amazon Cloudwatch Statistics (
cloudwatch)- Use more efficient GetMetricData API to collect Cloudwatch metrics.
- Allow selection of collected statistic types in cloudwatch input.
- Apache Solr (
solr)- Add support for HTTP basic auth.
- Hddtemp (
hddtemp)- Add source tag.
- InfluxDB Listener (
influxdb_listener)- Support verbose query parameter in ping endpoint.
- NVIDIA SMI (
nvidia-smi)- Extend metrics collected from Nvidia GPUs.
- Net (
net)- Speed up interface stat collection.
- PHP FM (
phpfm)- Enhance HTTP connection options.
- Ping (
ping)- Add TTL field.
- Procstat (
procstat)- Add
cmdlinetag. - Add pagefault data.
- Add
- Prometheus (
prometheus)- Add namespace restriction.
- SMART (
smart)- Support more drive types.
- Socket Listener (
socket_listener)- Add option to set permissions for UNIX domain sockets.
- StatsD (
statsd)- Add support for Datadog events.
Output plugins
- AMQP (
amqp)- Add support for gzip compression.
- File (
file)- Add file rotation support.
- Stackdriver (
stackdriver)- Set user agent.
– VMware Wavefront (
wavefront) - Add option to use strict sanitization rules.
- Set user agent.
– VMware Wavefront (
Aggregator plugins
- Histogram aggregator
- Add option to reset buckets on flush.
Processor plugins
- Converter (
converter)- Add hexadecimal string to integer conversion.
- Enum (
enum)- Support tags.
Bug fixes
Agent
- Create Windows service only when specified or in service manager.
- Don’t start Telegraf when stale pid file found.
- Fix inline table support in configuration file.
- Fix multi-line basic strings support in configuration file.
- Fix multiple SIGHUP causes Telegraf to shutdown.
- Fix batch fails when single metric is unserializable.
- Log a warning on write if the metric buffer has overflowed.
Plugins
- AMQP (
amqp) output- Fix direct exchange routing key.
- Apex Neptune (
apex_neptune) inpur- Skip invalid power times.
- Docker (
docker) input- Fix docker input does not parse image name correctly.
- Fibaro (
fibaro) input- Set default timeout of
5s.
- Set default timeout of
- InfluxDB v1.x (
influxdb) output- Fix connection leak on reload.
- InfluxDB v2 output
- Fix connection leak on reload.
- Lustre 2 (
lustre2) input- Fix only one job per storage target reported.
- Microsoft Azure Monitor (
azure_monitor) output- Fix scale set resource id.
- Microsoft SQL Server (
sqlserver) input Fix connection closing on error. - Minecraft (
minecraft) input- Support Minecraft server 1.13 and newer.
- NGINX Upstream Check (
nginx_upstream_check) input- Fix TOML option name.
- PgBounder (
pgbouncer) input- Fix unsupported pkt type error.
- Procstat (
procstat) input- Verify a process passed by
pid_fileexists.
- Verify a process passed by
- VMware vSphere (
vsphere) input- Fixed datastore name mapping.
v1.10.4
Bug fixes
Agent
- Create telegraf user in pre-install RPM scriptlet.
- Fix parse of unix timestamp with more than ns precision.
- Fix race condition in the Wavefront parser.
Plugins
- HTTP output plugin (
http)- Fix http output cannot set Host header.
- IPMI Sensor input (
ipmi_sensor)- Add support for hex values.
- InfluxDB v2 output (
influxdb_v2)- Don’t discard metrics on forbidden error.
- Interrupts input (
interrupts)- Restore field name case.
- NTPQ input (
ntpq)- Skip lines with missing
refid.
- Skip lines with missing
- VMware vSphere input (
vsphere)- Fix interval estimation.
v1.10.3
Bug fixes
Agent
- Set log directory attributes in RPM specification.
Plugins
- Prometheus Client (
prometheus_client) output plugin.- Allow colons in metric names.
v1.10.2
Breaking changes
Grok input data format (parser): string fields no longer have leading and trailing quotation marks removed. If you are capturing quoted strings, the patterns might need to be updated.
Bug fixes
Agent
- Fix deadlock when Telegraf is aligning aggregators.
- Add owned directories to RPM package specification.
- Fix drop tracking of metrics removed with aggregator
drop_original. - Fix aggregator window alignment.
- Fix panic during shutdown of multiple aggregators.
- Fix tags applied to wrong metric on parse error.
Plugins
- Ceph (
ceph) input- Fix missing cluster stats.
- DiskIO (
diskio) input- Fix reading major and minor block devices identifiers.
- File (
file) output- Fix open file error handling.
- Filecount (
filecount) input- Fix basedir check and parent dir extraction.
- Grok (
grok) parser- Fix last character removed from string field.
- InfluxDB v2 (
influxdb_v2) output- Fix plugin name in output logging.
- Prometheus (
prometheus) input- Fix parsing of kube config
certificate-authority-data.
- Fix parsing of kube config
- Prometheus (
prometheus) output- Remove tags that would create invalid label names.
- StatsD (
statsd) input- Listen before leaving start.
v1.10.1
Bug fixes
- Show error when TLS configuration cannot be loaded.
- Add base64-encoding/decoding for Google Cloud PubSub (
pubsub) plugins. - Fix type compatibility in VMware vSphere (
vsphere) input plugin withuse_int_samplesoption. - Fix VMware vSphere (
vsphere) input plugin shows failed task in vCenter. - Fix invalid measurement name and skip column in the CSV input data format parser.
- Fix System (
system) input plugin causing high CPU usage on Raspbian.
v1.10
New input plugins
- Google Cloud PubSub (
cloud_pubsub) - Contributed by @emilymye - Kubernetes Inventory (
kube_inventory) - Contributed by @influxdata - Neptune Apex (
neptune_apex) - Contributed by @MaxRenaud - NGINX Upstream Check (
nginx_upstream_check) - Contributed by @dmitryilyin - Multifile (
multifile) - Contributed by @martin2250
New output plugins
- Google Cloud PubSub (
cloud_pubsub) - Contributed by @emilymye
New output data formats (serializers)
- ServiceNow Metrics - Contributed by @JefMuller
- Carbon2 - Contributed by @frankreno
Features
- General
- Allow for force gathering ES cluster stats.
- Add Linux
mipslepackages.
- Input plugins
- Ceph (
ceph)- Add read and write op per second fields.
- CouchDB (
couchdb)- Add support for basic auth.
- DNS Query (
dns_query)- Add
rcodetag and field.
- Add
- DiskIO (
diskio)- Include
DEVLINKSin availableudevproperties.
- Include
- HTTP (
http)- Add support for sending a request body to
httpinput.
- Add support for sending a request body to
- InfluxDB Listener (
influxdb_listener)- Add internal metric for line too long.
- Interrupts (
interrupts)- Add option to store
cpuas a tag.
- Add option to store
- Kafka Consumer (
kafka_consumer)- Add ability to tag metrics with topic.
- Kubernetes (
k8s) - Support passing bearer token directly.
- Microsoft SQL Server (
sqlserver)- Add log send and redo queue fields.
- MongoDB (
mongodb)- Add
flush_total_time_nsand additional wired tiger fields.
- Add
- Procstat (
procstat_lookup)- Add running field.
- Prometheus (
prometheus)- Support passing bearer token directly.
- Add option to report input timestamp.
- VMware vSphere (
vsphere)- Improve scalability.
- Add resource path-based filtering.
- Varnish (
varnish)- Add configurable timeout.
- Ceph (
- Output plugins
- MQTT (
mqtt)- Add option to set retain flag on messages.
- Stackdriver (
stackdriver)- Add resource type and resource label support
- VMware Wavefront (
wavefront)- Add support for the Wavefront Direct Ingestion API.
- MQTT (
- Aggregator plugins
- Value Counter (
valuecounter)- Allow counting float values.
- Value Counter (
- Data formats
- Input data formats
- CSV
- Support
unix_usandunix_nstimestamp format. - Add support for
unixandunix_mstimestamps.
- Support
- Grok (
grok)- Allow parser to produce metrics with no fields.
- JSON
- Add micro and nanosecond unix timestamp support.
- Output data formats
- ServiceNow Metrics
Bug fixes
- General
- Use
systemdin Amazon Linux 2 rpm. - Fix
initscriptremovespidfileof restarted Telegraf process.
- Use
- Input plugins
- Consul (
consul)- Use datacenter option spelling.
- InfluxDB Listener (
influxdb_listener)- Remove auth from
/pingroute.
- Remove auth from
- Microsoft SQL Server (
sqlserver)- Set deadlock priority.
- Nstat (
nstat)- Remove error log when
snmp6directory does not exist.
- Remove error log when
- Ping (
ping)- Host not added when using custom arguments.
- X.509 Certificate
- Fix input stops checking certificates after first error.
- Consul (
- Output plugins
- Prometheus (
prometheus)- Sort metrics by timestamp.
- Stackdriver (
stackdriver)- Skip string fields when writing.
- Send metrics in ascending time order.
- Prometheus (
v1.9.5
Bug fixes
- General
- Use
systemdin Amazon Linux 2 rpm.
- Use
- Ceph Storage (
ceph) input plugin- Add backwards compatibility fields in usage and pool statistics.
- InfluxDB (
influxdb) output plugin- Fix UDP line splitting.
- Microsoft SQL Server (
sqlserver) input plugin- Set deadlock priority to low.
- Disable results by row in AzureDB query.
- Nstat (
nstat) input plugin- Remove error log when
snmp6directory does not exist.
- Remove error log when
- Ping (
ping) input plugin- Host not added when using custom arguments.
- Stackdriver (
stackdriver) output plugin- Skip string fields when writing to stackdriver output.
- Send metrics in ascending time order.
v1.9.4
Bug fixes
- General
- Fix
skip_rowsandskip_columnsoptions in csv parser. - Build official packages with Go 1.11.5.
- Fix
- Jenkins input plugin
- Always send basic auth in jenkins input.
- Syslog (
syslog) input plugin- Fix definition of multiple syslog plugins.
v1.9.3
Bug fixes
- General
- Fix latest metrics not sent first when output fails.
- Fix
internal_write buffer_sizenot reset on timed writes.
- AMQP Consumer (
amqp_consumer) input plugin- Fix
amqp_consumerinput stops consuming when it receives unparsable messages.
- Fix
- Couchbase (
couchbase) input plugin- Remove
userinfofrom cluster tag incouchbaseinput.
- Remove
- Microsoft SQL Server (
sqlserver) input plugin- Fix arithmetic overflow in
sqlserver) input.
- Fix arithmetic overflow in
- Prometheus (
prometheus) input plugin- Fix
prometheusinput not detecting added and removed pods.
- Fix
v1.9.2
Bug fixes
- Increase
varnishstattimeout. - Remove storage calculation for non-Azure-managed instances and add server version.
- Fix error sending empty tag value in
azure_monitoroutput. - Fix panic with Prometheus input plugin on shutdown.
- Support non-transparent framing of syslog messages.
- Apply global- and plugin-level metric modifications before filtering.
- Fix
num_remapped_pgsfield incephplugin. - Add
PDH_NO_DATAto known counter error codes inwin_perf_counters. - Fix
amqp_consumerstops consuming on empty message. - Fix multiple replace tables not working in strings processor.
- Allow non-local UDP connections in
net_response. - Fix TOML option names in parser processor.
- Fix panic in Docker input with bad endpoint.
- Fix original metric modified by aggregator filters.
v1.9.1
Bug fixes
- Fix boolean handling in splunkmetric serializer.
- Set default config values in Jenkins input.
- Fix server connection and document stats in MongoDB input.
- Add X-Requested-By header to Graylog input.
- Fix metric memory not freed from the metric buffer on write.
- Add support for client TLS certificates in PostgreSQL inputs.
- Prevent panic when marking the offset in
kafka_consumer. - Add early metrics to aggregator and honor
drop_originalsetting. - Use
-Wflag on BSD variants in ping input. - Allow delta metrics in Wavefront parser.
v1.9.0
Release Notes
The HTTP Listener (
http_listener) input plugin has been renamed to InfluxDB Listener (influxdb_listener) input plugin and use of the original name is deprecated. The new name better describes the intended use of the plugin as an InfluxDB relay. For general purpose transfer of metrics in any format using HTTP, InfluxData recommends using HTTP Listener v2 (http_listener_v2) input plugin.Input plugins are no longer limited from adding metrics when the output is writing and new metrics will move into the metric buffer as needed. This will provide more robust degradation and recovery when writing to a slow output at high throughput.
To avoid overconsumption when reading from queue consumers, the following input plugins use the new option
max_undelivered_messagesto limit the number of outstanding unwritten metrics:- Apache Kafka Consumer (
kafka_consumer) - AMQP Consumer (
amqp_consumer) - MQTT Consumer (
mqtt_consumer) - NATS Consumer (
nats_consumer) - NSQ Consumer (
nsq_consumer)
- Apache Kafka Consumer (
New input plugins
- HTTP Listener v2 (
http_listener_v2) - Contributed by @jul1u5 - IPVS (
ipvs) - Contributed by @amoghe - Jenkins (
jenkins) - Contributed by @influxdata & @lpic10 - NGINX Plus API (
nginx_plus_api) - Contributed by @Bugagazavr - NGINX VTS (
nginx_vts) - Contributed by @monder - Wireless (
wireless) - Contributed by @jamesmaidment
New output plugins
- Stackdriver (stackdriver) - Contributed by @jamesmaidment
Features
- General
- Add ability to define a custom service name when installing as a Windows service.
- Add new configuration for CSV column explicit type conversion.
- Add Telegraf version to
User-Agentheader. - Add ability to specify bytes options as strings with units.
- Add per output
flush_interval,metric_buffer_limit, andmetric_batch_size.
- Amazon Kinesis (
kinesis) output plugin- Use
DescribeStreamSummaryin place ofListStreams.
- Use
- DNS Query (
dns_query) input plugin- Query servers in parallel.
- Datadog (
datadog) output plugin- Add an option to specify a custom URL.
- Use non-allocating field and tag accessors.
- Filecount (
filecount) input plugin- Add per-directory file count.
- HTTP Output (
http output) plugin- Add entity-body compression.
- Memcached (
memcached) input plugin- Collect additional statistics.
- NSQ (
nsq) input plugin- Add TLS configuration support.
- Ping (
ping) input plugin- Add support for IPv6.
- Procstat (
procstat) input plugin- Add Windows service name lookup.
- Prometheus (
prometheus) input plugin- Add scraping for Prometheus annotation in Kubernetes.
- Allow connecting to Prometheus using UNIX socket.
- Strings (
strings) processor plugin- Add
replacefunction.
- Add
- VMware vSphere (
vsphere) input plugin- Add LUN to data source translation.
Bug fixes
- Remove
time_keyfrom the field values in JSON parser. - Fix input time rounding when using a custom interval.
- Fix potential deadlock or leaked resources on restart or reload.
- Fix outputs block inputs when batch size is reached.
- Fix potential missing datastore metrics in VMware vSphere (
vsphere) input plugin.
v1.8.3
Bug fixes
- Add DN attributes as tags in X.509 Certificate (
x509_cert) input plugin to avoid series overwrite. - Prevent connection leak by closing unused connections in AMQP (
amqp) output plugin. - Use default partition key when tag does not exist in Amazon Kinesis (
kinesis) output plugin. - Log the correct error in JTI OpenConfig Telemetry (
jti_openconfig_telemetry) input plugin. - Handle panic when IMPI Sensor (
ipmi_sensor) input plugin gets bad input. - Don’t add unserializable fields to Jolokia2 (
jolokia2) input plugin. - Fix version check in PostgreSQL Exstensible (
postgresql_extensible) plugin.
v1.8.2
Bug fixes
- Aerospike (
aerospike) input plugin- Support uint fields.
- Docker (
docker) input plugin- Use container name from list if no name in container stats.
- Filecount (
filecount) input plugin- Prevent panic on error in file stat.
- InfluxDB v2 (
influxdb_v2) input plugin- Update write path to match updated v2 API.
- Logparser (
logparser) input plugin- Fix panic.
- MongoDB (
mongodb) input plugin- Lower authorization errors to debug level.
- MQTT Consumer (
mqtt_consumer) input plugin- Fix connect and reconnect.
- Ping (
ping) input plugin- Return correct response code.
- VMware vSphere (
vsphere) input plugin- Fix missing timeouts.
- X.509 Certificate (
x509_cert) input plugin- Fix segfault.
v1.8.1
Bug fixes
- Fix
hardware_typemay be truncated in Microsoft SQL Server (sqlserver) input plugin. - Improve performance in Basicstats (
basicstats) aggregator plugin. - Add
hostnameto TLS config for SNI support in X.509 Certificate (x509_cert) input plugin. - Don’t add tags with empty values to OpenTSDB (
opentsdb) output plugin. - Fix panic during network error in VMware vSphere (
vsphere) input plugin. - Unify error response in HTTP Listener (
http_listener) input plugin with InfluxDB (influxdb) output plugin. - Add
UUIDto VMs in VMware vSphere (vsphere) input plugin. - Skip tags with empty values in Amazon Cloudwatch (
cloudwatch) output plugin. - Fix missing non-realtime samples in VMware vSphere (
vsphere) input plugin. - Fix case of
timezone/grok_timezoneoptions in grok parser and logparser input plugin.
v1.8
New input plugins
- ActiveMQ (
activemq) - Contributed by @mlabouardy - Beanstalkd (
beanstalkd) - Contributed by @44px - File (
file) - Contributed by @maxunt - Filecount (
filecount) - Contributed by @sometimesfood - Icinga2 (
icinga2) - Contributed by @mlabouardy - Kibana (
kibana) - Contributed by @lpic10 - PgBouncer (
pgbouncer) - Contributed by @nerzhul - Temp (
temp) - Contributed by @pytimer - Tengine (
tengine) - Contributed by @ertaoxu - VMware vSphere (
vsphere) - Contributed by @prydin - X.509 Certificate (
x509_cert) - Contributed by @jtyr
New processor plugins
- Enum (
enum) - Contributed by @KarstenSchnitter - Parser (
parser) - Contributed by @Ayrdrie & @maxunt - Rename (
rename) - Contributed by @goldibex - Strings (
strings) - Contributed by @bsmaldon
New aggregator plugins
- ValueCounter (
valuecounter) - Contributed by @piotr1212
New output plugins
- Azure Monitor (
azure_monitor) - Contributed by @influxdata - InfluxDB v2 (
influxdb_v2) - Contributed by @influxdata
New input data formats (parsers)
- csv - Contributed by @maxunt
- grok - Contributed by @maxunt
- logfmt - Contributed by @Ayrdrie & @maxunt
- wavefront - Contributed by @puckpuck
New output data formats (serializers)
- splunkmetric - Contributed by @ronnocol
Features
- Add SSL/TLS support to Redis (
redis) input plugin. - Add tengine input plugin.
- Add power draw field to the NVIDIA SMI (
nvidia_smi) input plugin. - Add support for Solr 7 to the Solr (
solr) input plugin. - Add owner tag on partitions in Burrow (
burrow) input plugin. - Add container status tag to Docker (
docker) input plugin. - Add ValueCounter (
valuecounter) aggregator plugin. - Add new measurement with results of
pgreplookup to Procstat (procstat) input plugin. - Add support for comma in logparser timestamp format.
- Add path tag to Tail (
tail) input plugin. - Add log message when tail is added or removed from a file.
- Add option to use of counter time in win perf counters.
- Add energy and power field and device id tag to Fibaro (
fibaro) input plugin. - Add HTTP path configuration for OpenTSDB output.
- Gather IPMI metrics concurrently.
- Add mongo document and connection metrics.
- Add enum processor plugin.
- Add user tag to procstat input.
- Add support for multivalue metrics to collectd parser.
- Add support for setting kafka client id.
- Add file input plugin and grok parser.
- Improve cloudwatch output performance.
- Add x509_cert input plugin.
- Add IPSIpAddress syntax to ipaddr conversion in snmp plugin.
- Add Filecount filecount input plugin.
- Add support for configuring an AWS
endpoint_url. - Send all messages before waiting for results in Kafka output plugin.
- Add support for lz4 compression to Kafka output plugin.
- Split multiple sensor keys in ipmi input.
- Support StatisticValues in cloudwatch output plugin.
- Add ip restriction for the prometheus_client output.
- Add PgBouncer (
pgbouncer) input plugin. - Add ActiveMQ input plugin.
- Add wavefront parser plugin.
- Add rename processor plugin.
- Add message ‘max_bytes’ configuration to kafka input.
- Add gopsutil meminfo fields to Mem (
mem) input plugin. - Document how to parse Telegraf logs.
- Use dep v0.5.0.
- Add ability to set measurement from matched text in grok parser.
- Drop message batches in Kafka (
kafka) output plugin if too large. - Add support for static and random routing keys in Kafka (
kafka) output plugin. - Add logfmt parser plugin.
- Add parser processor plugin.
- Add Icinga2 input plugin.
- Add name, time, path and string field options to JSON parser.
- Add forwarded records to sqlserver input.
- Add Kibana input plugin.
- Add csv parser plugin.
- Add read_buffer_size option to statsd input.
- Add azure_monitor output plugin.
- Add queue_durability parameter to amqp_consumer input.
- Add strings processor.
- Add OAuth 2.0 support to HTTP output plugin.
- Add Unix epoch timestamp support for JSON parser.
- Add options for basic auth to haproxy input.
- Add temp input plugin.
- Add Beanstalkd input plugin.
- Add means to specify server password for redis input.
- Add Splunk Metrics serializer.
- Add input plugin for VMware vSphere.
- Align metrics window to interval in cloudwatch input.
- Improve Azure Managed Instance support + more in sqlserver input.
- Allow alternate binaries for iptables input plugin.
- Add influxdb_v2 output plugin.
Bug fixes
- Fix divide by zero in logparser input.
- Fix instance and object name in performance counters with backslashes.
- Reset/flush saved contents from bad metric.
- Document all supported cli arguments.
- Log access denied opening a service at debug level in win_services.
- Add support for Kafka 2.0.
- Fix nagios parser does not support ranges in performance data.
- Fix nagios parser does not strip quotes from performance data.
- Fix null value crash in postgresql_extensible input.
- Remove the startup authentication check from the cloudwatch output.
- Support tailing files created after startup in tail input.
- Fix CSV format configuration loading.
v1.7.4
Bug fixes
- Continue sending write batch in UDP if a metric is unserializable in InfluxDB (
influxdb) output plugin. - Fix PowerDNS (
powerdns) input plugin tests. - Fix
burrow_groupoffset calculation for Burrow (burrow) input plugin. - Add
result_codevalue for errors running ping command. - Remove timeout deadline for UDP in Syslog (
syslog) input plugin. - Ensure channel is closed if an error occurs in CGroup (
cgroup) input plugin. - Fix sending of basic authentication credentials in HTTP
(output)output plugin. - Use the correct
GOARMvalue in the Linux armel package.
v1.7.3
Bug fixes
- Reduce required Docker API version.
- Keep leading whitespace for messages in syslog input.
- Skip bad entries on interrupt input.
- Preserve metric type when using filters in output plugins.
- Fix error message if URL is unparseable in InfluxDB output.
- Use explicit
zpoolproperties to fix parse error on FreeBSD 11.2. - Lock buffer when adding metrics.
v1.7.2
Bug fixes
- Use localhost as default server tag in Zookeeper (
zookeeper) input plugin. - Don’t set values when pattern doesn’t match in Regex (
regex) processor plugin. - Fix output format of Printer (
printer) processor plugin. - Fix metric can have duplicate field.
- Return error if NewRequest fails in HTTP (
http) output plugin. - Reset read deadline for Syslog (
syslog) input plugin. - Exclude cached memory on Docker (
docker) input plugin.
v1.7.1
Bug fixes
- Treat
sigtermas a clean shutdown signal. - Fix selection of tags under nested objects in the JSON parser.
- Fix Postfix (
postfix) input plugin handling of multilevel queues. - Fix Syslog (
sysloginput plugin timestamp parsing with single digit day of month. - Handle MySQL (
mysql) input plugin variations in theuser_statisticscollecting. - Fix Minmax (
minmax) and Basicstats (basicstats) aggregator plugins to useuint64. - Document Swap (
swap) input plugin. - Fix incorrect precision being applied to metric in HTTP Listener (
http_listener) input plugin.
v1.7
Release notes
The Cassandra (
cassandra) input plugin has been deprecated in favor of the Jolokia2 (jolokia2) input plugin which is much more configurable and more performant. There is an example configuration to help you get started.For plugins supporting TLS, you can now specify the certificate and keys using
tls_ca,tls_cert,tls_key. These options behave the same as the, now deprecated,sslforms.
New input plugins
- Aurora (
aurora) - Contributed by @influxdata - Burrow (
burrow) input plugin - Contributed by @arkady-emelyanov fibaro- Contributed by @dynekjti_openconfig_telemetry- Contributed by @ajhaimcrouter- Contributed by @cthayer- NVIDIA SMI (
nvidia_smi) - Contributed by @jackzampolin - Syslog (
syslog) - Contributed by @influxdata
New processor plugins
New output plugins
- HTTP (
http) - Contributed by @Dark0096 - Application Insights (
application_insights) output plugin: Contribute by @karolz-ms
Features
- Add
repl_oplog_window_secmetric to MongoDB (mongodb) input plugin. - Add per-host shard metrics in MongoDB (
mongodb) input plugin. - Skip files with leading
..in config directory. - Add TLS support to
socket_writerandsocket_listenerplugins. - Add
snmpinput option to strip non-fixed length index suffixes. - Add server version tag to the Docker (
docker) input plugin. - Add support for LeoFS 1.4 to
leofsinput. - Add parameter to force the interval of gather for Sysstat (
sysstat). - Support BusyBox ping in the Ping (
ping) input plugin. - Add Mcrouter (
mcrouter) input plugin. - Add TopK (
topk) processor plugin. - Add cursor metrics to MongoDB (
mongodb) input plugin. - Add tag/integer pair for result to Network Response (
net_response) input plugin. - Add Application Insights (
application_insights) output plugin. - Added several important Elasticsearch cluster health metrics.
- Add batch mode to
mqttoutput. - Add Aurora (
aurora) input plugin. - Add Regex (
regex) processor plugin. - Add support for Graphite 1.1 tags.
- Add timeout option to Sensors (
sensors)input plugin. - Add Burrow (
burrow) input plugin. - Add option to Unbound (
unbound) input plugin to use threads as tags. - Add support for TLS and username/password auth to Aerospike (
aerospike) input plugin. - Add special syslog timestamp parser to grok parser that uses current year.
- Add Syslog (
syslog) input plugin. - Print the enabled aggregator and processor plugins on startup.
- Add static
routing_keyoption toamqpoutput. - Add passive mode exchange declaration option to AMQP Consumer (
amqp_consumer) input plugin. - Add counter fields to PF (
pf) input plugin.
Bug fixes
- Write to working file outputs if any files are not writeable.
- Add all win_perf_counters fields for a series in a single metric.
- Report results of
dns_queryinstead of0mson timeout. - Add consul service tags to metric.
- Fix wildcards and multi instance processes in win_perf_counters.
- Fix crash on 32-bit Windows in
win_perf_counters. - Fix
win_perf_countersnot collecting at every interval. - Use same flags for all BSD family ping variants.
v1.6.4
Bug fixes
- Fix SNMP overriding of auto-configured table fields.
- Fix uint support in CloudWatch output.
- Fix documentation of
instance_nameoption in Varnish input. - Revert to previous Aerospike library version due to memory leak.
v1.6.3
Bug fixes
- Fix intermittent panic in Aerospike input plugin.
- Fix connection leak in the Jolokia agent (
Jolokia2_agent) input plugin. - Fix Jolokia agent (
Jolokia2_agent) input plugin timeout parsing. - Fix error parsing Dropwizard metrics.
- Fix Librato (
librato) output plugin support for unsigned integer (uint) and Boolean (bool). - Fix WaitGroup deadlock, if URL is incorrect, in Apache input plugin.
v1.6.2
Bug fixes
- Use same timestamp for fields in system input.
- Fix handling of uint64 in Datadog (
datadog) output. - Ignore UTF8 BOM in JSON parser.
- Fix case for slave metrics in MySQL (
mysql) input. - Fix uint support in CrateDB (
cratedb) output.
v1.6.1
Bug fixes
- Report mem input fields as gauges instead of counters.
- Fix Graphite outputs unsigned integers in wrong format.
- Report available fields if
utmpis unreadable. - Fix potential
no fieldserror writing to outputs. - Fix uptime reporting in system input when ran inside docker.
- Fix mem input
cannot allocate memoryerror on FreeBSD-based systems. - Fix duplicate tags when overriding an existing tag.
- Add server argument as first argument in the Unbound (
unbound) input plugin. - Fix handling of floats with multiple leading zeroes.
- Return errors in SSL/TLS configuration of MongoDB (
mongodb) input plugin.
v1.6
Release notes
The MySQL (
mysql) input plugin has been updated fix a number of type conversion issues. This may cause afield type errorwhen inserting into InfluxDB due the change of types.To address this, we have introduced a new
metric_versionoption to control enabling the new format. For in depth recommendations on upgrading, see Metric version in the MySQL input plugin documentation.You are encouraged to migrate to the new model when possible as the old version is deprecated and will be removed in a future version.
The PostgreSQL (
postgresql) input plugin now defaults to using a persistent connection to the database. In environments where TCP connections are terminated, themax_lifetimesetting should be set less than the collectionintervalto prevent errors.The SQL Server (
sqlserver) input plugin has a new query and data model that can be enabled by settingquery_version = 2. Migrate to the new model, if possible, since the old version is deprecated and will be removed in a future version.The OpenLDAP (
openldap) input plugin has a new option,reverse_metric_names = true, that reverses metric names to improve grouping. Enable this option, when possible, as the old ordering is deprecated.The new HTTP (
http) input plugin, when configured withdata_format = "json", can perform the same task as the, now deprecated, HTTP JSON (httpjson) input plugin.
New input plugins
- HTTP (
http) input plugin - Thanks to @grange74 - Ipset (
ipset) input plugin - Thanks to @sajoupa - NATS Server Monitoring (
nats) input plugin - Thanks to @mjs and @levex
New processor plugins
- Override (
override) processor plugin - Thanks to @KarstenSchnitter
New parsers
- Dropwizard input data format - Thanks to @atzoum
Features
- Add health status mapping from
stringtointin Elasticsearch (elasticsearch) input plugin. - Add control over which stats to gather in BasicStats (
basicstats) aggregator plugin. - Add
messages_delivered_getto RabbitMQ (rabbitmq) input plugin. - Add
wiredfield to mem input plugin. - Add support for gathering exchange metrics to the RabbitMQ (
rabbitmq) input plugin. - Add support for additional metrics on Linux in Zfs (
zfs) input plugin. - Add
available_entropyfield to Kernel (kernel) input plugin. - Add user privilege level setting to IPMI sensors.
- Use persistent connection to PostgreSQL database.
- Add support for dropwizard input data format.
- Add container health metrics to Docker (
docker) input plugin. - Add support for using globs in devices list of DiskIO (
diskio) input plugin. - Allow running as console application on Windows.
- Add listener counts and node running status to RabbitMQ (
rabbitmq) input plugin. - Add NATS Server Monitoring (
nats) input plugin. - Add ability to select which queues will be gathered in RabbitMQ (
rabbitmq) input plugin. - Add support for setting BSD source address to the ping (
ping) input plugin. - Add Ipset (
ipset) input plugin. - Add TLS and HTTP basic auth to Prometheus Client (
prometheus_client) output plugin. - Add new sqlserver output data model.
- Add native Go method for finding
pidto the Procstat (procstat) input plugin. - Add additional metrics and reverse metric names option to OpenLDAP (
openldap) input plugin. - Add TLS support to the Mesos (
mesos) input plugin. - Add HTTP (
http) input plugin. - Add keep alive support to the TCP mode of StatsD (
statsd) input plugin . - Support deadline in Ping (
ping) input plugin. - Add option to disable labels in the Prometheus Client (
prometheus) output plugin for string fields. - Add shard server stats to the MongoDB (
mongodb) input plugin. - Add server option to Unbound (
unbound) input plugin. - Convert boolean metric values to float in Datadog (
datadog) output plugin. - Add Solr 3 compatibility.
- Add sum stat to BasicStats (
basicstats) aggregator plugin. - Add ability to override proxy from environment in HTTP Response (
http_response) input plugin. - Add host to ping timeout log message.
- Add override processor plugin.
- Add
status_codeand result tags andresult_typefield to HTTP Response (http_response) input plugin. - Added config flag to skip collection of network protocol metrics.
- Add TLS support to Kapacitor (
kapacitor) input plugin. - Add HTTP basic auth support to the HTTP Listener (
http_listener) input plugin. - Tags in output InfluxDB Line Protocol are now sorted.
- InfluxDB Line Protocol parser now accepts DOS line endings.
- An option has been added to skip database creation in the InfluxDB (
influxdb) output plugin. - Add support for connecting to InfluxDB over a UNIX domain socket.
- Add optional unsigned integer support to the influx data format.
- Add TLS support to Zookeeper (
zookeeper) input plugin. - Add filters for container state to Docker (
docker) input plugin.
Bug fixes
- Fix various MySQL data type conversions.
- Fix metric buffer limit in internal plugin after reload.
- Fix panic in HTTP Response (
http_response) input plugin on invalid regex. - Fix socket_listener setting ReadBufferSize on TCP sockets.
- Add tag for target URL to
phpfpminput plugin. - Fix cannot unmarshal object error in Mesosphere DC/OS (
dcos) input plugin. - Fix InfluxDB output not able to reconnect when server address changes.
- Fix parsing of DOS line endings in the SMART (
smart) input plugin. - Fix precision truncation when no timestamp included.
- Fix SNMPv3 connection with Cisco ASA 5515 in SNMP (
snmp) input plugin.
v1.5.3
Bug fixes
- Set path to
/ifHOST_MOUNT_PREFIXmatches full path. - Remove
userinfofromurltag in Prometheus input plugin. - Fix Ping input plugin not reporting zero durations.
- Disable
keepalivein MQTT output plugin to prevent deadlock. - Fix collation difference in SQL Server (
sqlserver) input plugin. - Fix uptime metric in Passenger (
passenger) input plugin. - Add output of stderr in case of error to exec log message.
v1.5.2
Bug fixes
- Ignore empty lines in Graphite plaintext.
- Fix
index out of boundserror in Solr input plugin. - Reconnect before sending Graphite metrics if disconnected.
- Align aggregator period with internal ticker to avoid skipping metrics.
- Fix a potential deadlock when using aggregators.
- Limit wait time for writes in MQTT (
mqtt) output plugin. - Revert change in Graphite (
graphite) output plugin where dot(.) in field key was replaced by underscore (_). - Add
timeoutto Wavefront output write. - Exclude
master_replidfields from Redis input.
v1.5.1
Bug fixes
- Fix name error in jolokia2_agent sample config.
- Fix DC/OS input - login expiration time.
- Set Content-Type charset parameter in InfluxDB (
influxdb) output plugin and allow it to be overridden. - Document permissions setup for Postfix (
postfix) input plugin. - Fix
deliver_getfield in RabbitMQ (rabbitmq) input plugin. - Escape environment variables during config TOML parsing.
v1.5
New plugins
Input plugins
- Bond (bond) - Thanks to @ildarsv
- DC/OS (dcos) - Thanks to @influxdata
- Jolokia2 (jolokia2) - Thanks to @dylanmei
- NGINX Plus (nginx_plus) - Thanks to @mplonka & @poblahblahblah
- OpenSMTPD (opensmtpd) - Thanks to @aromeyer
- Particle.io Webhooks (particle) - Thanks to @davidgs
- PF (pf) - Thanks to @nferch
- Postfix (postfix) - Thanks to @phemmer
- SMART (smart) - Thanks to @rickard-von-essen
- Solr (solr) - Thanks to @ljagiello
- Teamspeak (teamspeak) - Thanks to @p4ddy1
- Unbound (unbound) - Thanks to @aromeyer
Aggregator plugins
- BasicStats (basicstats) - Thanks to @toni-moreno
Output plugins
- CrateDB (cratedb) - Thanks to @felixge
- Wavefront (wavefront) - Thanks to @puckpuck
Release notes
In the Kinesis (
kinesis) output plugin, use of thepartition_keyanduse_random_partitionkeyoptions has been deprecated in favor of thepartitionsubtable. This allows for more flexible methods to set the partition key such as by metric name or by tag.With the release of the new improved Jolokia2 (
jolokia2) input plugin, the legacyjolokiaplugin is deprecated and will be removed in a future release. Users of this plugin are encouraged to update to the newjolokia2plugin.
Features
- Add support for sharding based on metric name.
- Add Kafka output plugin
topic_suffixoption. - Include mount mode option in disk metrics.
- TLS and MTLS enhancements to HTTP Listener input plugin.
- Add polling method to logparser and tail inputs.
- Add timeout option for Kubernetes (
kubernetes) input plugin. - Add support for timing sums in statsd input plugin.
- Add resource limit monitoring to Procstat (
procstat) input plugin. - Add support for k8s service DNS discovery to Prometheus Client (
prometheus) input plugin. - Add configurable metrics endpoint to (
prometheus) output plugin. - Add support for NSQLookupd to
nsq_consumer. - Add configurable separator for metrics and fields in OpenTSDB (
opentsdb) output plugin. - Add support for the rollbar occurrence webhook event.
- Add extra wired tiger cache metrics to
mongodbinput. - Collect Docker Swarm service metrics in Docker (
docker) input plugin. - Add cluster health level configuration to Elasticsearch (
elasticsearch) input plugin. - Add ability to limit node stats in Elasticsearch (
elasticsearch) input plugin. - Add UDP IPv6 support to StatsD (
statsd) input plugin. - Use labels in Prometheus Client (
prometheus) output plugin for string fields. - Add support for decimal timestamps to ts-epoch modifier.
- Add histogram and summary types and use in Prometheus (
prometheus) plugins. - Gather concurrently from snmp agents.
- Perform DNS lookup before ping and report result.
- Add instance name option to Varnish (
varnish) plugin. - Add support for SSL settings to ElasticSearch (
elasticsearch) output plugin. - Add modification_time field to Filestat (
filestat) input plugin. - Add systemd unit pid and cgroup matching to Procstat (
procstat) . - Use MAX() instead of SUM() for latency measurements in SQL Server (
sqlserver) input plugin. - Add index by week number to Elasticsearch (
elasticsearch) output plugin. - Add support for tags in the index name in Elasticsearch (
elasticsearch) output plugin. - Add slab to mem plugin.
- Add support for glob patterns in net input plugin.
- Add option to AMQP (
amqp) output plugin to publish persistent messages. - Support I (idle) process state on procfs+Linux.
Bug fixes
- Fix webhooks input address in use during reload.
- Unlock Statsd when stopping to prevent deadlock.
- Fix cloudwatch output requires unneeded permissions.
- Fix prometheus passthrough for existing value types.
- Always ignore autofs filesystems in disk input.
- Fail metrics parsing on unescaped quotes.
- Whitelist allowed char classes for graphite output.
- Use hexadecimal ids and lowercase names in zipkin input.
- Fix snmp-tools output parsing with Windows EOLs.
- Add shadow-utils dependency to rpm package.
- Use deb-systemd-invoke to restart service.
- Fix kafka_consumer outside range of offsets error.
- Fix separation of multiple prometheus_client outputs.
- Don’t add system input uptime_format as a counter.
v1.4.5
Bug fixes
- Fix global variable collection when using interval_slow option in MySQL input.
- Fix error getting net connections info in netstat input.
- Fix HOST_MOUNT_PREFIX in Docker with disk input.
v1.4.4
Bug fixes
- Use schema specified in mqtt_consumer input.
- Redact Datadog API key in log output.
- Fix error getting PIDs in netstat input.
- Support HOST_VAR envvar to locate /var in system input.
- Use current time if Docker container read time is zero value.
v1.4.3
Bug fixes
- Fix container name filters in Docker input.
- Fix snmpwalk address format in leofs input.
- Fix case sensitivity issue in SQL Server query.
- Fix CPU input plugin stuck after suspend on Linux.
- Fix MongoDB input panic when restarting MongoDB.
- Preserve URL path prefix in InfluxDB output.
- Fix TELEGRAF_OPTS expansion in systemd service unit.
- Remove warning when JSON contains null value.
- Fix ACL token usage in consul input plugin.
- Fix unquoting error with Tomcat 6.
- Fix syscall panic in diskio on some Linux systems.
v1.4.2
Bug fixes
- Fix error if int larger than 32-bit in
/proc/vmstat. - Fix parsing of JSON with a UTF8 BOM in
httpjson. - Allow JSON data format to contain zero metrics.
- Fix format of connection_timeout in
mqtt_consumer. - Fix case sensitivity error in SQL Server input.
- Add support for proxy environment variables to
http_response. - Add support for standard proxy env vars in outputs.
- Fix panic in CPU input if number of CPUs changes.
- Use chunked transfer encoding in InfluxDB output.
v1.4.1
Bug fixes
- Fix MQTT input exits if Broker is not available on startup.
- Fix optional field value conversions in fluentd input.
- Whitelist allowed char classes for opentsdb output.
- Fix counter and gauge metric types.
- Fix skipped line with empty target in iptables.
- Fix duplicate keys in perf counters sqlserver query.
- Fix panic in statsd p100 calculation.
- Fix arm64 packages contain 32-bit executable.
v1.4.0
Release Notes
- The
kafka_consumerinput has been updated to support Kafka 0.9 and above style consumer offset handling. The previous version of this plugin supporting Kafka 0.8 and below is available as thekafka_consumer_legacyplugin. - In the
aerospikeinput thenode_namefield has been changed to be a tag for both theaerospike_nodeandaerospike_namespacemeasurements. - The default prometheus_client port has been changed to 9273.
New plugins
- fail2ban
- fluentd
- histogram
- minecraft
- openldap
- salesforce
- tomcat
- win_services
- zipkin
Features
- Add Kafka 0.9+ consumer support.
- Add support for self-signed certs to InfluxDB input plugin.
- Add TCP listener for statsd input.
- Add Docker container environment variables as tags. Only whitelisted.
- Add timeout option to IPMI sensor plugin.
- Add support for an optional SSL/TLS configuration to Nginx input plugin.
- Add timezone support for logparser timestamps.
- Add result_type field for http_response input.
- Add include/exclude filters for docker containers.
- Add secure connection support to graphite output.
- Add min/max response time on linux/darwin to ping.
- Add HTTP Proxy support to influxdb output.
- Add standard SSL options to mysql input.
- Add input plugin for fail2ban.
- Support HOST_PROC in processes and linux_sysctl_fs inputs.
- Add Minecraft input plugin.
- Add support for RethinkDB 1.0 handshake protocol.
- Add optional usage_active and time_active CPU metrics.
- Change default prometheus_client port.
- Add fluentd input plugin.
- Add result_type field to net_response input plugin.
- Add read timeout to socket_listener.
- Add input plugin for OpenLDAP.
- Add network option to dns_query.
- Add redis_version field to redis input.
- Add tls options to docker input.
- Add histogram aggregator plugin.
- Add Zipkin input plugin.
- Add Windows Services input plugin.
- Add path tag to logparser containing path of logfile.
- Add Salesforce input plugin.
- Add option to run varnish under sudo.
- Add weighted_io_time to diskio input.
- Add gzip content-encoding support to influxdb output.
- Allow using system plugin in Windows.
- Add Tomcat input plugin.
- HTTP headers can be added to InfluxDB output.
Bug fixes
- Improve logging of errors in Cassandra input.
- [enh] set db_version at 0 if query version fails.
- Fixed SQL Server input to work with case sensitive server collation.
- Systemd does not see all shutdowns as failures.
- Reuse transports in input plugins.
- Inputs processes fails with “no such process”.
- Fix multiple plugin loading in win_perf_counters.
- MySQL input: log and continue on field parse error.
- Fix timeout option in Windows ping input sample configuration.
- Fix Kinesis output plugin in govcloud.
- Fix Aerospike input adds all nodes to a single series.
- Improve Prometheus Client output documentation.
- Display error message if prometheus output fails to listen.
- Fix elasticsearch output content type detection warning.
- Prevent possible deadlock when using aggregators.
- Fix combined tagdrop/tagpass filtering.
- Fix filtering when both pass and drop match an item.
- Only report cpu usage for online cpus in docker input.
- Start first aggregator period at startup time.
- Fix panic in logparser if file cannot be opened.
- Default to localhost if zookeeper has no servers set.
- Fix docker memory and cpu reporting in Windows.
- Allow iptable entries with trailing text.
- Sanitize password from couchbase metric.
- Converge to typed value in prometheus output.
- Skip compilation of logparser and tail on solaris.
- Discard logging from tail library.
- Remove log message on ping timeout.
- Don’t retry points beyond retention policy.
- Don’t start Telegraf on install in Amazon Linux.
- Enable hddtemp input on all platforms.
- Escape backslash within string fields.
- Fix parsing of SHM remotes in ntpq input
- Don’t fail parsing zpool stats if pool health is UNAVAIL on FreeBSD.
- Fix NSQ input plugin when used with version 1.0.0-compat.
- Added CloudWatch metric constraint validation.
- Skip non-numerical values in graphite format.
- Fix panic when handling string fields with escapes.
v1.3.5
Bug fixes
- Fix prometheus output cannot be reloaded.
- Fix filestat reporting exists when cannot list directory.
- Fix ntpq parse issue when using dns_lookup.
- Fix panic when agent.interval = “0s”.
v1.3.4
Bug fixes
- Fix handling of escape characters within fields.
- Fix chrony plugin does not track system time offset.
- Do not allow metrics with trailing slashes.
- Prevent Write from being called concurrently.
v1.3.3
Bug fixes
- Allow dos line endings in tail and logparser.
- Remove label value sanitization in prometheus output.
- Fix bug parsing default timestamps with modified precision.
- Fix panic in elasticsearch input if cannot determine master.
v1.3.2
Bug fixes
- Fix InfluxDB UDP metric splitting.
- Fix mongodb/leofs urls without scheme.
- Fix inconsistent label dimensions in prometheus output.
v1.3.1
Bug fixes
- Fixed sqlserver input to work with case-sensitive server collation.
- Reuse transports in input plugins.
- Process input fails with
no such process. - Fix InfluxDB output database quoting.
- Fix net input on older Linux kernels.
- Fix panic in mongo input.
- Fix length calculation of split metric buffer.
v1.3.0
Changes to the Windows ping plugin
Users of the windows ping plugin will need to drop or migrate their measurements to continue using the plugin.
The reason for this is that the windows plugin was outputting a different type than the linux plugin.
This made it impossible to use the ping plugin for both windows and linux machines.
Changes to the Ceph plugin
For the Ceph plugin, the ceph_pgmap_state metric content has been modified to use a unique field count, with each state expressed as a state tag.
Telegraf < 1.3:
# field_name value
active+clean 123
active+clean+scrubbing 3Telegraf >= 1.3:
# field_name value tag
count 123 state=active+clean
count 3 state=active+clean+scrubbingRewritten Riemann plugin
The Riemann output plugin has been rewritten
and the previous riemann plugin is incompatible with the new one.
The reasons for this are outlined in issue #1878.
The previous Riemann output will still be available using outputs.riemann_legacy if needed, but that will eventually be deprecated.
It is highly recommended that all users migrate to the new Riemann output plugin.
New Socket Listener and Socket Writer plugins
Generic Socket Listener and Socket Writer plugins have been implemented for receiving and sending UDP, TCP, unix, & unix-datagram data. These plugins will replace udp_listener and tcp_listener, which are still available but will be deprecated eventually.
Features
- Add SASL options for the Kafka output plugin.
- Add SSL configuration for HAproxy input plugin.
- Add the Interrupts input plugin.
- Add generic Socket Listener input plugin and socket writer output plugin.
- Extend the HTTP Response input plugin to support searching for a substring in response. Return 1 if found, else 0.
- Add userstats to the MySQL input plugin.
- Add more InnoDB metric to the MySQL input plugin.
- For the Ceph input plugin,
ceph_pgmap_statemetric now uses a single fieldcount, with PG state published asstatetag. - Use own client for improved through-put and less allocations in the InfluxDB output plugin.
- Keep -config-directory when running as Windows service.
- Rewrite the Riemann output plugin.
- Add support for name templates and udev tags to the DiskIO input plugin.
- Add integer metrics for Consul check health state.
- Add lock option to the IPtables input plugin.
- Support ipmi_sensor input plugin querying local ipmi sensors.
- Increment gather_errors for all errors emitted by inputs.
- Use the official docker SDK.
- Add AMQP consumer input plugin.
- Add pprof tool.
- Support DEAD(X) state in the system input plugin.
- Add support for MongoDB client certificates.
- Support adding SNMP table indexes as tags.
- Add Elasticsearch 5.x output plugin.
- Add json timestamp units configurability.
- Add support for Linux sysctl-fs metrics.
- Support to include/exclude docker container labels as tags.
- Add DMCache input plugin.
- Add support for precision in HTTP Listener input plugin.
- Add
message_len_maxoption to the Kafka consumer input plugin. - Add collectd parser.
- Simplify plugin testing without outputs.
- Check signature in the GitHub webhook input plugin.
- Add papertrail support to webhooks.
- Change jolokia input plugin to use bulk requests.
- Add DiskIO input plugin for Darwin.
- Add use_random_partitionkey option to the Kinesis output plugin.
- Add tcp keep-alive to Socket Listener input plugin and Socket Writer output plugin.
- Add Kapacitor input plugin.
- Use Go (golang) 1.8.1.
- Add documentation for the RabbitMQ input plugin.
- Make the Logparser input plugin check for newly-created files.
Bug fixes
- Allow
@symbol in password for the ipmi_sensor plugin. - Fix arithmetic overflow error converting numeric to data type int in SQL Server input.
- Flush jitter can inhibit metric collection.
- Add missing fields for HAproxy input.
- Handle null startTime for stopped pods for the Kubernetes input.
- Fix cpu input panic when /proc/stat is empty.
- Fix telegraf swallowing panics in –test mode.
- Create pidfile with 644 permissions & defer file deletion.
- Fix install/remove of telegraf on non-systemd Debian/Ubuntu systems.
- Fix for reloading telegraf freezes prometheus output.
- Fix when empty tag value causes error on InfluxDB output.
- buffer_size field value is negative number from “internal” plugin.
- Missing error handling in the MySQL plugin leads to segmentation violation.
- Fix type conflict in windows ping plugin.
- logparser: regexp with lookahead.
- Telegraf can crash in LoadDirectory on 0600 files.
- Iptables input: document better that rules without a comment are ignored.
- Fix win_perf_counters capping values at 100.
- Exporting Ipmi.Path to be set by config.
- Remove warning if parse empty content.
- Update default value for Cloudwatch rate limit.
- create /etc/telegraf/telegraf.d directory in tarball.
- Return error on unsupported serializer data format.
- Fix Windows Performance Counters multi instance identifier.
- Add write timeout to Riemann output.
- fix timestamp parsing on prometheus plugin.
- Fix deadlock when output cannot write.
- Fix connection leak in postgresql.
- Set default measurement name for snmp input.
- Improve performance of diskio with many disks.
- The internal input plugin uses the wrong units for
heap_objects. - Fix ipmi_sensor config is shared between all plugin instances.
- Network statistics not collected when system has alias interfaces.
- Sysstat plugin needs LANG=C or similar locale.
- File output closes standard streams on reload.
- AMQP output disconnect blocks all outputs.
- Improve documentation for redis input plugin.
v1.2.1
Bug fixes
- Fix segfault on nil metrics with InfluxDB output.
- Fix negative number handling.
Features
- Go (golang) version update 1.7.4 -> 1.7.5
v1.2
Release Notes
The StatsD plugin will now default all “delete_” config options to “true”. This will change te default behavior for users who were not specifying these parameters in their config file.
The StatsD plugin will also no longer save it’s state on a service reload. Essentially we have reverted PR #887. The reason for this is that saving the state in a global variable is not thread-safe (see #1975 & #2102), and this creates issues if users want to define multiple instances of the statsd plugin. Saving state on reload may be considered in the future, but this would need to be implemented at a higher level and applied to all plugins, not just statsd.
Features
- Fix improper calculation of CPU percentages
- Use RFC3339 timestamps in log output.
- Non-default HTTP timeouts for RabbitMQ plugin.
- “Discard” output plugin added, primarily for testing purposes.
- The JSON parser can now parse an array of objects using the same configuration.
- Option to use device name rather than path for reporting disk stats.
- Telegraf “internal” plugin for collecting stats on itself.
- Update GoLang version to 1.7.4.
- Support a metric.Split function.
- Elasticsearch “shield” (basic auth) support doc.
- Fix over-querying of cloudwatch metrics
- OpenTSDB basic auth support.
- RabbitMQ Connection metrics.
- HAProxy session limit metric.
- Accept strings for StatsD sets.
- Change StatsD default “reset” behavior.
- Enable setting ClientID in MQTT output.
- MongoDB input plugin: Improve state data.
- Ping input: add standard deviation field.
- Add GC pause metric to InfluxDB input plugin.
- Added response_timeout property to prometheus input plugin.
- Pulling github.com/lxn/win’s pdh wrapper into Telegraf.
- Support negative statsd counters.
- Elasticsearch cluster stats support.
- Change Amazon Kinesis output plugin to use the built-in serializer plugins.
- Hide username/password from elasticsearch error log messages.
- Configurable HTTP timeouts in Jolokia plugin.
- Allow changing jolokia attribute delimiter.
Bug fixes
- Fix the Value data format not trimming null characters from input.
- Fix windows
.netplugin. - Cache & expire metrics for delivery to prometheus
- Fix potential panic in aggregator plugin metric maker.
- Add optional ability to define PID as a tag.
- Fix win_perf_counters not gathering non-English counters.
- Fix panic when file stat info cannot be collected due to permissions or other issue(s).
- Graylog output should set short_message field.
- Hddtemp always put the value in the field temperature.
- Properly collect nested jolokia struct data.
- Fix puppetagent inputs plugin to support string for config variable.
- Fix docker input plugin tags when registry has port.
- Fix tail input when reading from a pipe.
- MongoDB plugin always shows 0 replication lag.
- Consul plugin: add check_id as a tag in metrics to avoid overwrites.
- Partial fix: logparser CLF pattern with IPv6 addresses.
- Fix thread-safety when using multiple instances of the statsd input plugin.
- Docker input: interface conversion panic fix.
- SNMP: ensure proper context is present on error messages.
- OpenTSDB: add tcp:// prefix if no scheme provided.
- Influx parser: parse line-protocol without newlines.
- InfluxDB output: fix field type conflict blocking output buffer.
v1.1.2
Bug fixes
- Make snmptranslate not required when using numeric OID.
- Add a global snmp translation cache.
v1.1.1
Bug fixes
- Fix issue parsing toml durations with single quotes.
v1.1.0
Release Notes
Telegraf now supports two new types of plugins: processors & aggregators.
On systemd Telegraf will no longer redirect it’s stdout to /var/log/telegraf/telegraf.log. On most systems, the logs will be directed to the systemd journal and can be accessed by
journalctl -u telegraf.service. Consult the systemd journal documentation for configuring journald. There is also alogfileconfig option available in 1.1, which will allow users to easily configure telegraf to continue sending logs to /var/log/telegraf/telegraf.log.
Features
- Processor & Aggregator plugin support.
- Adding the tags in the graylog output plugin.
- Telegraf systemd service, log to journal.
- Allow numeric and non-string values for tag_keys.
- Adding Gauge and Counter metric types.
- Remove carraige returns from exec plugin output on Windows
- Elasticsearch input: configurable timeout.
- Massage metric names in Instrumental output plugin
- Apache Mesos improvements.
- Add Ceph Cluster Performance Statistics
- Ability to configure response_timeout in httpjson input.
- Add additional redis metrics.
- Added capability to send metrics through HTTP API for OpenTSDB.
- iptables input plugin.
- Add filestack webhook plugin.
- Add server hostname for each Docker measurements.
- Add NATS output plugin.
- HTTP service listener input plugin.
- Add database blacklist option for Postgresql
- Add Docker container state metrics to Docker input plugin output
- Add support to SNMP for IP & MAC address conversion.
- Add support to SNMP for OID index suffixes.
- Change default arguments for SNMP plugin.
- Apache Mesos input plugin: very high-cardinality mesos-task metrics removed.
- Logging overhaul to centralize the logger & log levels, & provide a logfile config option.
- HAProxy plugin socket glob matching.
- Add Kubernetes plugin for retrieving pod metrics.
Bug fixes
- Fix NATS plug-ins reconnection logic.
- Set required default values in udp_listener & tcp_listener.
- Fix toml unmarshal panic in Duration objects.
- Fix handling of non-string values for JSON keys listed in tag_keys.
- Fix mongodb input panic on version 2.2.
- Fix statsd scientific notation parsing.
- Sensors plugin strconv.ParseFloat: parsing “”: invalid syntax.
- Fix prometheus_client reload panic.
- Fix Apache Kafka consumer panic when nil error is returned down errs channel.
- Speed up statsd parsing.
- Fix powerdns integer parse error handling.
- Fix varnish plugin defaults not being used.
- Fix Windows glob paths.
- Fix issue loading config directory on Windows.
- Windows remote management interactive service fix.
- SQLServer, fix issue when case sensitive collation is activated.
- Fix huge allocations in http_listener when dealing with huge payloads.
- Fix translating SNMP fields not in MIB.
- Fix SNMP emitting empty fields.
- SQL Server waitstats truncation bug.
- Fix logparser common log format: numbers in ident.
- Fix JSON Serialization in OpenTSDB output.
- Fix Graphite template ordering, use most specific.
- Fix snmp table field initialization for non-automatic table.
- cgroups path being parsed as metric.
- Fix phpfpm fcgi client panic when URL does not exist.
- Fix config file parse error logging.
- Delete nil fields in the metric maker.
- Fix MySQL special characters in DSN parsing.
- Ping input odd timeout behavior.
- Switch to github.com/kballard/go-shellquote.
v1.0.1
Bug fixes
- Prometheus output: Fix bug with multi-batch writes.
- Fix unmarshal of influxdb metrics with null tags.
- Add configurable timeout to influxdb input plugin.
- Fix statsd no default value panic.
v1.0
Release Notes
Breaking Change The SNMP plugin is being deprecated in it’s current form.
There is a new SNMP plugin
which fixes many of the issues and confusions
of its predecessor. For users wanting to continue to use the deprecated SNMP
plugin, you will need to change your config file from [[inputs.snmp]] to
[[inputs.snmp_legacy]]. The configuration of the new SNMP plugin is not
backwards-compatible.
Breaking Change: Aerospike main server node measurements have been renamed aerospike_node. Aerospike namespace measurements have been renamed to aerospike_namespace. They will also now be tagged with the node_name that they correspond to. This has been done to differentiate measurements that pertain to node vs. namespace statistics.
Breaking Change: users of github_webhooks must change to the new
[[inputs.webhooks]] plugin.
This means that the default github_webhooks config:
# A Github Webhook Event collector
[[inputs.github_webhooks]]
## Address and port to host Webhook listener on
service_address = ":1618"should now look like:
# A Webhooks Event collector
[[inputs.webhooks]]
## Address and port to host Webhook listener on
service_address = ":1618"
[inputs.webhooks.github]
path = "/"Telegraf now supports being installed as an official windows service, which can be installed via
> C:\Program Files\Telegraf\telegraf.exe --service installflush_jitterbehavior has been changed. The random jitter will now be evaluated at every flush interval, rather than once at startup. This makes it consistent with the behavior ofcollection_jitter.PostgreSQL plugins now handle oid and name typed columns seamlessly, previously they were ignored/skipped.
Features
- postgresql_extensible now handles name and oid types correctly.
- Separate container_version from container_image tag.
- Support setting per-device and total metrics for Docker network and blockio.
- MongoDB input plugin: adding per DB stats from db.stats()
- Add tls support for certs to RabbitMQ input plugin.
- Webhooks input plugin.
- Rollbar webhook plugin.
- Mandrill webhook plugin.
- docker-machine/boot2docker no longer required for unit tests.
- cgroup input plugin.
- Add input plugin for consuming metrics from NSQD.
- Add ability to read Redis from a socket.
- Breaking Change - Redis
roletag renamed toreplication_roleto avoid global_tags override. - Fetching Galera status metrics in MySQL
- Aerospike plugin refactored to use official client library.
- Add measurement name arg to logparser plugin.
- logparser: change resp_code from a field to a tag.
- Implement support for fetching hddtemp data
- statsd: do not log every dropped metric.
- Add precision rounding to all metrics on collection.
- Add support for Tengine.
- Logparser input plugin for parsing grok-style log patterns.
- ElasticSearch: now supports connecting to ElasticSearch via SSL.
- Add graylog input plugin.
- Consul input plugin.
- conntrack input plugin.
- vmstat input plugin.
- Standardized AWS credentials evaluation & wildcard CloudWatch dimensions.
- Add SSL config options to http_response plugin.
- Graphite parser: add ability to specify multiple tag keys, for consistency with influxdb parser.
- Make DNS lookups for chrony configurable.
- Allow wildcard filtering of varnish stats.
- Support for glob patterns in exec plugin commands configuration.
- RabbitMQ input: made url parameter optional by using DefaultURL (
http://localhost:15672) if not specified. - Limit AWS GetMetricStatistics requests to 10 per second.
- RabbitMQ/Apache/InfluxDB inputs: made url(s) parameter optional by using reasonable input defaults if not specified.
- Refactor of flush_jitter argument.
- Add inactive & active memory to mem plugin.
- Official Windows service.
- Forking sensors command to remove C package dependency.
- Add a new SNMP plugin.
Bug fixes
- Fix
make windowsbuild target. - Fix error race conditions and partial failures.
- nstat: fix inaccurate config panic.
- jolokia: fix handling multiple multi-dimensional attributes.
- Fix prometheus character sanitizing. Sanitize more win_perf_counters characters.
- Add diskio io_time to FreeBSD & report timing metrics as ms (as linux does).
- Fix covering Amazon Linux for post remove flow.
- procstat missing fields: read/write bytes & count.
- diskio input plugin: set ‘skip_serial_number = true’ by default to avoid high cardinality.
- nil metrics panic fix.
- Fix datarace in apache input plugin.
- Add
read_repairsstatistics to riak plugin. - Fix memory/connection leak in Prometheus input plugin.
- Trim BOM from config file for Windows support.
- Prometheus client output panic on service reload.
- Prometheus parser, protobuf format header fix.
- Prometheus output, metric refresh and caching fixes.
- Panic fix for multiple graphite outputs under very high load.
- Instrumental output has better reconnect behavior.
- Remove PID from procstat plugin to fix cardinality issues.
- Cassandra input: version 2.x “column family” fix.
- Shared WaitGroup in Exec plugin.
- logparser: honor modifiers in “pattern” config.
- logparser: error and exit on file permissions/missing errors.
- Make the user able to specify full path for HAproxy stats.
- Fix Redis url, an extra “tcp://” was added.
- Fix exec plugin panic when using single binary.
- Fixed incorrect prometheus metrics source selection.
- Set default Zookeeper chroot to empty string.
- Fix overall ping timeout to be calculated based on per-ping timeout.
- Change “default” retention policy to “”.
- Graphite output mangling ‘%’ character.
- Prometheus input plugin now supports x509 certs authentication.
- Fix systemd service.
- Fix influxdb n_shards counter.
- Fix potential kernel plugin integer parse error.
- Fix potential influxdb input type assertion panic.
- Still send processes metrics if a process exited during metric collection.
- disk plugin panic when usage grab fails.
- Removed leaked “database” tag on redis metrics.
- Processes plugin: fix potential error with /proc/net/stat directory.
- Fix rare RHEL 5.2 panic in gopsutil diskio gathering function.
- Remove IF NOT EXISTS from influxdb output database creation.
- Fix quoting with text values in postgresql_extensible plugin.
- Fix win_perf_counter “index out of range” panic.
- Fix ntpq panic when field is missing.
- Sanitize graphite output field names.
- Fix MySQL plugin not sending 0 value fields.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Telegraf and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.