Re: [Ganglia-developers] add "extras" parsing to json graph-definitions

2012-07-18 Thread Vladimir Vuksan
I would define a scaling factor or some other variable. I do want to steer away from having tool specific options unless absolutely necessary. Vladimir On Wed, 18 Jul 2012, Jeff Buchbinder wrote: > On Wed, Jul 18, 2012 at 9:55 AM, Vladimir Vuksan wrote: >> I don't like it. It's rrdtool specifi

Re: [Ganglia-developers] add "extras" parsing to json graph-definitions

2012-07-18 Thread Jeff Buchbinder
On Wed, Jul 18, 2012 at 9:55 AM, Vladimir Vuksan wrote: > I don't like it. It's rrdtool specific. I want something a little bit more > generic that gets translated to rrdtool commands. Eventual suggestion: we define a function to convert between whatever extras format we're using and target rende

Re: [Ganglia-developers] add "extras" parsing to json graph-definitions

2012-07-18 Thread Vladimir Vuksan
I don't like it. It's rrdtool specific. I want something a little bit more generic that gets translated to rrdtool commands. Vladimir On Wed, 18 Jul 2012, Jeff Buchbinder wrote: > On Wed, Jul 18, 2012 at 5:06 AM, Jochen Hein wrote: >> Hi, >> >> I'm working on getting ganglia to display correct

Re: [Ganglia-developers] add "extras" parsing to json graph-definitions

2012-07-18 Thread Jeff Buchbinder
On Wed, Jul 18, 2012 at 5:06 AM, Jochen Hein wrote: > Hi, > > I'm working on getting ganglia to display correct units for one > custom graph. One of the first tries was to give some extra option > to rrdtools. > > When using php-graphs, this is done via $rrdtool_graph[ 'extras' ], > but there is n

[Ganglia-developers] add "extras" parsing to json graph-definitions

2012-07-18 Thread Jochen Hein
Hi, I'm working on getting ganglia to display correct units for one custom graph. One of the first tries was to give some extra option to rrdtools. When using php-graphs, this is done via $rrdtool_graph[ 'extras' ], but there is nothing for json graphs. That simple patch (against 3.4.2) should f