wordpress_grafana.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "-- Grafana --",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "name": "Annotations & Alerts",
  11. "type": "dashboard"
  12. }
  13. ]
  14. },
  15. "editable": true,
  16. "gnetId": null,
  17. "graphTooltip": 0,
  18. "id": 4,
  19. "links": [],
  20. "panels": [
  21. {
  22. "cacheTimeout": null,
  23. "colorBackground": false,
  24. "colorValue": true,
  25. "colors": [
  26. "#299c46",
  27. "rgba(237, 129, 40, 0.89)",
  28. "#d44a3a"
  29. ],
  30. "datasource": "prom1",
  31. "format": "none",
  32. "gauge": {
  33. "maxValue": 100,
  34. "minValue": 0,
  35. "show": false,
  36. "thresholdLabels": false,
  37. "thresholdMarkers": true
  38. },
  39. "gridPos": {
  40. "h": 9,
  41. "w": 12,
  42. "x": 0,
  43. "y": 0
  44. },
  45. "id": 6,
  46. "interval": null,
  47. "links": [],
  48. "mappingType": 1,
  49. "mappingTypes": [
  50. {
  51. "name": "value to text",
  52. "value": 1
  53. },
  54. {
  55. "name": "range to text",
  56. "value": 2
  57. }
  58. ],
  59. "maxDataPoints": 100,
  60. "nullPointMode": "connected",
  61. "nullText": null,
  62. "postfix": "",
  63. "postfixFontSize": "50%",
  64. "prefix": "",
  65. "prefixFontSize": "50%",
  66. "rangeMaps": [
  67. {
  68. "from": "null",
  69. "text": "N/A",
  70. "to": "null"
  71. }
  72. ],
  73. "sparkline": {
  74. "fillColor": "rgba(31, 118, 189, 0.18)",
  75. "full": false,
  76. "lineColor": "rgb(31, 120, 193)",
  77. "show": false
  78. },
  79. "tableColumn": "",
  80. "targets": [
  81. {
  82. "expr": "wp_num_comments_metric",
  83. "format": "time_series",
  84. "intervalFactor": 1,
  85. "refId": "A"
  86. }
  87. ],
  88. "thresholds": "",
  89. "title": "Number of comments",
  90. "type": "singlestat",
  91. "valueFontSize": "80%",
  92. "valueMaps": [
  93. {
  94. "op": "=",
  95. "text": "N/A",
  96. "value": "null"
  97. }
  98. ],
  99. "valueName": "current"
  100. },
  101. {
  102. "cacheTimeout": null,
  103. "colorBackground": false,
  104. "colorValue": true,
  105. "colors": [
  106. "#629e51",
  107. "#5195ce",
  108. "#d44a3a"
  109. ],
  110. "datasource": "prom1",
  111. "format": "none",
  112. "gauge": {
  113. "maxValue": 100,
  114. "minValue": 0,
  115. "show": false,
  116. "thresholdLabels": false,
  117. "thresholdMarkers": true
  118. },
  119. "gridPos": {
  120. "h": 9,
  121. "w": 12,
  122. "x": 12,
  123. "y": 0
  124. },
  125. "id": 2,
  126. "interval": null,
  127. "links": [],
  128. "mappingType": 1,
  129. "mappingTypes": [
  130. {
  131. "name": "value to text",
  132. "value": 1
  133. },
  134. {
  135. "name": "range to text",
  136. "value": 2
  137. }
  138. ],
  139. "maxDataPoints": 100,
  140. "nullPointMode": "connected",
  141. "nullText": null,
  142. "postfix": "",
  143. "postfixFontSize": "50%",
  144. "prefix": "",
  145. "prefixFontSize": "50%",
  146. "rangeMaps": [
  147. {
  148. "from": "null",
  149. "text": "N/A",
  150. "to": "null"
  151. }
  152. ],
  153. "sparkline": {
  154. "fillColor": "rgba(31, 118, 189, 0.18)",
  155. "full": false,
  156. "lineColor": "rgb(31, 120, 193)",
  157. "show": false
  158. },
  159. "tableColumn": "__name__",
  160. "targets": [
  161. {
  162. "expr": "wp_num_users_metric",
  163. "format": "time_series",
  164. "instant": false,
  165. "intervalFactor": 1,
  166. "refId": "A"
  167. }
  168. ],
  169. "thresholds": "",
  170. "title": "WordPress number of registered users",
  171. "type": "singlestat",
  172. "valueFontSize": "80%",
  173. "valueMaps": [
  174. {
  175. "op": "=",
  176. "text": "N/A",
  177. "value": "null"
  178. }
  179. ],
  180. "valueName": "current"
  181. },
  182. {
  183. "aliasColors": {},
  184. "bars": false,
  185. "dashLength": 10,
  186. "dashes": false,
  187. "datasource": "prom1",
  188. "fill": 1,
  189. "gridPos": {
  190. "h": 9,
  191. "w": 12,
  192. "x": 0,
  193. "y": 9
  194. },
  195. "id": 4,
  196. "legend": {
  197. "avg": false,
  198. "current": false,
  199. "max": false,
  200. "min": false,
  201. "show": true,
  202. "total": false,
  203. "values": false
  204. },
  205. "lines": true,
  206. "linewidth": 1,
  207. "links": [],
  208. "nullPointMode": "null",
  209. "percentage": false,
  210. "pointradius": 5,
  211. "points": false,
  212. "renderer": "flot",
  213. "seriesOverrides": [],
  214. "spaceLength": 10,
  215. "stack": false,
  216. "steppedLine": false,
  217. "targets": [
  218. {
  219. "expr": "wp_num_posts_metric",
  220. "format": "time_series",
  221. "instant": false,
  222. "intervalFactor": 1,
  223. "legendFormat": "",
  224. "refId": "A"
  225. }
  226. ],
  227. "thresholds": [],
  228. "timeFrom": null,
  229. "timeShift": null,
  230. "title": "Number of WordPress posts",
  231. "tooltip": {
  232. "shared": true,
  233. "sort": 0,
  234. "value_type": "individual"
  235. },
  236. "type": "graph",
  237. "xaxis": {
  238. "buckets": null,
  239. "mode": "time",
  240. "name": null,
  241. "show": true,
  242. "values": []
  243. },
  244. "yaxes": [
  245. {
  246. "format": "short",
  247. "label": null,
  248. "logBase": 1,
  249. "max": null,
  250. "min": null,
  251. "show": true
  252. },
  253. {
  254. "format": "short",
  255. "label": null,
  256. "logBase": 1,
  257. "max": null,
  258. "min": null,
  259. "show": true
  260. }
  261. ],
  262. "yaxis": {
  263. "align": false,
  264. "alignLevel": null
  265. }
  266. }
  267. ],
  268. "schemaVersion": 16,
  269. "style": "dark",
  270. "tags": [],
  271. "templating": {
  272. "list": []
  273. },
  274. "time": {
  275. "from": "now-6h",
  276. "to": "now"
  277. },
  278. "timepicker": {
  279. "refresh_intervals": [
  280. "5s",
  281. "10s",
  282. "30s",
  283. "1m",
  284. "5m",
  285. "15m",
  286. "30m",
  287. "1h",
  288. "2h",
  289. "1d"
  290. ],
  291. "time_options": [
  292. "5m",
  293. "15m",
  294. "1h",
  295. "6h",
  296. "12h",
  297. "24h",
  298. "2d",
  299. "7d",
  300. "30d"
  301. ]
  302. },
  303. "timezone": "",
  304. "title": "WordPress exporter dashboard",
  305. "uid": "qtFzy1dik",
  306. "version": 6
  307. }