In Telegraf world a tag is a key-value pair. To add / modify tags you need to add a TOML section to the plugin. In your example this should work
[[aggregators.merge]]
## If true, the original metric will be dropped by the
## aggregator and will not get sent to the output plugins.
drop_original = true
## Add tags to the output
[aggregators.merge.tags]
name = "my name to add"
source = "any source you want"
tag_name = "huh?"
I’m not sure I do understand your question. My example will create three new tags with the names name, source and tag_name and the corresponding values my name to add, any source you want and huh?. So everything below[aggregators.merge.tags] are the <key> = "<value>" tag pairs (that’s why this section needs to be the last element in the config).
Ok I think I understand that it does now. the tags parameter is not going to aggregate the data set based on the specified tags, but it will add new tags to your data set.