-
-
Save djtecha/98ac80b29d9365c9abb7 to your computer and use it in GitHub Desktop.
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
{ | |
"title": "Collectd Metrics", | |
"services": { | |
"query": { | |
"list": { | |
"0": { | |
"query": "plugin:\"load\"", | |
"alias": "Load", | |
"color": "#7EB26D", | |
"id": 0, | |
"pin": false, | |
"type": "lucene", | |
"enable": true | |
}, | |
"1": { | |
"id": 1, | |
"color": "#0A437C", | |
"alias": "RX", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"interface\" AND (plugin_instance:\"eth0\" OR plugin_instance:\"bond0\")" | |
}, | |
"2": { | |
"id": 2, | |
"color": "#7EB26D", | |
"alias": "Free", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"free\"" | |
}, | |
"3": { | |
"id": 3, | |
"color": "#1F78C1", | |
"alias": "Active", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "type_instance:\"active\"" | |
}, | |
"4": { | |
"id": 4, | |
"color": "#E24D42", | |
"alias": "Wired", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "type_instance:\"wired\"" | |
}, | |
"5": { | |
"id": 5, | |
"color": "#584477", | |
"alias": "Inactive", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "type_instance:\"inactive\"" | |
}, | |
"6": { | |
"id": 6, | |
"color": "#BA43A9", | |
"alias": "TX", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"interface\"" | |
}, | |
"7": { | |
"id": 7, | |
"color": "#705DA0", | |
"alias": "Swap", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "collectd_type:\"swap\"" | |
}, | |
"8": { | |
"id": 8, | |
"color": "#962D82", | |
"alias": "Used", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"used\"" | |
}, | |
"9": { | |
"id": 9, | |
"color": "#CCA300", | |
"alias": "Used", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"used\"" | |
}, | |
"10": { | |
"id": 10, | |
"color": "#447EBC", | |
"alias": "Disk", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"df\" AND plugin_instance:\"root\"" | |
}, | |
"11": { | |
"id": 11, | |
"color": "#C15C17", | |
"alias": "var", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"df\" AND plugin_instance:\"var\"" | |
}, | |
"12": { | |
"id": 12, | |
"color": "#890F02", | |
"alias": "Cached", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"memory\" AND type_instance:\"cached\"" | |
}, | |
"13": { | |
"id": 13, | |
"color": "#0A437C", | |
"alias": "Data", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"df\" AND plugin_instance:\"data\"" | |
}, | |
"14": { | |
"id": 14, | |
"color": "#6D1F62", | |
"alias": "Postgres or Archive", | |
"pin": false, | |
"type": "lucene", | |
"enable": true, | |
"query": "plugin:\"df\" AND (plugin_instance:\"postgres\" OR plugin_instance:\"archive\")" | |
} | |
}, | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14 | |
] | |
}, | |
"filter": { | |
"list": { | |
"0": { | |
"type": "time", | |
"field": "@timestamp", | |
"from": "now-15m", | |
"to": "now", | |
"mandate": "must", | |
"active": true, | |
"alias": "", | |
"id": 0 | |
}, | |
"2": { | |
"type": "field", | |
"field": "@Host", | |
"query": "\"trunk-query-2.redfintest.com\"", | |
"mandate": "must", | |
"active": true, | |
"alias": "", | |
"id": 2 | |
} | |
}, | |
"ids": [ | |
0, | |
2 | |
] | |
} | |
}, | |
"rows": [ | |
{ | |
"title": "CPU", | |
"height": "300px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 4, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "mean", | |
"time_field": "@timestamp", | |
"value_field": "shortterm", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
0 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "10s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 0, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": true, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Load 1m" | |
}, | |
{ | |
"span": 4, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "mean", | |
"time_field": "@timestamp", | |
"value_field": "midterm", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
0 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "10s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 0, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": true, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Load 5m" | |
}, | |
{ | |
"span": 4, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "mean", | |
"time_field": "@timestamp", | |
"value_field": "longterm", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
0 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "10s", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 0, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": true, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Load 15m" | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Memory", | |
"height": "200px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 12, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "total", | |
"time_field": "@timestamp", | |
"value_field": "value", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": "10", | |
"y_format": "bytes", | |
"grid": { | |
"max": null, | |
"min": null | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
2, | |
9, | |
12 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": false, | |
"resolution": 100, | |
"interval": "1m", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 0, | |
"linewidth": 1, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": false, | |
"derivative": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"title": "Memory", | |
"scaleSeconds": true | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Network Sent", | |
"height": "300px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 12, | |
"editable": true, | |
"type": "histogram", | |
"loadingEditor": false, | |
"mode": "max", | |
"time_field": "@timestamp", | |
"value_field": "tx", | |
"x-axis": true, | |
"y-axis": true, | |
"scale": "1", | |
"y_format": "bytes", | |
"grid": { | |
"max": null, | |
"min": null | |
}, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
1, | |
6 | |
] | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"auto_int": false, | |
"resolution": 100, | |
"interval": "1m", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1y" | |
], | |
"lines": true, | |
"fill": 0, | |
"linewidth": 3, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": true, | |
"spyable": true, | |
"zoomlinks": true, | |
"options": true, | |
"legend": true, | |
"show_query": true, | |
"interactive": true, | |
"legend_counts": true, | |
"timezone": "browser", | |
"percentage": false, | |
"zerofill": true, | |
"derivative": true, | |
"tooltip": { | |
"value_type": "individual", | |
"query_as_alias": true | |
}, | |
"title": "Network", | |
"scaleSeconds": true | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Network TX", | |
"height": "200px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"error": false, | |
"span": 3, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "type_instance", | |
"exclude": [], | |
"missing": false, | |
"other": false, | |
"size": 10, | |
"order": "max", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "pie", | |
"counter_pos": "above", | |
"spyable": true, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
10 | |
] | |
}, | |
"tmode": "terms_stats", | |
"tstat": "mean", | |
"valuefield": "value", | |
"title": "Disk /" | |
}, | |
{ | |
"error": false, | |
"span": 3, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "type_instance", | |
"exclude": [], | |
"missing": false, | |
"other": false, | |
"size": 10, | |
"order": "count", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "pie", | |
"counter_pos": "above", | |
"spyable": true, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
11 | |
] | |
}, | |
"tmode": "terms_stats", | |
"tstat": "total", | |
"valuefield": "value", | |
"title": "Disk /Var" | |
}, | |
{ | |
"error": false, | |
"span": 3, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "type_instance", | |
"exclude": [], | |
"missing": false, | |
"other": false, | |
"size": 10, | |
"order": "count", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "pie", | |
"counter_pos": "above", | |
"spyable": true, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
13 | |
] | |
}, | |
"tmode": "terms_stats", | |
"tstat": "total", | |
"valuefield": "value", | |
"title": "Disk /data" | |
}, | |
{ | |
"error": false, | |
"span": 3, | |
"editable": true, | |
"type": "terms", | |
"loadingEditor": false, | |
"field": "type_instance", | |
"exclude": [], | |
"missing": false, | |
"other": false, | |
"size": 10, | |
"order": "count", | |
"style": { | |
"font-size": "10pt" | |
}, | |
"donut": false, | |
"tilt": false, | |
"labels": true, | |
"arrangement": "horizontal", | |
"chart": "pie", | |
"counter_pos": "above", | |
"spyable": true, | |
"queries": { | |
"mode": "selected", | |
"ids": [ | |
14 | |
] | |
}, | |
"tmode": "terms_stats", | |
"tstat": "total", | |
"valuefield": "value", | |
"title": "Disk /Postgres or /Archive" | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Disk", | |
"height": "350px", | |
"editable": true, | |
"collapse": true, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"span": 12, | |
"editable": true, | |
"group": [ | |
"default" | |
], | |
"type": "histogram", | |
"mode": "count", | |
"time_field": "@timestamp", | |
"value_field": null, | |
"auto_int": true, | |
"resolution": 100, | |
"interval": "1s", | |
"fill": 3, | |
"linewidth": 3, | |
"timezone": "browser", | |
"spyable": true, | |
"zoomlinks": true, | |
"bars": true, | |
"stack": true, | |
"points": false, | |
"lines": false, | |
"legend": true, | |
"x-axis": true, | |
"y-axis": true, | |
"percentage": false, | |
"interactive": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
12 | |
] | |
}, | |
"title": "Events over time", | |
"intervals": [ | |
"auto", | |
"1s", | |
"1m", | |
"5m", | |
"10m", | |
"30m", | |
"1h", | |
"3h", | |
"12h", | |
"1d", | |
"1w", | |
"1M", | |
"1y" | |
], | |
"options": true, | |
"tooltip": { | |
"value_type": "cumulative", | |
"query_as_alias": true | |
}, | |
"scale": 1, | |
"y_format": "none", | |
"grid": { | |
"max": null, | |
"min": 0 | |
}, | |
"annotate": { | |
"enable": false, | |
"query": "*", | |
"size": 20, | |
"field": "_type", | |
"sort": [ | |
"_score", | |
"desc" | |
] | |
}, | |
"pointradius": 5, | |
"show_query": true, | |
"legend_counts": true, | |
"zerofill": true, | |
"derivative": false | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Graph", | |
"height": "350px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [ | |
{ | |
"title": "All events", | |
"error": false, | |
"span": 12, | |
"editable": true, | |
"group": [ | |
"default" | |
], | |
"type": "table", | |
"size": 100, | |
"pages": 5, | |
"offset": 0, | |
"sort": [ | |
"@timestamp", | |
"desc" | |
], | |
"style": { | |
"font-size": "9pt" | |
}, | |
"overflow": "min-height", | |
"fields": [ | |
"plugin_instance", | |
"value", | |
"type_instance", | |
"@timestamp", | |
"rx", | |
"tx" | |
], | |
"localTime": true, | |
"timeField": "@timestamp", | |
"highlight": [], | |
"sortable": true, | |
"header": true, | |
"paging": true, | |
"spyable": true, | |
"queries": { | |
"mode": "all", | |
"ids": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5, | |
6, | |
7, | |
8, | |
9, | |
10, | |
11, | |
12, | |
13, | |
14 | |
] | |
}, | |
"field_list": true, | |
"status": "Stable", | |
"trimFactor": 300, | |
"normTimes": true, | |
"all_fields": false | |
} | |
], | |
"notice": false | |
}, | |
{ | |
"title": "Events", | |
"height": "350px", | |
"editable": true, | |
"collapse": false, | |
"collapsable": true, | |
"panels": [], | |
"notice": false | |
} | |
], | |
"editable": true, | |
"failover": false, | |
"index": { | |
"interval": "day", | |
"pattern": "[metrics-]YYYY.MM.DD", | |
"default": "NO_TIME_FILTER_OR_INDEX_PATTERN_NOT_MATCHED", | |
"warm_fields": true | |
}, | |
"style": "dark", | |
"panel_hints": true, | |
"pulldowns": [ | |
{ | |
"type": "query", | |
"collapse": true, | |
"notice": false, | |
"query": "*", | |
"pinned": true, | |
"history": [ | |
"plugin:\"df\" AND (plugin_instance:\"postgres\" OR plugin_instance:\"archive\")", | |
"plugin:\"df\" AND plugin_instance:\"data\"", | |
"plugin:\"memory\" AND type_instance:\"cached\"", | |
"plugin:\"df\" AND plugin_instance:\"var\"", | |
"plugin:\"df\" AND plugin_instance:\"root\"", | |
"plugin:\"memory\" AND type_instance:\"used\"", | |
"collectd_type:\"swap\"", | |
"plugin:\"interface\"", | |
"type_instance:\"inactive\"", | |
"type_instance:\"wired\"" | |
], | |
"remember": 10, | |
"enable": true | |
}, | |
{ | |
"type": "filtering", | |
"collapse": false, | |
"notice": true, | |
"enable": true | |
} | |
], | |
"nav": [ | |
{ | |
"type": "timepicker", | |
"collapse": false, | |
"notice": false, | |
"status": "Stable", | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
], | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"timefield": "@timestamp", | |
"now": true, | |
"filter_id": 0, | |
"enable": true | |
} | |
], | |
"loader": { | |
"save_gist": false, | |
"save_elasticsearch": true, | |
"save_local": true, | |
"save_default": true, | |
"save_temp": true, | |
"save_temp_ttl_enable": true, | |
"save_temp_ttl": "30d", | |
"load_gist": true, | |
"load_elasticsearch": true, | |
"load_elasticsearch_size": 20, | |
"load_local": true, | |
"hide": false | |
}, | |
"refresh": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment