-
Notifications
You must be signed in to change notification settings - Fork 192
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
Improve agent configuration #486
Comments
I agree! I like the nesting of grouped attributes, and think it would be good to be able to access the agent config the agent instance. As it's all getters and read only properties it's not opening the gates for unwanted modifications. One thing I was thinking about whether we can remove the redundancy from the nested properties. So instead of |
I think |
Re the logger, I'd say you need to implement your own logger that internally handles logging to multiple outputs. Most logger libraries have that built in |
Ah yeah, that would also work. |
Yes! I think |
We now have modules that configure different parts of the framework. Please open a new issue if other improvement are needed |
As a Developer, I want to have access to config via
agent
instance, so that I can do that wherever I'm usingagent.
For example, I can uselabel
when running two agent instances to distinguish between them in logs.As a Developer, I want to group agent config to make clear how each part relate together and what modules are influenced by a specific group.
This structure is just to demonstrate the idea, I'm not saying it should look exactly like that :)
As a Developer, I want to define a config in JSON file, so that the config will be more explicit and extracted outside of code.
The text was updated successfully, but these errors were encountered: