Created
February 4, 2013 18:34
-
-
Save mnikhil-git/4708591 to your computer and use it in GitHub Desktop.
another example: where you have different metric regex although appearing in a single dashboard/ganglia json view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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