influxdata/telegraf

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

Open

#13.730 aperta il 7 ago 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Go (4161 fork)batch import
feature requesthelp wantedsize/m

Metriche repository

Star
 (9892 star)
Metriche merge PR
 (Merge medio 2g 12h) (136 PR mergiate in 30 g)

Descrizione

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

Guida contributor