Skip to content
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

Serde support for node values #4

Open
nickbabcock opened this issue Jan 29, 2018 · 0 comments
Open

Serde support for node values #4

nickbabcock opened this issue Jan 29, 2018 · 0 comments

Comments

@nickbabcock
Copy link
Owner

The real write_graphite plugin uses this configuration

<Plugin write_graphite>
       <Node "example">
               Host "localhost"
               Port "20030"
       </Node>
</Plugin>

Where the name it is registered under is "example". To use serde for automatic deserialization of config items, the following structure would be preferred:

<Plugin write_graphite>
       <Node>
               Name "example"
               Host "localhost"
               Port "20030"
       </Node>
</Plugin>

Ideally the former structure would be serde supported, but I am not going to worry too much if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant