-
Notifications
You must be signed in to change notification settings - Fork 40
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
New data model in Sysdb #20
Comments
Hi @jonnysgomes - no there is no way to do this right now. We have the ability to store custom key-value pairs using the Neither of these solutions offer strong typing (both keys and values end up being strings), so the agent would need to cast values to their appropriate type. |
Hi @rmadsen, thanks for your quick response. My idea was to create an Agent able to write a custom object on Sysdb. So another agent would be able to handle change events on that table. If it's not possible, is there any way to communicate two agents? |
Interesting. This is actually something that has come up in other recent customer conversations as well. We plan on starting work on this feature in the next couple weeks, and can post provisional APIs here as we develop them. Until those are ready, I'd recommend opening a unix domain socket between the two agents as a signaling mechanism. Thanks for the feature request! |
You can always serialize (e.g. in JSON or protobuf) the complex data structure you want to store and then stick it in the key-value pair. JSON has the advantage of being human-readable from the CLI, which can be convenient for troubleshooting. |
It's possible to add a new data model in Sysdb? For example, I want a object "MyObject" stored in Sysdb and I want to monitor the change events on it.
The text was updated successfully, but these errors were encountered: