influxdata/telegraf

Allow debug setting override per plugin instance

Open

#10,688 创建于 2022年2月21日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Go (4,161 fork)batch import
feature requesthelp wantedsize/l

仓库指标

Star
 (9,892 star)
PR 合并指标
 (平均合并 2天 12小时) (30 天内合并 136 个 PR)

描述

Feature Request

Opening a feature request kicks off a discussion.

Proposal:

Allow debug setting override per plugin instance.

Current behavior:

Debug setting is global and affects all plugins.

Desired behavior:

Ability to override the default per input instance (debug = true | false)

Use case:

There's some debug output (like output.influxdb buffer fulness and batch write metrics) that is useful to keep enabled. If the global is enabled, suddenly a change to a plugin may cause massive amount of debug messages being output, and the only possibility is to disable the setting globally. With this feature, we can chose to silence just one plugin, or enforce debug for just one plugin (for example)

贡献者指南