Skip to content

Instantly share code, notes, and snippets.

@vagelim
Created June 17, 2016 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vagelim/e54b6f99bab8e03a89e027c1687036f7 to your computer and use it in GitHub Desktop.
Save vagelim/e54b6f99bab8e03a89e027c1687036f7 to your computer and use it in GitHub Desktop.
{
"board_title": "Marshal - CouchDB Screenboard",
"read_only": false,
"board_bgtype": "board_graph",
"created": "2016-06-15T15:59:19.408753+00:00",
"original_title": "Marshal - CouchDB Screenboard",
"modified": "2016-06-17T18:42:10.978304+00:00",
"height": 80,
"width": "100%",
"template_variables": [],
"templated": true,
"widgets": [{
"board_id": 92838,
"autoscale": true,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "HTTP Request Rate",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_second(avg:couchdb.httpd.requests{*})",
"aggregator": "avg",
"conditional_formats": [{
"palette": "white_on_yellow",
"value": "1000",
"comparator": ">"
}, {
"palette": "white_on_green",
"value": null,
"comparator": "<"
}],
"type": "area",
"style": {
"palette": "blue"
}
}],
"autoscale": false,
"custom_unit": null
},
"width": 42,
"timeframe": "4h",
"y": 23,
"x": 44,
"legend_size": "0",
"type": "query_value",
"legend": false
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Authe cache hits",
"height": 13,
"tile_def": {
"viz": "query_value",
"requests": [{
"q": "avg:couchdb.couchdb.auth_cache_hits{host:marshal-couchdb-1}",
"aggregator": "max",
"conditional_formats": [{
"palette": "green_on_white",
"value": "20",
"comparator": ">"
}],
"type": "line"
}],
"precision": "0"
},
"width": 20,
"timeframe": "1h",
"y": 23,
"x": 0,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Number of HTTPD requests by type",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_minute(avg:couchdb.httpd_request_methods.GET{*})",
"aggregator": "avg",
"conditional_formats": [],
"type": "bars"
}, {
"q": "per_minute(avg:couchdb.httpd_request_methods.PUT{*})",
"type": "bars"
}, {
"q": "per_minute(avg:couchdb.httpd_request_methods.POST{*})",
"type": "bars"
}, {
"q": "per_minute(avg:couchdb.httpd_request_methods.DELETE{*})",
"type": "bars"
}]
},
"width": 42,
"timeframe": "4h",
"y": 62,
"x": 44,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"board_id": 92838,
"group": "instance:http://localhost:5984,host:marshal-couchdb-1",
"title_size": 16,
"title": true,
"title_align": "center",
"text_align": "center",
"title_text": "Service status",
"height": 15,
"width": 17,
"timeframe": "10m",
"y": 0,
"x": 44,
"text_size": "auto",
"type": "check_status",
"check": "couchdb.can_connect",
"tags": ["*"],
"grouping": "cluster"
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "File descriptors",
"height": 13,
"tile_def": {
"viz": "query_value",
"requests": [{
"q": "avg:couchdb.couchdb.open_os_files{*}",
"aggregator": "avg",
"conditional_formats": [{
"palette": "green_on_white",
"value": "5",
"comparator": ">"
}],
"type": "line"
}],
"autoscale": true,
"precision": "0"
},
"width": 20,
"timeframe": "10m",
"y": 0,
"x": 88,
"legend_size": "0",
"type": "timeseries",
"legend": true
}, {
"board_id": 92838,
"autoscale": true,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Open databases",
"height": 13,
"tile_def": {
"viz": "query_value",
"requests": [{
"q": "avg:couchdb.couchdb.open_databases{*}",
"aggregator": "avg",
"conditional_formats": [{
"palette": "white_on_red",
"value": "5",
"comparator": ">"
}, {
"palette": "white_on_yellow",
"value": null,
"comparator": ">="
}, {
"palette": "white_on_green",
"value": null,
"comparator": "<"
}]
}],
"custom_unit": "DBs",
"precision": "0"
},
"width": 20,
"timeframe": "10m",
"y": 0,
"x": 66,
"legend_size": "0",
"type": "query_value",
"legend": false
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Average request process time",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_second(avg:couchdb.couchdb.request_time{*})",
"aggregator": "avg",
"conditional_formats": [],
"type": "line",
"style": {
"palette": "warm"
}
}]
},
"width": 42,
"timeframe": "4h",
"y": 39,
"x": 88,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"board_id": 92838,
"autoscale": true,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Auth cache misses",
"height": 13,
"tile_def": {
"viz": "query_value",
"requests": [{
"q": "avg:couchdb.couchdb.auth_cache_misses{*}",
"aggregator": "avg",
"conditional_formats": [{
"palette": "red_on_white",
"value": "5",
"comparator": ">="
}, {
"palette": "yellow_on_white",
"value": "2",
"comparator": ">="
}, {
"palette": "white_on_green",
"value": null,
"comparator": "<"
}],
"type": "line"
}],
"precision": "0"
},
"width": 20,
"timeframe": "1h",
"y": 23,
"x": 22,
"legend_size": "0",
"type": "query_value",
"legend": false
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Workload - Reads (green) & Writes (purple)",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_second(avg:couchdb.couchdb.database_reads{host:marshal-couchdb-1} by {host})",
"aggregator": "avg",
"conditional_formats": [],
"type": "area",
"style": {
"palette": "green"
}
}, {
"q": "0 - per_second(avg:couchdb.couchdb.database_writes{host:marshal-couchdb-1})",
"style": {
"palette": "purple"
},
"type": "area"
}]
},
"width": 42,
"timeframe": "4h",
"y": 23,
"x": 88,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Request with status code of 400+",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_minute(avg:couchdb.httpd_status_codes.409{*}), per_minute(avg:couchdb.httpd_status_codes.404{*}), per_minute(avg:couchdb.httpd_status_codes.403{*}), per_minute(avg:couchdb.httpd_status_codes.401{*}), per_minute(avg:couchdb.httpd_status_codes.400{*})",
"aggregator": "avg",
"conditional_formats": [],
"type": "bars",
"style": {
"palette": "warm"
}
}]
},
"width": 42,
"timeframe": "4h",
"y": 39,
"x": 131,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"board_id": 92838,
"autoscale": true,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Disk size",
"height": 13,
"tile_def": {
"viz": "query_value",
"requests": [{
"q": "avg:couchdb.by_db.disk_size{*}",
"aggregator": "avg",
"conditional_formats": [{
"palette": "red_on_white",
"value": "50000000",
"comparator": ">"
}, {
"palette": "yellow_on_white",
"value": "4500000",
"comparator": ">="
}, {
"palette": "white_on_green",
"value": null,
"comparator": "<"
}],
"type": "line"
}],
"autoscale": true
},
"width": 20,
"timeframe": "1h",
"y": 62,
"x": 0,
"legend_size": "0",
"type": "query_value",
"legend": true
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Number of bulk requests",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_second(avg:couchdb.httpd.bulk_requests{host:marshal-couchdb-1})",
"aggregator": "avg",
"conditional_formats": [],
"type": "bars",
"style": {
"palette": "cool"
}
}]
},
"width": 42,
"timeframe": "4h",
"y": 39,
"x": 44,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Request with status code of 200+",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_second(avg:couchdb.httpd_status_codes.201{*}), per_second(avg:couchdb.httpd_status_codes.200{*})",
"aggregator": "avg",
"conditional_formats": [],
"type": "bars",
"style": {
"palette": "green"
}
}]
},
"width": 42,
"timeframe": "4h",
"y": 23,
"x": 131,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"board_id": 92838,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Overall doc count",
"height": 13,
"tile_def": {
"viz": "query_value",
"requests": [{
"q": "avg:couchdb.by_db.doc_count{*}",
"aggregator": "avg",
"conditional_formats": [],
"type": "area"
}],
"autoscale": false
},
"width": 20,
"timeframe": "1h",
"y": 62,
"x": 22,
"legend_size": "0",
"type": "timeseries",
"legend": false
}, {
"sizing": "center",
"board_id": 92838,
"title_size": 16,
"title": true,
"url": "http://day.couchdb.org/images/couchdb-logo.png",
"type": "image",
"title_align": "left",
"title_text": "",
"height": 15,
"width": 42,
"y": 0,
"x": 0,
"margin": ""
}, {
"board_id": 94245,
"title_size": 16,
"title": true,
"refresh_every": 30000,
"type": "note",
"title_align": "left",
"tick_edge": "bottom",
"text_align": "center",
"title_text": "",
"height": 5,
"bgcolor": "gray",
"html": "Throughput",
"y": 17,
"x": 44,
"font_size": "18",
"tick": true,
"tick_pos": "50%",
"width": 42,
"auto_refresh": false
}, {
"board_id": 94245,
"title_size": 16,
"title": true,
"refresh_every": 30000,
"type": "note",
"title_align": "left",
"tick_edge": "bottom",
"text_align": "center",
"title_text": "",
"height": 5,
"bgcolor": "gray",
"html": "Performance",
"y": 17,
"x": 88,
"font_size": "18",
"tick": true,
"tick_pos": "50%",
"width": 85,
"auto_refresh": false
}, {
"board_id": 94245,
"title_size": 16,
"title": true,
"refresh_every": 30000,
"type": "note",
"title_align": "left",
"tick_edge": "bottom",
"text_align": "center",
"title_text": "",
"height": 5,
"bgcolor": "gray",
"html": "Traffic Breakdown",
"y": 56,
"x": 44,
"font_size": "18",
"tick": true,
"tick_pos": "50%",
"width": 42,
"auto_refresh": false
}, {
"board_id": 94245,
"title_size": 16,
"title": true,
"refresh_every": 30000,
"type": "note",
"title_align": "left",
"tick_edge": "bottom",
"text_align": "center",
"title_text": "",
"height": 5,
"bgcolor": "gray",
"html": "Authentication Cache",
"y": 17,
"x": 0,
"font_size": "18",
"tick": true,
"tick_pos": "50%",
"width": 42,
"auto_refresh": false
}, {
"board_id": 94245,
"title_size": 16,
"title": true,
"refresh_every": 30000,
"type": "note",
"title_align": "left",
"tick_edge": "bottom",
"text_align": "center",
"title_text": "",
"height": 5,
"bgcolor": "gray",
"html": "Disk ",
"y": 56,
"x": 0,
"font_size": "18",
"tick": true,
"tick_pos": "50%",
"width": 42,
"auto_refresh": false
}, {
"board_id": 94245,
"title_size": 16,
"title": true,
"title_align": "left",
"title_text": "Unauthorized login attempt",
"height": 13,
"tile_def": {
"viz": "timeseries",
"requests": [{
"q": "per_minute(avg:couchdb.httpd_status_codes.401{*})",
"aggregator": "avg",
"conditional_formats": [],
"type": "line",
"style": {
"palette": "red"
}
}, {
"q": "per_minute(avg:couchdb.couchdb.auth_cache_misses{*})",
"conditional_formats": [],
"type": "bars",
"style": {
"palette": "orange"
}
}],
"markers": [{
"dim": "y",
"type": "error dashed",
"val": 3,
"value": "y = 3"
}]
},
"width": 42,
"timeframe": "4h",
"y": 39,
"x": 0,
"legend_size": "0",
"type": "timeseries",
"legend": false
}],
"shared": false,
"id": 94245,
"title_edited": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment