Adding Key/Value pairs to diagnostic messages that are specified in the analyzer yaml file.
Any way to, or interest in, being able to add key/value pairs to diagnostic status messages that are specified in the analyzer yaml file. I basically want to "tag" a group of diagnostic messages and use that information in some later processing.
Something like the following:
analyzers:
battery:
type: ...
path: ...
find_and_remove_prefix: ...
tags:
- key1: value1
- key2: value2
If the tagging information is static (vs being determined and assigned programmatically by the analyzers themselves), couldn't the element doing the later processing just read in the parameter tree and apply the information that way?
The problem there is that the later processing occurs on a different machine then the diag_agg node. And does not have access to the same analyzer params. Except maybe through xmlrpc.