Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
another example: where you have different metric regex although appearing in a single dashboard/ganglia json view
$ cd /var/lib/ganglia/conf; cat view_scribe_metrics.json
{
"default_size" : "medium",
"view_name" : "scribe_metrics",
"items" : [
{
"aggregate_graph" : "true",
"graph_type" : "line",
"host_regex" : [
{
"regex" : "mynode[0-9].mydc.mycompany.com"
}
],
"g_title" : "spool_size",
"metric_regex" : [
{
"regex" : ".*.scribe.spool.size"
}
],
"title" : "Aggregated metrics for spool_size ",
"vertical_label" : "",
"glegend" : "show"
},
{
"aggregate_graph" : "true",
"graph_type" : "line",
"host_regex" : [
{
"regex" : "mynode[0-9].mydc.mycompany.com"
}
],
"g_title" : "lb_connections",
"metric_regex" : [
{
"regex" : "scribe.num_lb_connections"
}
],
"title" : "Aggregated metrics for lb_connections ",
"vertical_label" : "",
"glegend" : "show"
}
],
"view_type" : "standard"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.