diff options
Diffstat (limited to '')
| -rw-r--r-- | plugin/mysql.json | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/plugin/mysql.json b/plugin/mysql.json new file mode 100644 index 0000000..e4dd6fc --- /dev/null +++ b/plugin/mysql.json | |||
| @@ -0,0 +1,143 @@ | |||
| 1 | { | ||
| 2 | "cache_result": { | ||
| 3 | "title": "MySQL query cache ({{PI}})", | ||
| 4 | "vertical": "Queries/s", | ||
| 5 | "type": "stacked", | ||
| 6 | "legend": { | ||
| 7 | "qcache-not_cached": { | ||
| 8 | "name": "Not Cached", | ||
| 9 | "color": "f0a000" | ||
| 10 | }, | ||
| 11 | "qcache-inserts": { | ||
| 12 | "name": "Inserts", | ||
| 13 | "color": "0000ff" | ||
| 14 | }, | ||
| 15 | "qcache-hits": { | ||
| 16 | "name": "Hits", | ||
| 17 | "color": "00e000" | ||
| 18 | }, | ||
| 19 | "qcache-prunes": { | ||
| 20 | "name": "Lowmem Prunes", | ||
| 21 | "color": "ff0000" | ||
| 22 | } | ||
| 23 | }, | ||
| 24 | "legend_format": "%5.1lf%s" | ||
| 25 | }, | ||
| 26 | "cache_size": { | ||
| 27 | "title": "MySQL query cache size ({{PI}})", | ||
| 28 | "vertical": "Queries in cache", | ||
| 29 | "type": "stacked", | ||
| 30 | "legend": { | ||
| 31 | "value": { | ||
| 32 | "name": "Queries" | ||
| 33 | } | ||
| 34 | }, | ||
| 35 | "legend_format": "%5.1lf%s" | ||
| 36 | }, | ||
| 37 | "mysql_commands": { | ||
| 38 | "title": "MySQL commands ({{PI}})", | ||
| 39 | "vertical": "Issues/s", | ||
| 40 | "type": "stacked", | ||
| 41 | "legend_format": "%5.1lf%s" | ||
| 42 | }, | ||
| 43 | "mysql_handler": { | ||
| 44 | "title": "MySQL handler ({{PI}})", | ||
| 45 | "vertical": "Invocations", | ||
| 46 | "type": "stacked", | ||
| 47 | "legend": { | ||
| 48 | "commit": { | ||
| 49 | "color": "ff0000" | ||
| 50 | }, | ||
| 51 | "delete": { | ||
| 52 | "color": "ff00e7" | ||
| 53 | }, | ||
| 54 | "read_first": { | ||
| 55 | "color": "cc00ff" | ||
| 56 | }, | ||
| 57 | "read_key": { | ||
| 58 | "color": "3200ff" | ||
| 59 | }, | ||
| 60 | "read_next": { | ||
| 61 | "color": "0065ff" | ||
| 62 | }, | ||
| 63 | "read_prev": { | ||
| 64 | "color": "00fff3" | ||
| 65 | }, | ||
| 66 | "read_rnd": { | ||
| 67 | "color": "00ff65" | ||
| 68 | }, | ||
| 69 | "read_rnd_next": { | ||
| 70 | "color": "33ff00" | ||
| 71 | }, | ||
| 72 | "update": { | ||
| 73 | "color": "cbff00" | ||
| 74 | }, | ||
| 75 | "write": { | ||
| 76 | "color": "ff9800" | ||
| 77 | }, | ||
| 78 | "rollback": { | ||
| 79 | "color": "000000" | ||
| 80 | } | ||
| 81 | }, | ||
| 82 | "legend_format": "%5.1lf%s" | ||
| 83 | }, | ||
| 84 | "mysql_locks": { | ||
| 85 | "title": "MySQL locks ({{PI}})", | ||
| 86 | "vertical": "locks", | ||
| 87 | "legend": { | ||
| 88 | "immediate": { | ||
| 89 | "color": "ff0000" | ||
| 90 | }, | ||
| 91 | "waited": { | ||
| 92 | "color": "00ff00" | ||
| 93 | } | ||
| 94 | }, | ||
| 95 | "legend_format": "%5.1lf%s" | ||
| 96 | }, | ||
| 97 | "mysql_octets": { | ||
| 98 | "title": "MySQL Traffic ({{TI}})", | ||
| 99 | "vertical": "Bits per second", | ||
| 100 | "type": "io", | ||
| 101 | "legend": { | ||
| 102 | "rx": { | ||
| 103 | "name": "Receive", | ||
| 104 | "color": "0000ff" | ||
| 105 | }, | ||
| 106 | "tx": { | ||
| 107 | "name": "Transmit", | ||
| 108 | "color": "00b000" | ||
| 109 | } | ||
| 110 | }, | ||
| 111 | "legend_format": "%5.1lf%s" | ||
| 112 | }, | ||
| 113 | "threads": { | ||
| 114 | "title": "MySQL threads ({{PI}})", | ||
| 115 | "vertical": "Threads", | ||
| 116 | "type": "stacked", | ||
| 117 | "legend": { | ||
| 118 | "cached": { | ||
| 119 | "name": "Cached", | ||
| 120 | "color": "00e000" | ||
| 121 | }, | ||
| 122 | "connected": { | ||
| 123 | "name": "Connected", | ||
| 124 | "color": "0000ff" | ||
| 125 | }, | ||
| 126 | "running": { | ||
| 127 | "name": "Running", | ||
| 128 | "color": "ff0000" | ||
| 129 | } | ||
| 130 | }, | ||
| 131 | "legend_format": "%5.1lf%s" | ||
| 132 | }, | ||
| 133 | "total_threads": { | ||
| 134 | "title": "MySQL created threads ({{PI}})", | ||
| 135 | "vertical": "Created Threads", | ||
| 136 | "legend": { | ||
| 137 | "value": { | ||
| 138 | "name": "Created" | ||
| 139 | } | ||
| 140 | }, | ||
| 141 | "legend_format": "%5.1lf%s" | ||
| 142 | } | ||
| 143 | } | ||
