Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.28 KB | None | 0 0
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": "Prometheus",
  7. "enable": true,
  8. "hide": true,
  9. "iconColor": "rgba(0, 211, 255, 1)",
  10. "limit": 100,
  11. "name": "Annotations & Alerts",
  12. "showIn": 0,
  13. "type": "dashboard"
  14. }
  15. ]
  16. },
  17. "editable": true,
  18. "gnetId": null,
  19. "graphTooltip": 0,
  20. "id": 1,
  21. "iteration": 1553087079539,
  22. "links": [],
  23. "panels": [
  24. {
  25. "aliasColors": {},
  26. "bars": false,
  27. "dashLength": 10,
  28. "dashes": false,
  29. "fill": 1,
  30. "gridPos": {
  31. "h": 6,
  32. "w": 14,
  33. "x": 0,
  34. "y": 0
  35. },
  36. "id": 2,
  37. "legend": {
  38. "alignAsTable": false,
  39. "avg": false,
  40. "current": false,
  41. "hideEmpty": false,
  42. "hideZero": true,
  43. "max": false,
  44. "min": false,
  45. "rightSide": true,
  46. "show": true,
  47. "total": false,
  48. "values": false
  49. },
  50. "lines": true,
  51. "linewidth": 1,
  52. "links": [],
  53. "nullPointMode": "null",
  54. "paceLength": 10,
  55. "percentage": false,
  56. "pointradius": 2,
  57. "points": false,
  58. "renderer": "flot",
  59. "seriesOverrides": [],
  60. "stack": false,
  61. "steppedLine": false,
  62. "targets": [
  63. {
  64. "expr": "irate(quassel_network_bytes_sent{user=~\"^$user$\"}[5m])",
  65. "format": "time_series",
  66. "hide": false,
  67. "intervalFactor": 1,
  68. "legendFormat": "-> {{ user }}",
  69. "refId": "A"
  70. },
  71. {
  72. "expr": "-irate(quassel_network_bytes_received{user=~\"^$user$\"}[5m])",
  73. "format": "time_series",
  74. "intervalFactor": 1,
  75. "legendFormat": "<- {{ user }}",
  76. "refId": "B"
  77. }
  78. ],
  79. "thresholds": [],
  80. "timeFrom": null,
  81. "timeRegions": [],
  82. "timeShift": null,
  83. "title": "Network Traffic",
  84. "tooltip": {
  85. "shared": true,
  86. "sort": 0,
  87. "value_type": "individual"
  88. },
  89. "type": "graph",
  90. "xaxis": {
  91. "buckets": null,
  92. "mode": "time",
  93. "name": null,
  94. "show": true,
  95. "values": []
  96. },
  97. "yaxes": [
  98. {
  99. "format": "bytes",
  100. "label": null,
  101. "logBase": 1,
  102. "max": null,
  103. "min": null,
  104. "show": true
  105. },
  106. {
  107. "format": "short",
  108. "label": null,
  109. "logBase": 1,
  110. "max": null,
  111. "min": null,
  112. "show": true
  113. }
  114. ],
  115. "yaxis": {
  116. "align": false,
  117. "alignLevel": null
  118. }
  119. },
  120. {
  121. "cacheTimeout": null,
  122. "colorBackground": true,
  123. "colorValue": false,
  124. "colors": [
  125. "#d44a3a",
  126. "rgba(237, 129, 40, 0.89)",
  127. "#299c46"
  128. ],
  129. "decimals": 0,
  130. "format": "percentunit",
  131. "gauge": {
  132. "maxValue": 100,
  133. "minValue": 0,
  134. "show": false,
  135. "thresholdLabels": false,
  136. "thresholdMarkers": true
  137. },
  138. "gridPos": {
  139. "h": 6,
  140. "w": 5,
  141. "x": 14,
  142. "y": 0
  143. },
  144. "id": 12,
  145. "interval": null,
  146. "links": [],
  147. "mappingType": 1,
  148. "mappingTypes": [
  149. {
  150. "name": "value to text",
  151. "value": 1
  152. },
  153. {
  154. "name": "range to text",
  155. "value": 2
  156. }
  157. ],
  158. "maxDataPoints": 100,
  159. "nullPointMode": "connected",
  160. "nullText": null,
  161. "postfix": "",
  162. "postfixFontSize": "50%",
  163. "prefix": "",
  164. "prefixFontSize": "50%",
  165. "rangeMaps": [
  166. {
  167. "from": "null",
  168. "text": "N/A",
  169. "to": "null"
  170. }
  171. ],
  172. "sparkline": {
  173. "fillColor": "rgba(31, 118, 189, 0.18)",
  174. "full": true,
  175. "lineColor": "rgb(31, 120, 193)",
  176. "show": false
  177. },
  178. "tableColumn": "",
  179. "targets": [
  180. {
  181. "expr": "sum(quassel_login{successful=\"true\"})/sum(quassel_login)",
  182. "format": "time_series",
  183. "instant": true,
  184. "intervalFactor": 1,
  185. "refId": "A"
  186. }
  187. ],
  188. "thresholds": "0.5, 0.8",
  189. "timeFrom": null,
  190. "timeShift": null,
  191. "title": "Successful Login Attempts",
  192. "type": "singlestat",
  193. "valueFontSize": "80%",
  194. "valueMaps": [
  195. {
  196. "op": "=",
  197. "text": "N/A",
  198. "value": "null"
  199. }
  200. ],
  201. "valueName": "avg"
  202. },
  203. {
  204. "cacheTimeout": null,
  205. "colorBackground": true,
  206. "colorPostfix": false,
  207. "colorPrefix": false,
  208. "colorValue": false,
  209. "colors": [
  210. "#d44a3a",
  211. "rgba(237, 129, 40, 0.89)",
  212. "#299c46"
  213. ],
  214. "decimals": 0,
  215. "format": "s",
  216. "gauge": {
  217. "maxValue": 100,
  218. "minValue": 0,
  219. "show": false,
  220. "thresholdLabels": false,
  221. "thresholdMarkers": true
  222. },
  223. "gridPos": {
  224. "h": 6,
  225. "w": 5,
  226. "x": 19,
  227. "y": 0
  228. },
  229. "id": 10,
  230. "interval": null,
  231. "links": [],
  232. "mappingType": 1,
  233. "mappingTypes": [
  234. {
  235. "name": "value to text",
  236. "value": 1
  237. },
  238. {
  239. "name": "range to text",
  240. "value": 2
  241. }
  242. ],
  243. "maxDataPoints": 100,
  244. "nullPointMode": "connected",
  245. "nullText": null,
  246. "postfix": "",
  247. "postfixFontSize": "50%",
  248. "prefix": "",
  249. "prefixFontSize": "50%",
  250. "rangeMaps": [
  251. {
  252. "from": "null",
  253. "text": "N/A",
  254. "to": "null"
  255. }
  256. ],
  257. "sparkline": {
  258. "fillColor": "rgba(31, 118, 189, 0.18)",
  259. "full": false,
  260. "lineColor": "rgb(31, 120, 193)",
  261. "show": false
  262. },
  263. "tableColumn": "Value",
  264. "targets": [
  265. {
  266. "expr": "quassel_ssl_expire_time_seconds - time() ",
  267. "format": "table",
  268. "instant": true,
  269. "intervalFactor": 1,
  270. "legendFormat": "",
  271. "refId": "A"
  272. }
  273. ],
  274. "thresholds": "0,691200",
  275. "timeFrom": null,
  276. "timeShift": null,
  277. "title": "Certificate Expiry",
  278. "type": "singlestat",
  279. "valueFontSize": "80%",
  280. "valueMaps": [
  281. {
  282. "op": "=",
  283. "text": "N/A",
  284. "value": "null"
  285. }
  286. ],
  287. "valueName": "avg"
  288. },
  289. {
  290. "aliasColors": {},
  291. "bars": false,
  292. "dashLength": 10,
  293. "dashes": false,
  294. "fill": 1,
  295. "gridPos": {
  296. "h": 6,
  297. "w": 8,
  298. "x": 0,
  299. "y": 6
  300. },
  301. "id": 8,
  302. "legend": {
  303. "alignAsTable": true,
  304. "avg": false,
  305. "current": false,
  306. "max": false,
  307. "min": false,
  308. "rightSide": true,
  309. "show": true,
  310. "total": false,
  311. "values": false
  312. },
  313. "lines": true,
  314. "linewidth": 1,
  315. "links": [],
  316. "nullPointMode": "null",
  317. "paceLength": 10,
  318. "percentage": false,
  319. "pointradius": 2,
  320. "points": false,
  321. "renderer": "flot",
  322. "seriesOverrides": [],
  323. "stack": false,
  324. "steppedLine": false,
  325. "targets": [
  326. {
  327. "expr": "quassel_message_queue{user=~\"^$user$\"}",
  328. "format": "time_series",
  329. "intervalFactor": 1,
  330. "legendFormat": "{{user}}",
  331. "refId": "A"
  332. }
  333. ],
  334. "thresholds": [],
  335. "timeFrom": null,
  336. "timeRegions": [],
  337. "timeShift": null,
  338. "title": "Message Queue",
  339. "tooltip": {
  340. "shared": true,
  341. "sort": 0,
  342. "value_type": "individual"
  343. },
  344. "type": "graph",
  345. "xaxis": {
  346. "buckets": null,
  347. "mode": "time",
  348. "name": null,
  349. "show": true,
  350. "values": []
  351. },
  352. "yaxes": [
  353. {
  354. "decimals": 0,
  355. "format": "short",
  356. "label": null,
  357. "logBase": 1,
  358. "max": null,
  359. "min": "0",
  360. "show": true
  361. },
  362. {
  363. "format": "short",
  364. "label": null,
  365. "logBase": 1,
  366. "max": null,
  367. "min": null,
  368. "show": false
  369. }
  370. ],
  371. "yaxis": {
  372. "align": false,
  373. "alignLevel": null
  374. }
  375. },
  376. {
  377. "aliasColors": {},
  378. "bars": false,
  379. "dashLength": 10,
  380. "dashes": false,
  381. "fill": 1,
  382. "gridPos": {
  383. "h": 6,
  384. "w": 8,
  385. "x": 8,
  386. "y": 6
  387. },
  388. "id": 4,
  389. "legend": {
  390. "alignAsTable": true,
  391. "avg": false,
  392. "current": false,
  393. "max": false,
  394. "min": false,
  395. "rightSide": true,
  396. "show": true,
  397. "total": false,
  398. "values": false
  399. },
  400. "lines": true,
  401. "linewidth": 1,
  402. "links": [],
  403. "nullPointMode": "null",
  404. "paceLength": 10,
  405. "percentage": false,
  406. "pointradius": 2,
  407. "points": false,
  408. "renderer": "flot",
  409. "seriesOverrides": [],
  410. "stack": false,
  411. "steppedLine": false,
  412. "targets": [
  413. {
  414. "expr": "quassel_client_sessions{user=~\"^$user$\"}",
  415. "format": "time_series",
  416. "intervalFactor": 1,
  417. "legendFormat": "{{user}}",
  418. "refId": "A"
  419. }
  420. ],
  421. "thresholds": [],
  422. "timeFrom": null,
  423. "timeRegions": [],
  424. "timeShift": null,
  425. "title": "Client Sessions",
  426. "tooltip": {
  427. "shared": true,
  428. "sort": 0,
  429. "value_type": "individual"
  430. },
  431. "type": "graph",
  432. "xaxis": {
  433. "buckets": null,
  434. "mode": "time",
  435. "name": null,
  436. "show": true,
  437. "values": []
  438. },
  439. "yaxes": [
  440. {
  441. "decimals": 0,
  442. "format": "short",
  443. "label": null,
  444. "logBase": 1,
  445. "max": null,
  446. "min": "0",
  447. "show": true
  448. },
  449. {
  450. "decimals": 0,
  451. "format": "short",
  452. "label": null,
  453. "logBase": 1,
  454. "max": null,
  455. "min": null,
  456. "show": false
  457. }
  458. ],
  459. "yaxis": {
  460. "align": false,
  461. "alignLevel": null
  462. }
  463. },
  464. {
  465. "aliasColors": {},
  466. "bars": false,
  467. "dashLength": 10,
  468. "dashes": false,
  469. "fill": 1,
  470. "gridPos": {
  471. "h": 6,
  472. "w": 8,
  473. "x": 16,
  474. "y": 6
  475. },
  476. "id": 6,
  477. "legend": {
  478. "alignAsTable": true,
  479. "avg": false,
  480. "current": false,
  481. "max": false,
  482. "min": false,
  483. "rightSide": true,
  484. "show": true,
  485. "total": false,
  486. "values": false
  487. },
  488. "lines": true,
  489. "linewidth": 1,
  490. "links": [],
  491. "nullPointMode": "null",
  492. "paceLength": 10,
  493. "percentage": false,
  494. "pointradius": 2,
  495. "points": false,
  496. "renderer": "flot",
  497. "seriesOverrides": [],
  498. "stack": false,
  499. "steppedLine": false,
  500. "targets": [
  501. {
  502. "expr": "quassel_network_sessions{user=~\"^$user$\"}",
  503. "format": "time_series",
  504. "intervalFactor": 1,
  505. "legendFormat": "{{ user }}",
  506. "refId": "A"
  507. }
  508. ],
  509. "thresholds": [],
  510. "timeFrom": null,
  511. "timeRegions": [],
  512. "timeShift": null,
  513. "title": "Network Sessions",
  514. "tooltip": {
  515. "shared": true,
  516. "sort": 0,
  517. "value_type": "individual"
  518. },
  519. "type": "graph",
  520. "xaxis": {
  521. "buckets": null,
  522. "mode": "time",
  523. "name": null,
  524. "show": true,
  525. "values": []
  526. },
  527. "yaxes": [
  528. {
  529. "decimals": 0,
  530. "format": "short",
  531. "label": null,
  532. "logBase": 1,
  533. "max": null,
  534. "min": "0",
  535. "show": true
  536. },
  537. {
  538. "format": "short",
  539. "label": null,
  540. "logBase": 1,
  541. "max": null,
  542. "min": null,
  543. "show": false
  544. }
  545. ],
  546. "yaxis": {
  547. "align": false,
  548. "alignLevel": null
  549. }
  550. }
  551. ],
  552. "schemaVersion": 18,
  553. "style": "dark",
  554. "tags": [],
  555. "templating": {
  556. "list": [
  557. {
  558. "allValue": null,
  559. "current": {
  560. "selected": true,
  561. "tags": [],
  562. "text": "All",
  563. "value": "$__all"
  564. },
  565. "datasource": "Prometheus",
  566. "definition": "label_values(user)",
  567. "hide": 0,
  568. "includeAll": true,
  569. "label": "User",
  570. "multi": false,
  571. "name": "user",
  572. "options": [
  573. {
  574. "selected": true,
  575. "text": "All",
  576. "value": "$__all"
  577. },
  578. {
  579. "selected": false,
  580. "text": "1",
  581. "value": "1"
  582. },
  583. {
  584. "selected": false,
  585. "text": "user",
  586. "value": "user"
  587. }
  588. ],
  589. "query": "label_values(user)",
  590. "refresh": 0,
  591. "regex": "",
  592. "skipUrlSync": false,
  593. "sort": 0,
  594. "tagValuesQuery": "",
  595. "tags": [],
  596. "tagsQuery": "",
  597. "type": "query",
  598. "useTags": false
  599. }
  600. ]
  601. },
  602. "time": {
  603. "from": "now-15m",
  604. "to": "now"
  605. },
  606. "timepicker": {
  607. "refresh_intervals": [
  608. "5s",
  609. "10s",
  610. "30s",
  611. "1m",
  612. "5m",
  613. "15m",
  614. "30m",
  615. "1h",
  616. "2h",
  617. "1d"
  618. ],
  619. "time_options": [
  620. "5m",
  621. "15m",
  622. "1h",
  623. "6h",
  624. "12h",
  625. "24h",
  626. "2d",
  627. "7d",
  628. "30d"
  629. ]
  630. },
  631. "timezone": "",
  632. "title": "Quassel",
  633. "uid": "E8fqFh3mk",
  634. "version": 4
  635. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement