public class GangliaMunge extends Object
Constructor and Description |
---|
GangliaMunge() |
Modifier and Type | Method and Description |
---|---|
static String |
getFQName(String groupName,
String localName)
Combines the group name and the local name to obtain the fully qualified
metric name.
|
static String |
munge(String s)
Munge a metric name so that it is suitable for use in a filesystem
(ganglia stores metric names and host names in the file system but does
not munge them well itself).
|
public static String munge(String s)
s
- The name of the scale-out index.public static String getFQName(String groupName, String localName)
Note: Munging is required because we receive counters from other ganglia services and those counters must obey the rules for file systems, so we have to munge everything.
groupName
- The group name (optional).localName
- The local name (required).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.