diagnostics icon indicating copy to clipboard operation
diagnostics copied to clipboard

Adding Key/Value pairs to diagnostic messages that are specified in the analyzer yaml file.

Open nnarain-cpr opened this issue 7 years ago • 2 comments

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

nnarain-cpr avatar Mar 15 '18 13:03 nnarain-cpr

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?

mikepurvis avatar Mar 15 '18 14:03 mikepurvis

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.

nnarain-cpr avatar Mar 15 '18 18:03 nnarain-cpr