influxdata/telegraf

postgresql_extensible: query.tagvalue is strangely a CSV rather than a TOML array

Open

#13,730 建立於 2023年8月7日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Go (4,161 fork)batch import
feature requesthelp wantedsize/m

倉庫指標

Star
 (9,892 star)
PR 合併指標
 (平均合併 2天 12小時) (30 天內合併 136 個 PR)

描述

Use Case

When creating custom queries tagvalue is widely used to define result columns to be used as tag. Given that whole config file is a TOML syntax, use of CSV string format for tagvalue feels less natural than what TOML array would be.

Expected behavior

Supporting 2 types for the same config param can be messy, so I propose deprecate tagvalue and introduce tagvalues parameter with array type.

Actual behavior

tagvalue is a CSV string.

Additional info

No response

貢獻者指南