https://bugzilla.redhat.com/show_bug.cgi?id=1242463
--- Comment #2 from Nathan Scott <nathans@xxxxxxxxxx> ---
(In reply to Marko Myllynen from comment #1)
> [...]
> using the Python PMAPI allows quickly writing
> this kind of tool and then it's mostly a question of how to allow the user
> to define metric sets to display.
Yep, I like your ideas here.
> For example, the following kind configuration file might be suitable (which
> values would be used unless not overridden on command line):
Might find the pcp2graphite code to be a good starting point for a tool like
this Marko (if you want to hack on it)? It has similar sorts of problems to
solve to get to the point of sending metrics to the graphite port (whereas, in
your case you'd want to do similar setup, then print metrics to stdout).
Personally, I prefer your config file approach to the command line approach
that pcp2graphite currently employs - but each to their own. Perhaps some
sharing of code/ideas could be done here, allowing both tools to have either
config file or command line argument models of metric specification.
cheers.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=QWx6SmNV5J&a=cc_unsubscribe
|