Why would this be true? gmetric strings that are longer than 32 bytes work and
have for a long time. In the wire encoding, xdr_string encodes a length
followed by a set of octets. The old (<3.1) protocol.x says that all the gmond
metric strings are xdr_strings.
We use them, e.g., to encode the (full-path) versions of our various gmetric
scripts. Those are almost always longer than 32B.
-- ReC
On 7/9/09 10:38 AM, "Brad Nicholes" <bnicho...@novell.com> wrote:
>>> On 7/9/2009 at 9:27 AM, in message <4a560c5a.2090...@mail.nih.gov>, Jesse
Becker <becker...@mail.nih.gov> wrote:
> Greg Bruno wrote:
>> also, regarding MAX_G_STRING_SIZE, would it be possible to increase it
>> in future releases? i've currently set it to 128 in
>> include/gm_value.h.
>
> I don't object, although I'm not the most familiar with this part of the
> code.
> I'm curious: what metrics are you trying to use that are that long?
>
I would have to verify this, but I think making MAX_G_STRING_SIZE larger would
affect the XDR packets. Any change to the XDR packets would cause gmond to be
incompatible with previous versions. It would probably have to wait for the
next major Ganglia release.
Brad
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers