[Ganglia-general] Gauges verses counters

2014-03-13 Thread Silver, Jonathan
We are planning on using jmxtrans to collect and propagate a number of metrics 
to ganglia. There is no place in jmxtrans to define the metric as a counter or 
a gauge. 

If we do NOT predefine the metric in rrds, what will happen? What will show on 
the graphs? How does ganglia know that it's a gauge and not a counter?

Thanks,
jon

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Gauges verses counters

2014-03-18 Thread neil mckee
FYI,   Ganglia already understands the output from this alternative JMX
monitoring solution:
https://code.google.com/p/jmx-sflow-agent/

I think it has similar properties to embedded-jmxtrans.  Much better to
have the JVM push the stats every 20 seconds or so than have to poll for
them remotely over an encrypted connection.  And using the java-agent hook
means you only have to change the JVM command-line.

Neil




On Thu, Mar 13, 2014 at 11:12 AM, Silver, Jonathan <
jonathan.sil...@unify.com> wrote:

> We are planning on using jmxtrans to collect and propagate a number of
> metrics to ganglia. There is no place in jmxtrans to define the metric as a
> counter or a gauge.
>
> If we do NOT predefine the metric in rrds, what will happen? What will
> show on the graphs? How does ganglia know that it's a gauge and not a
> counter?
>
> Thanks,
> jon
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> ___
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Re: [Ganglia-general] Gauges verses counters

2014-03-18 Thread Silver, Jonathan
Thanks for the reply, but the question was really a generic one.
We are adding our own metrics and collecting them via jmxtrans (and yes ganglia 
has special built-in support for sflow, but not
For our application specific counts).

>> There is no place in jmxtrans to define the metric as a counter or a gauge.
>>
>> If we do NOT predefine the metric in rrds, what will happen? What will show 
>> on the graphs?
>> How does ganglia know that it's a gauge and not a counter?



From: neil mckee [mailto:neil.mckee...@gmail.com]
Sent: Tuesday, March 18, 2014 12:55 PM
To: Silver, Jonathan
Cc: ganglia-general@lists.sourceforge.net
Subject: Re: [Ganglia-general] Gauges verses counters

FYI,   Ganglia already understands the output from this alternative JMX 
monitoring solution:
https://code.google.com/p/jmx-sflow-agent/
I think it has similar properties to embedded-jmxtrans.  Much better to have 
the JVM push the stats every 20 seconds or so than have to poll for them 
remotely over an encrypted connection.  And using the java-agent hook means you 
only have to change the JVM command-line.
Neil


On Thu, Mar 13, 2014 at 11:12 AM, Silver, Jonathan 
mailto:jonathan.sil...@unify.com>> wrote:
We are planning on using jmxtrans to collect and propagate a number of metrics 
to ganglia. There is no place in jmxtrans to define the metric as a counter or 
a gauge.

If we do NOT predefine the metric in rrds, what will happen? What will show on 
the graphs? How does ganglia know that it's a gauge and not a counter?

Thanks,
jon

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net<mailto:Ganglia-general@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/ganglia-general

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech___
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general