-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot peronalize tags on inputs per-plugin instance #662
Comments
hmm, this is supposed to be valid toml, I'll investigate |
it looks like our underlying toml library has a bug, I created an issue: naoina/toml#18 I'm going to try to migrate to https://github.com/pelletier/go-toml, that library appears to parse the toml correctly. |
@sunbit Due to the nature of dynamically applying the config to structs, it would be a huge amount of work to port to the pelletier/go-toml library. Instead I'm going to workaround this by renaming the global @sunbit for the time being, if you're not using the global Thanks for the report! |
I tried to add custom per-plugin tags, with the syntax
And it works, but if i try to set a tag on a second instance of the same plugin for example:
I get an error, pointing at the line defining the second .tags section:
toml: line 123: table
inputs.snmp.tags' is in conflict with normal table in line 106`Is possible to accomplish this in some way?
The text was updated successfully, but these errors were encountered: