跳到主内容
@wquguru
精选88Telegraf(GitHub Releases)语言与库

Telegraf v1.40.0:移除多个废弃插件,cisco_telemetry_mdt 指标变更

v1.40.0

原文
发到 X
推荐理由

涉及多个核心输入输出插件的强制移除与配置项清理,以及 cisco_telemetry_mdt 指标结构的实质性变更。使用 Telegraf 进行监控数据收集的读者必须升级并检查相关配置与查询,否则会导致采集失败或数据异常。

v1.40.0 [2026-09-07]

v1.40.0 [2026-09-07]

Important Changes

重要变更

  • PR #19440 fixes an issue
  • in inputs.cisco_telemetry_mdt by now respecting the configured aliases. This
  • might change the metric name for microburst and RIB data if set aliases.
  • Please check your metric names and remove aliases if necessary.
  • PR #19451 fixes an issue
  • in inputs.cisco_telemetry_mdt by avoiding spurious metrics for RIB data.
  • Please check your metrics and queries for the mentioned data.
  • PR #19456 fixes the row
  • numbering for table data in inputs.cisco_telemetry_mdt.
  • Please check your metrics and queries for the mentioned data.
  • PR #19463 fixes an issue
  • in inputs.cisco_telemetry_mdt by avoiding spurious tags leaking into parent
  • metrics. Please check your metrics and queries for the mentioned data.
  • PR #19624 fixes the unit
  • of power_on_hours in inputs.smart for drives reporting the attribute as
  • a duration (e.g. 182h+39m+24.879s). The value was previously reported in
  • seconds and is now reported in hours. Please check your queries and
  • dashboards for the mentioned field.
  • PR #19440 修复了一个问题
  • 在 inputs.cisco_telemetry_mdt 中,现在会尊重配置的别名。这
  • 如果设置了别名,可能会改变微突发(microburst)和 RIB 数据的指标名称。
  • 请检查您的指标名称,并在必要时移除别名。
  • PR #19451 修复了一个问题
  • 在 inputs.cisco_telemetry_mdt 中,通过避免为 RIB 数据生成虚假指标来解决。
  • 请检查您提到的数据的指标和查询。
  • PR #19456 修复了行
  • inputs.cisco_telemetry_mdt 中表格数据的行号编号问题。
  • 请检查您提到的数据的指标和查询。
  • PR #19463 修复了一个问题
  • 在 inputs.cisco_telemetry_mdt 中,通过避免虚假标签泄漏到父
  • 指标中来解决。请检查您提到的数据的指标和查询。
  • PR #19624 修复了 unit
  • inputs.smart 中 power_on_hours 的单位,针对将属性报告为
  • 持续时间(例如 182h+39m+24.879s)的驱动器。该值之前以秒为单位报告,现在以小时为单位报告。请检查您提到的字段的查询和
  • 仪表板。
  • dashboards for the mentioned field.

Breaking Changes

破坏性变更

  • #19125 inputs.aerospike Remove deprecated plugin
  • #19451 inputs.cisco_telemetry_mdt Avoid spurious metrics by collecting tags first
  • #19456 inputs.cisco_telemetry_mdt Emit correct row numbers
  • #19463 inputs.cisco_telemetry_mdt Prevent tags leaking to parent structures
  • #19440 inputs.cisco_telemetry_mdt Respect aliases for RIB and microburst metric names
  • #19131 inputs.kafka_consumer Remove deprecated connection_strategy option
  • #19130 inputs.openstack Remove deprecated server_diagnotics option
  • #19118 inputs.procstat Remove deprecated options
  • #19124 inputs.sflow Remove deprecated plugin
  • #19132 inputs.tail Remove deprecated from_beginning option
  • #19123 outputs.amon Remove deprecated plugin
  • #19125 inputs.aerospike 移除已弃用的插件
  • #19451 inputs.cisco_telemetry_mdt 通过先收集标签来避免虚假指标
  • #19456 inputs.cisco_telemetry_mdt 发出正确的行号
  • #19463 inputs.cisco_telemetry_mdt 防止标签泄漏到父级结构
  • #19440 inputs.cisco_telemetry_mdt 尊重 RIB 和微突发度量名称的别名
  • #19131 inputs.kafka_consumer 移除已弃用的 connection_strategy 选项
  • #19130 inputs.openstack 移除已弃用的 server_diagnotics 选项
  • #19118 inputs.procstat 移除已弃用的选项
  • #19124 inputs.sflow 移除已弃用的插件
  • #19132 inputs.tail 移除已弃用的 from_beginning 选项
  • #19123 outputs.amon 移除已弃用的插件

New Plugins

新插件

  • #19551 inputs.fritzbox_smarthome Add plugin
  • #19444 outputs.zerobus Add plugin
  • #19551 inputs.fritzbox_smarthome 添加插件
  • #19444 outputs.zerobus 添加插件

Features

功能

  • #19331 agent Add command for removing secrets from a store
  • #19092 config Add setting to skip processors before aggregators
  • #19326 inputs.elasticsearch_query Add ES v7 support
  • #19368 inputs.elasticsearch_query Add ES v8 support
  • #19392 inputs.elasticsearch_query Add ES v9 support
  • #19135 inputs.filecount Adding timeout option
  • #19377 inputs.internet_speed Allow binding to local address
  • #19320 inputs.kapacitor Allow to add url tag for nested metrics
  • #19455 inputs.nvidia_smi Add clock event fields for schema v11, v12, and v13
  • #19407 inputs.nvidia_smi Add thermal, power and PCIe fields for schema v12
  • #19406 inputs.nvidia_smi Add throttle counter, thermal, power and PCIe fields for schema v13
  • #19005 inputs.opcua_listener Add workaround to split large subscriptions
  • #19116 inputs.ping Add interface argument support for Windows
  • #19080 inputs.ping Add support for unprivileged SOCK_DGRAM sockets
  • #19570 inputs.prometheus Allow configuring the pod name tag name
  • #19046 inputs.proxmox Add disk and network I/O metrics
  • #19617 inputs.ras Add ECC error counter
  • #18679 inputs.smartctl Add new metric version avoiding attribute overriding device name
  • #19157 inputs.webhooks.github Add run_id field to workflow events
  • #19321 inputs.win_eventlog Mark subscription failures as retriable startup errors
  • #19098 migrations Add migration for inputs.zookeeper TLS option
  • #19097 migrations Add migration for outputs.kafka TLS options
  • #19447 outputs.kafka Add configurable produce request timeouts
  • #19581 outputs.parquet Introduce partial write errors
  • #19040 outputs.socket_writer Implement startup error behavior handling
  • #19044 outputs.sql Remove need for init_sql on mysql connections
  • #19437 packaging Extract govulncheck info from release binaries
  • #19493 packaging Use signed binary in MacOS tar archives
  • #19365 parsers.grok Allow parsing messages longer than 64KiB
  • #19329 secretstores.jose Add support for removing secrets
  • #19328 secretstores.os Add support for removing secrets
  • #19330 secretstores.vault Add support for removing secrets
  • #19622 secretstores.vault Allow using namespace
  • #19331 agent 添加从存储中删除密钥的命令
  • #19092 config 添加在聚合器之前跳过处理器的设置
  • #19326 inputs.elasticsearch_query 添加 ES v7 支持
  • #19368 inputs.elasticsearch_query 添加 ES v8 支持
  • #19392 inputs.elasticsearch_query 添加 ES v9 支持
  • #19135 inputs.filecount 添加超时选项
  • #19377 inputs.internet_speed 允许绑定到本地地址
  • #19320 inputs.kapacitor 允许为嵌套指标添加 url 标签
  • #19455 inputs.nvidia_smi 为 schema v11、v12 和 v13 添加时钟事件字段
  • #19407 inputs.nvidia_smi 为 schema v12 添加热管理、电源和 PCIe 字段
  • #19406 inputs.nvidia_smi 为 schema v13 添加节流计数器、热管理、电源和 PCIe 字段
  • #19005 inputs.opcua_listener 添加拆分大型订阅的变通方案
  • #19116 inputs.ping 为 Windows 添加接口参数支持
  • #19080 inputs.ping 添加对非特权 SOCK_DGRAM 套接字的支持
  • #19570 inputs.prometheus 允许配置 pod 名称标签名
  • #19046 inputs.proxmox 添加磁盘和网络 I/O 指标
  • #19617 inputs.ras 添加 ECC 错误计数器
  • #18679 inputs.smartctl 添加新的 version 指标以避免属性覆盖设备名
  • #19157 inputs.webhooks.github 在工作流事件中增加 run_id 字段
  • #19321 inputs.win_eventlog 将订阅失败标记为可重试的启动错误
  • #19098 migrations 为 inputs.zookeeper TLS 选项添加迁移
  • #19097 migrations 为 outputs.kafka TLS 选项添加迁移
  • #19447 outputs.kafka 添加可配置的 produce 请求超时设置
  • #19581 outputs.parquet 引入部分写入错误处理
  • #19040 outputs.socket_writer 实现启动错误行为处理
  • #19044 outputs.sql 移除 mysql 连接对 init_sql 的需求
  • #19437 packaging 从发布二进制文件中提取 govulncheck 信息
  • #19493 packaging 在 MacOS tar 归档中使用签名二进制文件
  • #19365 parsers.grok 允许解析超过 64KiB 的消息
  • #19329 secretstores.jose 添加删除密钥的支持
  • #19328 secretstores.os 添加删除密钥的支持
  • #19330 secretstores.vault 添加删除密钥的支持
  • #19622 secretstores.vault 允许使用命名空间

Bugfixes

Bugfixes

  • #19358 common.socket Add interface name extraction and validation
  • #19572 config Handle quotes at end of file without a trailing newline
  • #19575 inputs.amqp_consumer Restore configuration to successfully reconnect
  • #19547 inputs.cloudwatch Avoid caching failed listings
  • #19548 inputs.cloudwatch Restore empty value to match all dimensions
  • #19513 inputs.cloudwatch Restore explicit queries for non-wildcard namespaces
  • #19564 inputs.cloudwatch_metric_streams Initialize close channel
  • #19450 inputs.internet_speed Honor the local address setting
  • #19405 inputs.nvidia_smi Parse integer fields as 64 bit
  • #19610 inputs.opcua Respect the server's MaxNodesPerRead limit
  • #19443 inputs.procstat Switch to more robust PidExists for liveness checks
  • #19624 inputs.smart Report duration raw values in hours
  • #19445 inputs.win_eventlog Do not replay the channel on restart
  • #19566 migrations.inputs_sflow Set protocol on migrated config
  • #19464 outputs.amqp Return error when the broker is unavailable
  • #19553 outputs.parquet Mark value columns as nullable
  • #19555 outputs.parquet Reserve the timestamp column for the metric time
  • #19573 outputs.parquet Restrict files to configured directory
  • #19612 outputs.stackdriver Classify write errors and stop abandoning chunks
  • #19623 processors.reverse_dns Handle NXDOMAIN error correctly
  • #19412 serializers.prometheusremotewrite Accumulate histogram samples in a batch
  • #19358 common.socket 添加接口名称提取和验证
  • #19572 config 处理文件末尾无换行符时的引号
  • #19575 inputs.amqp_consumer 恢复配置以成功重新连接
  • #19547 inputs.cloudwatch 避免缓存失败的列表结果
  • #19548 inputs.cloudwatch 恢复空值以匹配所有维度
  • #19513 inputs.cloudwatch 为非通配符命名空间恢复显式查询
  • #19564 inputs.cloudwatch_metric_streams 初始化关闭通道
  • #19450 inputs.internet_speed 遵守本地地址设置
  • #19405 inputs.nvidia_smi 将整数字段解析为 64 位
  • #19610 inputs.opcua 尊重服务器的 MaxNodesPerRead 限制
  • #19443 inputs.procstat 切换为更健壮的 PidExists 进行存活检查
  • #19624 inputs.smart 以小时为单位报告原始持续时间值
  • #19445 inputs.win_eventlog 重启时不重放通道
  • #19566 migrations.inputs_sflow 在迁移后的配置上设置协议
  • #19464 outputs.amqp 当代理不可用时返回错误
  • #19553 outputs.parquet 将值列标记为可空
  • #19555 outputs.parquet 保留时间戳列用于指标时间
  • #19573 outputs.parquet 将文件限制在配置的目录中
  • #19612 outputs.stackdriver 分类写入错误并停止放弃数据块
  • #19623 processors.reverse_dns 正确处理 NXDOMAIN 错误
  • #19412 serializers.prometheusremotewrite 在批次中累积直方图样本

Dependency Updates

依赖项更新

  • #19421 deps Bump cloud.google.com/go/auth from 0.22.0 to 0.23.0
  • #19474 deps Bump cloud.google.com/go/auth from 0.23.0 to 0.23.1
  • #19534 deps Bump cloud.google.com/go/auth from 0.23.1 to 0.23.2
  • #19429 deps Bump cloud.google.com/go/bigquery from 1.79.0 to 1.79.1
  • #19485 deps Bump cloud.google.com/go/bigquery from 1.79.1 to 1.80.0
  • #19529 deps Bump cloud.google.com/go/bigquery from 1.80.0 to 1.81.0
  • #19587 deps Bump cloud.google.com/go/bigquery from 1.81.0 to 1.82.0
  • #19523 deps Bump cloud.google.com/go/pubsub/v2 from 2.6.1 to 2.6.2
  • #19603 deps Bump cloud.google.com/go/pubsub/v2 from 2.6.2 to 2.7.0
  • #19525 deps Bump cloud.google.com/go/storage from 1.64.0 to 1.65.0
  • #19599 deps Bump cloud.google.com/go/storage from 1.65.0 to 1.66.0
  • #19475 deps Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.22.0 to 1.23.0
  • #19595 deps Bump github.com/Azure/azure-sdk-for-go/sdk/azcore from 1.23.0 to 1.23.1
  • #19589 deps Bump github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.14.0 to 1.14.1
  • #19423 deps Bump github.com/ClickHouse/clickhouse-go/v2 from 2.47.0 to 2.48.0
  • #19419 deps Bump github.com/IBM/nzgo/v12 from 12.0.12 to 12.0.13
  • #19594 deps Bump github.com/IBM/sarama from 1.60.1 to 1.60.2
  • #19416 deps Bump github.com/SAP/go-hdb from 1.17.2 to 1.17.3
  • #19539 deps Bump github.com/SAP/go-hdb from 1.17.3 to 1.18.0
  • #19602 deps Bump github.com/SAP/go-hdb from 1.18.0 to 1.18.2
  • #19430 deps Bump github.com/aws/smithy-go from 1.27.6 to 1.27.7
  • #19469 deps Bump github.com/aws/smithy-go from 1.27.7 to 1.27.8
  • #19530 deps Bump github.com/aws/smithy-go from 1.27.8 to 1.27.9
  • #19467 deps Bump github.com/elastic/elastic-transport-go/v8 from 8.9.0 to 8.11.0
  • #19432 deps Bump github.com/elastic/go-elasticsearch/v8 from 8.19.6 to 8.19.7
  • #19476 deps Bump github.com/elastic/go-elasticsearch/v9 from 9.4.2 to 9.5.0
  • #19586 deps Bump github.com/elastic/go-elasticsearch/v9 from 9.5.0 to 9.5.1
  • #19528 deps Bump github.com/emiago/sipgo from 1.4.3 to 1.5.0
  • #19585 deps Bump github.com/emiago/sipgo from 1.5.0 to 1.6.0
  • #19584 deps Bump github.com/gobwas/glob from 0.2.3 to 1.0.0
  • #19431 deps Bump github.com/gofrs/uuid/v5 from 5.5.0 to 5.5.1
  • #19424 deps Bump github.com/google/cel-go from 0.30.0 to 0.31.0
  • #19470 deps Bump github.com/gopacket/gopacket from 1.7.0 to 1.7.1
  • #19421 deps 将 cloud.google.com/go/auth 从 0.22.0 升级到 0.23.0
  • #19474 deps 将 cloud.google.com/go/auth 从 0.23.0 升级到 0.23.1
  • #19534 deps 将 cloud.google.com/go/auth 从 0.23.1 升级到 0.23.2
  • #19429 deps 将 cloud.google.com/go/bigquery 从 1.79.0 升级到 1.79.1
  • #19485 deps 将 cloud.google.com/go/bigquery 从 1.79.1 升级至 1.80.0
  • #19529 deps 将 cloud.google.com/go/bigquery 从 1.80.0 升级至 1.81.0
  • #19587 deps 将 cloud.google.com/go/bigquery 从 1.81.0 升级至 1.82.0
  • #19523 deps 将 cloud.google.com/go/pubsub/v2 从 2.6.1 升级至 2.6.2
  • #19603 deps 将 cloud.google.com/go/pubsub/v2 从 2.6.2 升级至 2.7.0
  • #19525 deps 将 cloud.google.com/go/storage 从 1.64.0 升级至 1.65.0
  • #19599 deps 将 cloud.google.com/go/storage 从 1.65.0 升级至 1.66.0
  • #19475 deps 将 github.com/Azure/azure-sdk-for-go/sdk/azcore 从 1.22.0 升级至 1.23.0
  • #19595 deps 将 github.com/Azure/azure-sdk-for-go/sdk/azcore 从 1.23.0 升级至 1.23.1
  • #19589 deps 将 github.com/Azure/azure-sdk-for-go/sdk/azidentity 从 1.14.0 升级至 1.14.1
  • #19423 deps 将 github.com/ClickHouse/clickhouse-go/v2 从 2.47.0 升级至 2.48.0
  • #19419 deps 将 github.com/IBM/nzgo/v12 从 12.0.12 升级至 12.0.13
  • #19594 deps 将 github.com/IBM/sarama 从 1.60.1 升级至 1.60.2
  • #19416 deps 将 github.com/SAP/go-hdb 从 1.17.2 升级至 1.17.3
  • #19539 deps 将 github.com/SAP/go-hdb 从 1.17.3 升级至 1.18.0
  • #19602 deps 将 github.com/SAP/go-hdb 从 1.18.0 升级至 1.18.2
  • #19430 deps 将 github.com/aws/smithy-go 从 1.27.6 升级至 1.27.7
  • #19469 deps 将 github.com/aws/smithy-go 从 1.27.7 升级至 1.27.8
  • #19530 deps 将 github.com/aws/smithy-go 从 1.27.8 升级至 1.27.9
  • #19467 deps 将 github.com/elastic/elastic-transport-go/v8 从 8.9.0 升级至 8.11.0
  • #19432 deps 将 github.com/elastic/go-elasticsearch/v8 从 8.19.6 升级至 8.19.7
  • #19476 deps 将 github.com/elastic/go-elasticsearch/v9 从 9.4.2 升级至 9.5.0
  • #19586 deps 将 github.com/elastic/go-elasticsearch/v9 从 9.5.0 升级至 9.5.1
  • #19528 deps 将 github.com/emiago/sipgo 从 1.4.3 升级至 1.5.0
  • #19585 依赖项升级 github.com/emiago/sipgo 从 1.5.0 到 1.6.0
  • #19584 依赖项升级 github.com/gobwas/glob 从 0.2.3 到 1.0.0
  • #19431 依赖项升级 github.com/gofrs/uuid/v5 从 5.5.0 到 5.5.1
  • #19424 依赖项升级 github.com/google/cel-go 从 0.30.0 到 0.31.0
  • #19470 依赖项升级 github.com/gopacket/gopacket 从 1.7.0 到 1.7.1

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件