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

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

Open
nnarain-cpr opened this issue Mar 15, 2018 · 2 comments

Comments

@nnarain-cpr
Copy link

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
@mikepurvis
Copy link
Member

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?

@nnarain-cpr
Copy link
Author

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.

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

2 participants