szymski

Untitled

May 15th, 2021
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.41 KB | None | 0 0
  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": 1,
  19. "links": [],
  20. "panels": [
  21. {
  22. "aliasColors": {},
  23. "bars": false,
  24. "cacheTimeout": "",
  25. "dashLength": 10,
  26. "dashes": false,
  27. "datasource": "Graphite",
  28. "fieldConfig": {
  29. "defaults": {
  30. "custom": {},
  31. "mappings": [],
  32. "thresholds": {
  33. "mode": "absolute",
  34. "steps": [
  35. {
  36. "color": "green",
  37. "value": null
  38. },
  39. {
  40. "color": "red",
  41. "value": 80
  42. }
  43. ]
  44. }
  45. },
  46. "overrides": [
  47. {
  48. "matcher": {
  49. "id": "byName",
  50. "options": "movingAverage(stats.timers.discount.time.message_fetch.upper,5)"
  51. },
  52. "properties": [
  53. {
  54. "id": "displayName",
  55. "value": "Upper"
  56. }
  57. ]
  58. },
  59. {
  60. "matcher": {
  61. "id": "byName",
  62. "options": "movingAverage(stats.timers.discount.time.message_fetch.lower,5)"
  63. },
  64. "properties": [
  65. {
  66. "id": "displayName",
  67. "value": "Lower"
  68. }
  69. ]
  70. },
  71. {
  72. "matcher": {
  73. "id": "byName",
  74. "options": "movingAverage(stats.timers.discount.time.message_fetch.mean,5)"
  75. },
  76. "properties": [
  77. {
  78. "id": "displayName",
  79. "value": "Average"
  80. }
  81. ]
  82. }
  83. ]
  84. },
  85. "fill": 5,
  86. "fillGradient": 6,
  87. "gridPos": {
  88. "h": 8,
  89. "w": 12,
  90. "x": 0,
  91. "y": 0
  92. },
  93. "hiddenSeries": false,
  94. "id": 6,
  95. "interval": "",
  96. "legend": {
  97. "avg": false,
  98. "current": false,
  99. "max": false,
  100. "min": false,
  101. "show": true,
  102. "total": false,
  103. "values": false
  104. },
  105. "lines": true,
  106. "linewidth": 1,
  107. "maxDataPoints": 100,
  108. "nullPointMode": "connected",
  109. "options": {
  110. "alertThreshold": true
  111. },
  112. "percentage": false,
  113. "pluginVersion": "7.2.0",
  114. "pointradius": 2,
  115. "points": false,
  116. "renderer": "flot",
  117. "seriesOverrides": [],
  118. "spaceLength": 10,
  119. "stack": false,
  120. "steppedLine": false,
  121. "targets": [
  122. {
  123. "hide": false,
  124. "refCount": 0,
  125. "refId": "C",
  126. "target": "movingAverage(stats.timers.discount.time.message_fetch.upper, 5)",
  127. "textEditor": false
  128. },
  129. {
  130. "hide": false,
  131. "refCount": 0,
  132. "refId": "A",
  133. "target": "movingAverage(stats.timers.discount.time.message_fetch.mean, 5)"
  134. },
  135. {
  136. "refCount": 0,
  137. "refId": "B",
  138. "target": "movingAverage(stats.timers.discount.time.message_fetch.lower, 5)"
  139. }
  140. ],
  141. "thresholds": [],
  142. "timeFrom": null,
  143. "timeRegions": [],
  144. "timeShift": null,
  145. "title": "Message fetch delay",
  146. "tooltip": {
  147. "shared": true,
  148. "sort": 0,
  149. "value_type": "individual"
  150. },
  151. "type": "graph",
  152. "xaxis": {
  153. "buckets": null,
  154. "mode": "time",
  155. "name": null,
  156. "show": true,
  157. "values": []
  158. },
  159. "yaxes": [
  160. {
  161. "format": "ms",
  162. "label": "",
  163. "logBase": 1,
  164. "max": null,
  165. "min": null,
  166. "show": true
  167. },
  168. {
  169. "format": "short",
  170. "label": null,
  171. "logBase": 1,
  172. "max": null,
  173. "min": null,
  174. "show": true
  175. }
  176. ],
  177. "yaxis": {
  178. "align": false,
  179. "alignLevel": null
  180. }
  181. },
  182. {
  183. "aliasColors": {},
  184. "bars": true,
  185. "dashLength": 10,
  186. "dashes": false,
  187. "datasource": "Graphite",
  188. "fieldConfig": {
  189. "defaults": {
  190. "custom": {},
  191. "mappings": [],
  192. "thresholds": {
  193. "mode": "absolute",
  194. "steps": [
  195. {
  196. "color": "green",
  197. "value": null
  198. },
  199. {
  200. "color": "red",
  201. "value": 80
  202. }
  203. ]
  204. }
  205. },
  206. "overrides": [
  207. {
  208. "matcher": {
  209. "id": "byName",
  210. "options": "stats.discount.messages.saved"
  211. },
  212. "properties": [
  213. {
  214. "id": "displayName",
  215. "value": "Saved"
  216. }
  217. ]
  218. },
  219. {
  220. "matcher": {
  221. "id": "byName",
  222. "options": "stats.discount.messages.fetch_failed"
  223. },
  224. "properties": [
  225. {
  226. "id": "links"
  227. }
  228. ]
  229. }
  230. ]
  231. },
  232. "fill": 1,
  233. "fillGradient": 0,
  234. "gridPos": {
  235. "h": 9,
  236. "w": 12,
  237. "x": 0,
  238. "y": 8
  239. },
  240. "hiddenSeries": false,
  241. "id": 2,
  242. "interval": "1",
  243. "legend": {
  244. "avg": false,
  245. "current": false,
  246. "max": false,
  247. "min": false,
  248. "show": true,
  249. "total": false,
  250. "values": false
  251. },
  252. "lines": false,
  253. "linewidth": 1,
  254. "nullPointMode": "connected",
  255. "options": {
  256. "alertThreshold": false
  257. },
  258. "percentage": false,
  259. "pluginVersion": "7.2.0",
  260. "pointradius": 2,
  261. "points": false,
  262. "renderer": "flot",
  263. "seriesOverrides": [
  264. {
  265. "alias": "Saved",
  266. "color": "rgb(0, 65, 232)"
  267. }
  268. ],
  269. "spaceLength": 10,
  270. "stack": false,
  271. "steppedLine": false,
  272. "targets": [
  273. {
  274. "refCount": 0,
  275. "refId": "A",
  276. "target": "stats.discount.messages.fetched",
  277. "textEditor": false
  278. },
  279. {
  280. "refCount": 0,
  281. "refId": "B",
  282. "target": "stats.discount.messages.ignored"
  283. },
  284. {
  285. "hide": false,
  286. "refCount": 0,
  287. "refId": "D",
  288. "target": "stats.discount.messages.fetch_failed"
  289. }
  290. ],
  291. "thresholds": [],
  292. "timeFrom": null,
  293. "timeRegions": [],
  294. "timeShift": null,
  295. "title": "Fetched messages",
  296. "tooltip": {
  297. "shared": true,
  298. "sort": 0,
  299. "value_type": "individual"
  300. },
  301. "type": "graph",
  302. "xaxis": {
  303. "buckets": null,
  304. "mode": "time",
  305. "name": null,
  306. "show": true,
  307. "values": []
  308. },
  309. "yaxes": [
  310. {
  311. "decimals": 0,
  312. "format": "short",
  313. "label": null,
  314. "logBase": 1,
  315. "max": null,
  316. "min": null,
  317. "show": true
  318. },
  319. {
  320. "format": "short",
  321. "label": null,
  322. "logBase": 1,
  323. "max": null,
  324. "min": null,
  325. "show": true
  326. }
  327. ],
  328. "yaxis": {
  329. "align": false,
  330. "alignLevel": null
  331. }
  332. },
  333. {
  334. "datasource": null,
  335. "description": "",
  336. "fieldConfig": {
  337. "defaults": {
  338. "custom": {
  339. "align": null,
  340. "filterable": false
  341. },
  342. "mappings": [],
  343. "thresholds": {
  344. "mode": "absolute",
  345. "steps": [
  346. {
  347. "color": "green",
  348. "value": null
  349. }
  350. ]
  351. }
  352. },
  353. "overrides": []
  354. },
  355. "gridPos": {
  356. "h": 4,
  357. "w": 5,
  358. "x": 0,
  359. "y": 17
  360. },
  361. "id": 4,
  362. "options": {
  363. "colorMode": "value",
  364. "graphMode": "area",
  365. "justifyMode": "auto",
  366. "orientation": "auto",
  367. "reduceOptions": {
  368. "calcs": [
  369. "lastNotNull"
  370. ],
  371. "fields": "",
  372. "values": false
  373. },
  374. "textMode": "auto"
  375. },
  376. "pluginVersion": "7.2.0",
  377. "targets": [
  378. {
  379. "refId": "A",
  380. "target": "stats.gauges.discount.messages.current_id"
  381. }
  382. ],
  383. "timeFrom": null,
  384. "timeShift": null,
  385. "title": "Current message id",
  386. "type": "stat"
  387. },
  388. {
  389. "datasource": null,
  390. "description": "",
  391. "fieldConfig": {
  392. "defaults": {
  393. "custom": {
  394. "align": null,
  395. "filterable": false
  396. },
  397. "mappings": [],
  398. "thresholds": {
  399. "mode": "absolute",
  400. "steps": [
  401. {
  402. "color": "green",
  403. "value": null
  404. }
  405. ]
  406. }
  407. },
  408. "overrides": []
  409. },
  410. "gridPos": {
  411. "h": 4,
  412. "w": 2,
  413. "x": 5,
  414. "y": 17
  415. },
  416. "id": 12,
  417. "options": {
  418. "colorMode": "value",
  419. "graphMode": "area",
  420. "justifyMode": "auto",
  421. "orientation": "auto",
  422. "reduceOptions": {
  423. "calcs": [
  424. "lastNotNull"
  425. ],
  426. "fields": "",
  427. "values": false
  428. },
  429. "textMode": "auto"
  430. },
  431. "pluginVersion": "7.2.0",
  432. "targets": [
  433. {
  434. "refId": "A",
  435. "target": "stats.gauges.discount.messages.last_good_id"
  436. }
  437. ],
  438. "timeFrom": null,
  439. "timeShift": null,
  440. "title": "Last good message id",
  441. "type": "stat"
  442. },
  443. {
  444. "datasource": null,
  445. "description": "",
  446. "fieldConfig": {
  447. "defaults": {
  448. "custom": {},
  449. "decimals": 0,
  450. "mappings": [],
  451. "thresholds": {
  452. "mode": "absolute",
  453. "steps": [
  454. {
  455. "color": "green",
  456. "value": null
  457. },
  458. {
  459. "color": "orange",
  460. "value": 50
  461. }
  462. ]
  463. }
  464. },
  465. "overrides": []
  466. },
  467. "gridPos": {
  468. "h": 4,
  469. "w": 2,
  470. "x": 7,
  471. "y": 17
  472. },
  473. "id": 14,
  474. "options": {
  475. "colorMode": "value",
  476. "graphMode": "area",
  477. "justifyMode": "auto",
  478. "orientation": "auto",
  479. "reduceOptions": {
  480. "calcs": [
  481. "mean"
  482. ],
  483. "fields": "",
  484. "values": false
  485. },
  486. "textMode": "auto"
  487. },
  488. "pluginVersion": "7.2.0",
  489. "targets": [
  490. {
  491. "hide": false,
  492. "refCount": 0,
  493. "refId": "A",
  494. "target": "stats.gauges.discount.messages.current_id",
  495. "textEditor": true
  496. },
  497. {
  498. "hide": false,
  499. "refCount": 0,
  500. "refId": "B",
  501. "target": "stats.gauges.discount.messages.last_good_id",
  502. "textEditor": false
  503. }
  504. ],
  505. "timeFrom": null,
  506. "timeShift": null,
  507. "title": "Messages ahead",
  508. "transformations": [
  509. {
  510. "id": "calculateField",
  511. "options": {
  512. "binary": {
  513. "left": "stats.gauges.discount.messages.current_id",
  514. "operator": "-",
  515. "reducer": "sum",
  516. "right": "stats.gauges.discount.messages.last_good_id"
  517. },
  518. "mode": "binary",
  519. "reduce": {
  520. "include": [],
  521. "reducer": "sum"
  522. },
  523. "replaceFields": true
  524. }
  525. }
  526. ],
  527. "type": "stat"
  528. },
  529. {
  530. "datasource": null,
  531. "fieldConfig": {
  532. "defaults": {
  533. "custom": {},
  534. "mappings": [
  535. {
  536. "from": "",
  537. "id": 0,
  538. "text": "Running",
  539. "to": "",
  540. "type": 1,
  541. "value": "1"
  542. },
  543. {
  544. "from": "",
  545. "id": 1,
  546. "text": "Waiting",
  547. "to": "",
  548. "type": 1,
  549. "value": "0"
  550. }
  551. ],
  552. "thresholds": {
  553. "mode": "absolute",
  554. "steps": [
  555. {
  556. "color": "semi-dark-orange",
  557. "value": null
  558. },
  559. {
  560. "color": "semi-dark-green",
  561. "value": 1
  562. }
  563. ]
  564. }
  565. },
  566. "overrides": []
  567. },
  568. "gridPos": {
  569. "h": 4,
  570. "w": 3,
  571. "x": 9,
  572. "y": 17
  573. },
  574. "id": 10,
  575. "options": {
  576. "colorMode": "value",
  577. "graphMode": "area",
  578. "justifyMode": "auto",
  579. "orientation": "auto",
  580. "reduceOptions": {
  581. "calcs": [
  582. "lastNotNull"
  583. ],
  584. "fields": "",
  585. "values": false
  586. },
  587. "textMode": "auto"
  588. },
  589. "pluginVersion": "7.2.0",
  590. "targets": [
  591. {
  592. "refId": "A",
  593. "target": "stats.gauges.discount.running"
  594. }
  595. ],
  596. "timeFrom": null,
  597. "timeShift": null,
  598. "title": "Running",
  599. "type": "stat"
  600. }
  601. ],
  602. "refresh": false,
  603. "schemaVersion": 26,
  604. "style": "dark",
  605. "tags": [],
  606. "templating": {
  607. "list": []
  608. },
  609. "time": {
  610. "from": "now-5m",
  611. "to": "now"
  612. },
  613. "timepicker": {},
  614. "timezone": "",
  615. "title": "Discount",
  616. "uid": "fuKwplCGk",
  617. "version": 21
  618. }
Advertisement
Add Comment
Please, Sign In to add comment