grafana-dashboard.sample.json 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246
  1. {
  2. "annotations": {
  3. "list": [
  4. {
  5. "builtIn": 1,
  6. "datasource": {
  7. "type": "grafana",
  8. "uid": "-- Grafana --"
  9. },
  10. "enable": true,
  11. "hide": true,
  12. "iconColor": "rgba(0, 211, 255, 1)",
  13. "name": "Annotations & Alerts",
  14. "type": "dashboard"
  15. }
  16. ]
  17. },
  18. "editable": true,
  19. "fiscalYearStartMonth": 0,
  20. "graphTooltip": 0,
  21. "id": 86,
  22. "links": [],
  23. "panels": [
  24. {
  25. "collapsed": false,
  26. "gridPos": {
  27. "h": 1,
  28. "w": 24,
  29. "x": 0,
  30. "y": 0
  31. },
  32. "id": 15,
  33. "panels": [],
  34. "title": "Configured Price Feeds",
  35. "type": "row"
  36. },
  37. {
  38. "datasource": {
  39. "type": "prometheus",
  40. "uid": "edryyydtht14wa"
  41. },
  42. "fieldConfig": {
  43. "defaults": {
  44. "color": {
  45. "mode": "thresholds"
  46. },
  47. "mappings": [],
  48. "thresholds": {
  49. "mode": "absolute",
  50. "steps": [
  51. {
  52. "color": "green",
  53. "value": null
  54. }
  55. ]
  56. },
  57. "unit": "none"
  58. },
  59. "overrides": []
  60. },
  61. "gridPos": {
  62. "h": 6,
  63. "w": 12,
  64. "x": 0,
  65. "y": 1
  66. },
  67. "id": 9,
  68. "options": {
  69. "colorMode": "value",
  70. "graphMode": "none",
  71. "justifyMode": "auto",
  72. "orientation": "auto",
  73. "percentChangeColorMode": "standard",
  74. "reduceOptions": {
  75. "calcs": [
  76. "lastNotNull"
  77. ],
  78. "fields": "",
  79. "values": false
  80. },
  81. "showPercentChange": false,
  82. "textMode": "value",
  83. "wideLayout": true
  84. },
  85. "pluginVersion": "11.1.0",
  86. "repeat": "chain",
  87. "repeatDirection": "h",
  88. "targets": [
  89. {
  90. "datasource": {
  91. "type": "prometheus",
  92. "uid": "edryyydtht14wa"
  93. },
  94. "editorMode": "code",
  95. "expr": "pyth_price_feeds_total{namespace=\"$chain\"}",
  96. "instant": true,
  97. "legendFormat": "{{namespace}}",
  98. "range": false,
  99. "refId": "A"
  100. }
  101. ],
  102. "title": "Configured Price Feeds: ${chain}",
  103. "type": "stat"
  104. },
  105. {
  106. "collapsed": false,
  107. "gridPos": {
  108. "h": 1,
  109. "w": 24,
  110. "x": 0,
  111. "y": 7
  112. },
  113. "id": 16,
  114. "panels": [],
  115. "title": "Active Price Feeds",
  116. "type": "row"
  117. },
  118. {
  119. "datasource": {
  120. "type": "prometheus",
  121. "uid": "edryyydtht14wa"
  122. },
  123. "fieldConfig": {
  124. "defaults": {
  125. "color": {
  126. "mode": "thresholds"
  127. },
  128. "mappings": [],
  129. "thresholds": {
  130. "mode": "absolute",
  131. "steps": [
  132. {
  133. "color": "green",
  134. "value": null
  135. }
  136. ]
  137. },
  138. "unit": "none"
  139. },
  140. "overrides": []
  141. },
  142. "gridPos": {
  143. "h": 6,
  144. "w": 12,
  145. "x": 0,
  146. "y": 8
  147. },
  148. "id": 12,
  149. "options": {
  150. "colorMode": "value",
  151. "graphMode": "none",
  152. "justifyMode": "auto",
  153. "orientation": "auto",
  154. "percentChangeColorMode": "standard",
  155. "reduceOptions": {
  156. "calcs": [
  157. "lastNotNull"
  158. ],
  159. "fields": "",
  160. "values": false
  161. },
  162. "showPercentChange": false,
  163. "textMode": "value",
  164. "wideLayout": true
  165. },
  166. "pluginVersion": "11.1.0",
  167. "repeat": "chain",
  168. "repeatDirection": "h",
  169. "targets": [
  170. {
  171. "datasource": {
  172. "type": "prometheus",
  173. "uid": "edryyydtht14wa"
  174. },
  175. "editorMode": "code",
  176. "expr": "count(pyth_price_last_published_time{namespace=\"$chain\"})",
  177. "instant": true,
  178. "legendFormat": "{{namespace}}",
  179. "range": false,
  180. "refId": "A"
  181. }
  182. ],
  183. "title": "Active Price Feeds: ${chain}",
  184. "type": "stat"
  185. },
  186. {
  187. "collapsed": false,
  188. "gridPos": {
  189. "h": 1,
  190. "w": 24,
  191. "x": 0,
  192. "y": 14
  193. },
  194. "id": 17,
  195. "panels": [],
  196. "title": "Time Since Last Update",
  197. "type": "row"
  198. },
  199. {
  200. "datasource": {
  201. "type": "prometheus",
  202. "uid": "edryyydtht14wa"
  203. },
  204. "fieldConfig": {
  205. "defaults": {
  206. "color": {
  207. "mode": "thresholds"
  208. },
  209. "mappings": [],
  210. "thresholds": {
  211. "mode": "absolute",
  212. "steps": [
  213. {
  214. "color": "green",
  215. "value": null
  216. },
  217. {
  218. "color": "red",
  219. "value": 3600
  220. }
  221. ]
  222. },
  223. "unit": "s"
  224. },
  225. "overrides": []
  226. },
  227. "gridPos": {
  228. "h": 6,
  229. "w": 12,
  230. "x": 0,
  231. "y": 15
  232. },
  233. "id": 2,
  234. "options": {
  235. "colorMode": "value",
  236. "graphMode": "area",
  237. "justifyMode": "auto",
  238. "orientation": "auto",
  239. "percentChangeColorMode": "standard",
  240. "reduceOptions": {
  241. "calcs": [
  242. "lastNotNull"
  243. ],
  244. "fields": "",
  245. "values": false
  246. },
  247. "showPercentChange": false,
  248. "textMode": "auto",
  249. "wideLayout": true
  250. },
  251. "pluginVersion": "11.1.0",
  252. "repeat": "chain",
  253. "repeatDirection": "h",
  254. "targets": [
  255. {
  256. "datasource": {
  257. "type": "prometheus",
  258. "uid": "edryyydtht14wa"
  259. },
  260. "editorMode": "code",
  261. "expr": "time() - pyth_price_last_published_time{namespace=\"$chain\"}",
  262. "instant": true,
  263. "legendFormat": "{{alias}}",
  264. "range": false,
  265. "refId": "A"
  266. }
  267. ],
  268. "title": "Time Since Last Update: ${chain}",
  269. "type": "stat"
  270. },
  271. {
  272. "collapsed": false,
  273. "gridPos": {
  274. "h": 1,
  275. "w": 24,
  276. "x": 0,
  277. "y": 21
  278. },
  279. "id": 18,
  280. "panels": [],
  281. "title": "Price Feeds Lists",
  282. "type": "row"
  283. },
  284. {
  285. "datasource": {
  286. "type": "prometheus",
  287. "uid": "edryyydtht14wa"
  288. },
  289. "fieldConfig": {
  290. "defaults": {
  291. "color": {
  292. "mode": "thresholds"
  293. },
  294. "custom": {
  295. "align": "auto",
  296. "cellOptions": {
  297. "type": "auto"
  298. },
  299. "inspect": false
  300. },
  301. "mappings": [],
  302. "thresholds": {
  303. "mode": "absolute",
  304. "steps": [
  305. {
  306. "color": "green",
  307. "value": null
  308. }
  309. ]
  310. }
  311. },
  312. "overrides": [
  313. {
  314. "matcher": {
  315. "id": "byName",
  316. "options": "Time Since Update"
  317. },
  318. "properties": [
  319. {
  320. "id": "unit",
  321. "value": "s"
  322. },
  323. {
  324. "id": "thresholds",
  325. "value": {
  326. "mode": "absolute",
  327. "steps": [
  328. {
  329. "color": "green",
  330. "value": null
  331. },
  332. {
  333. "color": "yellow",
  334. "value": 600
  335. },
  336. {
  337. "color": "red",
  338. "value": 3600
  339. }
  340. ]
  341. }
  342. }
  343. ]
  344. },
  345. {
  346. "matcher": {
  347. "id": "byName",
  348. "options": "Total Updates"
  349. },
  350. "properties": [
  351. {
  352. "id": "unit",
  353. "value": "short"
  354. }
  355. ]
  356. }
  357. ]
  358. },
  359. "gridPos": {
  360. "h": 8,
  361. "w": 24,
  362. "x": 0,
  363. "y": 22
  364. },
  365. "id": 7,
  366. "options": {
  367. "cellHeight": "sm",
  368. "footer": {
  369. "countRows": false,
  370. "fields": "",
  371. "reducer": [
  372. "sum"
  373. ],
  374. "show": false
  375. },
  376. "showHeader": true,
  377. "sortBy": [
  378. {
  379. "desc": false,
  380. "displayName": "Price ID"
  381. }
  382. ]
  383. },
  384. "pluginVersion": "11.1.0",
  385. "repeat": "chain",
  386. "repeatDirection": "v",
  387. "targets": [
  388. {
  389. "datasource": {
  390. "type": "prometheus",
  391. "uid": "edryyydtht14wa"
  392. },
  393. "editorMode": "code",
  394. "expr": "pyth_price_last_published_time{namespace=\"$chain\"}",
  395. "format": "table",
  396. "instant": true,
  397. "legendFormat": "__auto",
  398. "range": false,
  399. "refId": "A"
  400. },
  401. {
  402. "datasource": {
  403. "type": "prometheus",
  404. "uid": "edryyydtht14wa"
  405. },
  406. "editorMode": "code",
  407. "expr": "time() - pyth_price_last_published_time{namespace=\"$chain\"}",
  408. "format": "table",
  409. "instant": true,
  410. "legendFormat": "__auto",
  411. "range": false,
  412. "refId": "B"
  413. },
  414. {
  415. "datasource": {
  416. "type": "prometheus",
  417. "uid": "edryyydtht14wa"
  418. },
  419. "editorMode": "code",
  420. "expr": "pyth_price_update_attempts_total{status=\"success\", namespace=\"$chain\"}",
  421. "format": "table",
  422. "instant": true,
  423. "legendFormat": "__auto",
  424. "range": false,
  425. "refId": "C"
  426. }
  427. ],
  428. "title": "Price Feeds List: ${chain}",
  429. "transformations": [
  430. {
  431. "id": "joinByField",
  432. "options": {
  433. "byField": "price_id",
  434. "mode": "outer"
  435. }
  436. },
  437. {
  438. "id": "organize",
  439. "options": {
  440. "excludeByName": {
  441. "Time": true,
  442. "Value #A": true,
  443. "Value #C": false,
  444. "__name__": true,
  445. "__name__#B": true,
  446. "__name__#C": true,
  447. "alias 2": true,
  448. "alias 3": true,
  449. "alias#B": true,
  450. "alias#C": true,
  451. "app": true,
  452. "app#B": true,
  453. "app#C": true,
  454. "instance": true,
  455. "instance#B": true,
  456. "instance#C": true,
  457. "job": true,
  458. "job#B": true,
  459. "job#C": true,
  460. "price_id": false,
  461. "price_id#B": true,
  462. "price_id#C": true
  463. },
  464. "includeByName": {
  465. "Value #B": true,
  466. "Value #C": true,
  467. "alias 1": true,
  468. "price_id": true
  469. },
  470. "indexByName": {
  471. "Time 1": 4,
  472. "Time 2": 10,
  473. "Time 3": 15,
  474. "Value #A": 9,
  475. "__name__ 1": 5,
  476. "__name__ 2": 16,
  477. "alias 2": 11,
  478. "alias 3": 17,
  479. "app 1": 6,
  480. "app 2": 12,
  481. "app 3": 18,
  482. "instance 1": 7,
  483. "instance 2": 13,
  484. "instance 3": 19,
  485. "job 1": 8,
  486. "job 2": 14,
  487. "job 3": 20,
  488. "price_id": 0
  489. },
  490. "renameByName": {
  491. "Value #B": "Time Since Update",
  492. "Value #C": "Total Updates",
  493. "alias 1": "Symbol",
  494. "price_id": "Price ID"
  495. }
  496. }
  497. }
  498. ],
  499. "type": "table"
  500. },
  501. {
  502. "collapsed": false,
  503. "gridPos": {
  504. "h": 1,
  505. "w": 24,
  506. "x": 0,
  507. "y": 38
  508. },
  509. "id": 19,
  510. "panels": [],
  511. "title": "Updates Statistics",
  512. "type": "row"
  513. },
  514. {
  515. "datasource": {
  516. "type": "prometheus",
  517. "uid": "edryyydtht14wa"
  518. },
  519. "fieldConfig": {
  520. "defaults": {
  521. "color": {
  522. "mode": "palette-classic"
  523. },
  524. "custom": {
  525. "axisBorderShow": false,
  526. "axisCenteredZero": false,
  527. "axisColorMode": "text",
  528. "axisLabel": "",
  529. "axisPlacement": "auto",
  530. "barAlignment": 0,
  531. "drawStyle": "line",
  532. "fillOpacity": 0,
  533. "gradientMode": "none",
  534. "hideFrom": {
  535. "legend": false,
  536. "tooltip": false,
  537. "viz": false
  538. },
  539. "insertNulls": false,
  540. "lineInterpolation": "linear",
  541. "lineWidth": 1,
  542. "pointSize": 5,
  543. "scaleDistribution": {
  544. "type": "linear"
  545. },
  546. "showPoints": "auto",
  547. "spanNulls": false,
  548. "stacking": {
  549. "group": "A",
  550. "mode": "none"
  551. },
  552. "thresholdsStyle": {
  553. "mode": "off"
  554. }
  555. },
  556. "decimals": 0,
  557. "mappings": [],
  558. "thresholds": {
  559. "mode": "absolute",
  560. "steps": [
  561. {
  562. "color": "green",
  563. "value": null
  564. }
  565. ]
  566. },
  567. "unit": "none"
  568. },
  569. "overrides": [
  570. {
  571. "matcher": {
  572. "id": "byName",
  573. "options": "Updates"
  574. },
  575. "properties": [
  576. {
  577. "id": "color",
  578. "value": {
  579. "fixedColor": "green",
  580. "mode": "fixed"
  581. }
  582. }
  583. ]
  584. }
  585. ]
  586. },
  587. "gridPos": {
  588. "h": 8,
  589. "w": 12,
  590. "x": 0,
  591. "y": 39
  592. },
  593. "id": 3,
  594. "options": {
  595. "legend": {
  596. "calcs": [],
  597. "displayMode": "list",
  598. "placement": "bottom",
  599. "showLegend": true
  600. },
  601. "tooltip": {
  602. "hideZeros": false,
  603. "mode": "single",
  604. "sort": "none"
  605. }
  606. },
  607. "pluginVersion": "11.5.2",
  608. "repeat": "chain",
  609. "repeatDirection": "h",
  610. "targets": [
  611. {
  612. "datasource": {
  613. "type": "prometheus",
  614. "uid": "edryyydtht14wa"
  615. },
  616. "editorMode": "code",
  617. "expr": "increase(pyth_price_update_attempts_total{status=\"success\", namespace=\"$chain\"}[$__range])",
  618. "legendFormat": "{{alias}} - Updates",
  619. "range": true,
  620. "refId": "A"
  621. }
  622. ],
  623. "title": "Successful Updates: ${chain}",
  624. "type": "timeseries"
  625. },
  626. {
  627. "collapsed": false,
  628. "gridPos": {
  629. "h": 1,
  630. "w": 24,
  631. "x": 0,
  632. "y": 47
  633. },
  634. "id": 14,
  635. "panels": [],
  636. "title": "Update Conditions By Chain",
  637. "type": "row"
  638. },
  639. {
  640. "datasource": {
  641. "type": "prometheus",
  642. "uid": "edryyydtht14wa"
  643. },
  644. "fieldConfig": {
  645. "defaults": {
  646. "color": {
  647. "mode": "palette-classic"
  648. },
  649. "custom": {
  650. "hideFrom": {
  651. "legend": false,
  652. "tooltip": false,
  653. "viz": false
  654. }
  655. },
  656. "mappings": []
  657. },
  658. "overrides": [
  659. {
  660. "matcher": {
  661. "id": "byName",
  662. "options": "YES"
  663. },
  664. "properties": [
  665. {
  666. "id": "color",
  667. "value": {
  668. "fixedColor": "green",
  669. "mode": "fixed"
  670. }
  671. }
  672. ]
  673. },
  674. {
  675. "matcher": {
  676. "id": "byName",
  677. "options": "NO"
  678. },
  679. "properties": [
  680. {
  681. "id": "color",
  682. "value": {
  683. "fixedColor": "red",
  684. "mode": "fixed"
  685. }
  686. }
  687. ]
  688. },
  689. {
  690. "matcher": {
  691. "id": "byName",
  692. "options": "EARLY"
  693. },
  694. "properties": [
  695. {
  696. "id": "color",
  697. "value": {
  698. "fixedColor": "yellow",
  699. "mode": "fixed"
  700. }
  701. }
  702. ]
  703. }
  704. ]
  705. },
  706. "gridPos": {
  707. "h": 8,
  708. "w": 12,
  709. "x": 0,
  710. "y": 48
  711. },
  712. "id": 13,
  713. "options": {
  714. "displayLabels": [
  715. "percent",
  716. "name"
  717. ],
  718. "legend": {
  719. "displayMode": "list",
  720. "placement": "right",
  721. "showLegend": true,
  722. "values": [
  723. "value",
  724. "percent"
  725. ]
  726. },
  727. "pieType": "pie",
  728. "reduceOptions": {
  729. "calcs": [
  730. "lastNotNull"
  731. ],
  732. "fields": "",
  733. "values": false
  734. },
  735. "tooltip": {
  736. "hideZeros": false,
  737. "mode": "single",
  738. "sort": "none"
  739. }
  740. },
  741. "pluginVersion": "11.5.2",
  742. "repeat": "chain",
  743. "repeatDirection": "h",
  744. "targets": [
  745. {
  746. "datasource": {
  747. "type": "prometheus",
  748. "uid": "edryyydtht14wa"
  749. },
  750. "editorMode": "code",
  751. "expr": "sum by (trigger) (increase(pyth_price_update_attempts_total{namespace=\"$chain\"}[$__range]))",
  752. "instant": false,
  753. "legendFormat": "{{trigger}}",
  754. "range": true,
  755. "refId": "A"
  756. }
  757. ],
  758. "title": "Update Conditions: ${chain}",
  759. "type": "piechart"
  760. },
  761. {
  762. "collapsed": false,
  763. "gridPos": {
  764. "h": 1,
  765. "w": 24,
  766. "x": 0,
  767. "y": 56
  768. },
  769. "id": 20,
  770. "panels": [],
  771. "title": "Wallet Information",
  772. "type": "row"
  773. },
  774. {
  775. "datasource": {
  776. "type": "prometheus",
  777. "uid": "edryyydtht14wa"
  778. },
  779. "fieldConfig": {
  780. "defaults": {
  781. "color": {
  782. "mode": "thresholds"
  783. },
  784. "mappings": [],
  785. "thresholds": {
  786. "mode": "absolute",
  787. "steps": [
  788. {
  789. "color": "green",
  790. "value": null
  791. },
  792. {
  793. "color": "yellow",
  794. "value": 0.1
  795. },
  796. {
  797. "color": "red",
  798. "value": 0.01
  799. }
  800. ]
  801. },
  802. "unit": "locale"
  803. },
  804. "overrides": []
  805. },
  806. "gridPos": {
  807. "h": 6,
  808. "w": 12,
  809. "x": 0,
  810. "y": 57
  811. },
  812. "id": 10,
  813. "options": {
  814. "colorMode": "value",
  815. "graphMode": "none",
  816. "justifyMode": "auto",
  817. "orientation": "auto",
  818. "percentChangeColorMode": "standard",
  819. "reduceOptions": {
  820. "calcs": [
  821. "lastNotNull"
  822. ],
  823. "fields": "",
  824. "values": false
  825. },
  826. "showPercentChange": false,
  827. "textMode": "value_and_name",
  828. "wideLayout": true
  829. },
  830. "pluginVersion": "11.1.0",
  831. "repeat": "chain",
  832. "repeatDirection": "h",
  833. "targets": [
  834. {
  835. "datasource": {
  836. "type": "prometheus",
  837. "uid": "edryyydtht14wa"
  838. },
  839. "editorMode": "code",
  840. "expr": "pyth_wallet_balance{namespace=\"$chain\"}",
  841. "instant": true,
  842. "legendFormat": "{{wallet_address}}",
  843. "range": false,
  844. "refId": "A"
  845. }
  846. ],
  847. "title": "Wallet Balance: ${chain}",
  848. "type": "stat"
  849. },
  850. {
  851. "datasource": {
  852. "type": "prometheus",
  853. "uid": "edryyydtht14wa"
  854. },
  855. "fieldConfig": {
  856. "defaults": {
  857. "color": {
  858. "mode": "palette-classic"
  859. },
  860. "custom": {
  861. "axisBorderShow": false,
  862. "axisCenteredZero": false,
  863. "axisColorMode": "text",
  864. "axisLabel": "",
  865. "axisPlacement": "auto",
  866. "barAlignment": 0,
  867. "drawStyle": "line",
  868. "fillOpacity": 0,
  869. "gradientMode": "none",
  870. "hideFrom": {
  871. "legend": false,
  872. "tooltip": false,
  873. "viz": false
  874. },
  875. "insertNulls": false,
  876. "lineInterpolation": "linear",
  877. "lineWidth": 1,
  878. "pointSize": 5,
  879. "scaleDistribution": {
  880. "type": "linear"
  881. },
  882. "showPoints": "auto",
  883. "spanNulls": false,
  884. "stacking": {
  885. "group": "A",
  886. "mode": "none"
  887. },
  888. "thresholdsStyle": {
  889. "mode": "off"
  890. }
  891. },
  892. "mappings": [],
  893. "thresholds": {
  894. "mode": "absolute",
  895. "steps": [
  896. {
  897. "color": "green",
  898. "value": null
  899. }
  900. ]
  901. },
  902. "unit": "locale"
  903. },
  904. "overrides": []
  905. },
  906. "gridPos": {
  907. "h": 6,
  908. "w": 12,
  909. "x": 0,
  910. "y": 63
  911. },
  912. "id": 11,
  913. "options": {
  914. "legend": {
  915. "calcs": [],
  916. "displayMode": "list",
  917. "placement": "bottom",
  918. "showLegend": true
  919. },
  920. "tooltip": {
  921. "hideZeros": false,
  922. "mode": "single",
  923. "sort": "none"
  924. }
  925. },
  926. "pluginVersion": "11.5.2",
  927. "repeat": "chain",
  928. "repeatDirection": "h",
  929. "targets": [
  930. {
  931. "datasource": {
  932. "type": "prometheus",
  933. "uid": "edryyydtht14wa"
  934. },
  935. "editorMode": "code",
  936. "expr": "pyth_wallet_balance{namespace=\"$chain\"}",
  937. "legendFormat": "{{wallet_address}} ({{network}})",
  938. "range": true,
  939. "refId": "A"
  940. }
  941. ],
  942. "title": "Wallet Balance Over Time: ${chain}",
  943. "type": "timeseries"
  944. },
  945. {
  946. "collapsed": false,
  947. "gridPos": {
  948. "h": 1,
  949. "w": 24,
  950. "x": 0,
  951. "y": 69
  952. },
  953. "id": 21,
  954. "panels": [],
  955. "title": "Failed Updates",
  956. "type": "row"
  957. },
  958. {
  959. "datasource": {
  960. "type": "prometheus",
  961. "uid": "edryyydtht14wa"
  962. },
  963. "fieldConfig": {
  964. "defaults": {
  965. "color": {
  966. "mode": "palette-classic"
  967. },
  968. "custom": {
  969. "axisBorderShow": false,
  970. "axisCenteredZero": false,
  971. "axisColorMode": "text",
  972. "axisLabel": "",
  973. "axisPlacement": "auto",
  974. "barAlignment": 0,
  975. "drawStyle": "line",
  976. "fillOpacity": 0,
  977. "gradientMode": "none",
  978. "hideFrom": {
  979. "legend": false,
  980. "tooltip": false,
  981. "viz": false
  982. },
  983. "insertNulls": false,
  984. "lineInterpolation": "linear",
  985. "lineWidth": 1,
  986. "pointSize": 5,
  987. "scaleDistribution": {
  988. "type": "linear"
  989. },
  990. "showPoints": "auto",
  991. "spanNulls": false,
  992. "stacking": {
  993. "group": "A",
  994. "mode": "none"
  995. },
  996. "thresholdsStyle": {
  997. "mode": "off"
  998. }
  999. },
  1000. "decimals": 0,
  1001. "mappings": [],
  1002. "thresholds": {
  1003. "mode": "absolute",
  1004. "steps": [
  1005. {
  1006. "color": "green",
  1007. "value": null
  1008. }
  1009. ]
  1010. },
  1011. "unit": "none"
  1012. },
  1013. "overrides": []
  1014. },
  1015. "gridPos": {
  1016. "h": 8,
  1017. "w": 12,
  1018. "x": 0,
  1019. "y": 70
  1020. },
  1021. "id": 6,
  1022. "options": {
  1023. "legend": {
  1024. "calcs": [],
  1025. "displayMode": "list",
  1026. "placement": "bottom",
  1027. "showLegend": true
  1028. },
  1029. "tooltip": {
  1030. "hideZeros": false,
  1031. "mode": "single",
  1032. "sort": "none"
  1033. }
  1034. },
  1035. "pluginVersion": "11.5.2",
  1036. "repeat": "chain",
  1037. "repeatDirection": "h",
  1038. "targets": [
  1039. {
  1040. "datasource": {
  1041. "type": "prometheus",
  1042. "uid": "edryyydtht14wa"
  1043. },
  1044. "editorMode": "code",
  1045. "expr": "increase(pyth_price_update_attempts_total{status=\"error\", namespace=\"$chain\"}[$__range])",
  1046. "legendFormat": "{{alias}} - Errors",
  1047. "range": true,
  1048. "refId": "A"
  1049. }
  1050. ],
  1051. "title": "Failed Updates: ${chain}",
  1052. "type": "timeseries"
  1053. },
  1054. {
  1055. "collapsed": false,
  1056. "gridPos": {
  1057. "h": 1,
  1058. "w": 24,
  1059. "x": 0,
  1060. "y": 78
  1061. },
  1062. "id": 188,
  1063. "panels": [],
  1064. "title": "Tx Hash",
  1065. "type": "row"
  1066. },
  1067. {
  1068. "datasource": {
  1069. "type": "loki",
  1070. "uid": "ads9ouz3jh4hsa"
  1071. },
  1072. "gridPos": {
  1073. "h": 8,
  1074. "w": 12,
  1075. "x": 0,
  1076. "y": 79
  1077. },
  1078. "id": 187,
  1079. "options": {
  1080. "dedupStrategy": "none",
  1081. "enableLogDetails": true,
  1082. "prettifyLogMessage": false,
  1083. "showCommonLabels": false,
  1084. "showLabels": false,
  1085. "showTime": true,
  1086. "sortOrder": "Descending",
  1087. "wrapLogMessage": false
  1088. },
  1089. "repeat": "chain",
  1090. "repeatDirection": "h",
  1091. "targets": [
  1092. {
  1093. "datasource": {
  1094. "type": "loki",
  1095. "uid": "ads9ouz3jh4hsa"
  1096. },
  1097. "editorMode": "code",
  1098. "expr": "{namespace=~\"$chain\"} | logfmt | json | msg =~ `.*(Price update successful|Transaction confirmed|Successfully updated price).*` | line_format `Tx Hash: {{.hash}}`",
  1099. "queryType": "range",
  1100. "refId": "A"
  1101. }
  1102. ],
  1103. "title": "Tx Hash: ${chain}",
  1104. "type": "logs"
  1105. },
  1106. {
  1107. "collapsed": false,
  1108. "gridPos": {
  1109. "h": 1,
  1110. "w": 24,
  1111. "x": 0,
  1112. "y": 87
  1113. },
  1114. "id": 31,
  1115. "panels": [],
  1116. "title": "Logs",
  1117. "type": "row"
  1118. },
  1119. {
  1120. "datasource": {
  1121. "type": "loki",
  1122. "uid": "ads9ouz3jh4hsa"
  1123. },
  1124. "gridPos": {
  1125. "h": 8,
  1126. "w": 12,
  1127. "x": 0,
  1128. "y": 88
  1129. },
  1130. "id": 41,
  1131. "options": {
  1132. "dedupStrategy": "none",
  1133. "enableLogDetails": true,
  1134. "prettifyLogMessage": false,
  1135. "showCommonLabels": false,
  1136. "showLabels": false,
  1137. "showTime": true,
  1138. "sortOrder": "Descending",
  1139. "wrapLogMessage": false
  1140. },
  1141. "targets": [
  1142. {
  1143. "datasource": {
  1144. "type": "loki",
  1145. "uid": "ads9ouz3jh4hsa"
  1146. },
  1147. "editorMode": "code",
  1148. "expr": "{namespace=~\"$chain\"} | logfmt",
  1149. "queryType": "range",
  1150. "refId": "A"
  1151. }
  1152. ],
  1153. "title": "All Logs",
  1154. "type": "logs"
  1155. },
  1156. {
  1157. "datasource": {
  1158. "type": "loki",
  1159. "uid": "ads9ouz3jh4hsa"
  1160. },
  1161. "gridPos": {
  1162. "h": 8,
  1163. "w": 12,
  1164. "x": 12,
  1165. "y": 88
  1166. },
  1167. "id": 42,
  1168. "options": {
  1169. "dedupStrategy": "none",
  1170. "enableLogDetails": true,
  1171. "prettifyLogMessage": false,
  1172. "showCommonLabels": false,
  1173. "showLabels": false,
  1174. "showTime": true,
  1175. "sortOrder": "Descending",
  1176. "wrapLogMessage": false
  1177. },
  1178. "targets": [
  1179. {
  1180. "datasource": {
  1181. "type": "loki",
  1182. "uid": "ads9ouz3jh4hsa"
  1183. },
  1184. "editorMode": "builder",
  1185. "expr": "{namespace=~\"$chain\"} | logfmt | detected_level = `error`",
  1186. "queryType": "range",
  1187. "refId": "A"
  1188. }
  1189. ],
  1190. "title": "Error Logs",
  1191. "type": "logs"
  1192. }
  1193. ],
  1194. "refresh": "5s",
  1195. "schemaVersion": 39,
  1196. "tags": [],
  1197. "templating": {
  1198. "list": [
  1199. {
  1200. "current": {
  1201. "selected": true,
  1202. "text": [
  1203. "optimism-sepolia-price-pusher-testnet",
  1204. "sui-price-pusher-mainnet"
  1205. ],
  1206. "value": [
  1207. "optimism-sepolia-price-pusher-testnet",
  1208. "sui-price-pusher-mainnet"
  1209. ]
  1210. },
  1211. "datasource": {
  1212. "type": "loki",
  1213. "uid": "ads9ouz3jh4hsa"
  1214. },
  1215. "definition": "",
  1216. "hide": 0,
  1217. "includeAll": true,
  1218. "label": "Chain",
  1219. "multi": true,
  1220. "name": "chain",
  1221. "options": [],
  1222. "query": {
  1223. "label": "namespace",
  1224. "refId": "LokiVariableQueryEditor-VariableQuery",
  1225. "stream": "",
  1226. "type": 1
  1227. },
  1228. "refresh": 1,
  1229. "regex": ".*price-pusher.*",
  1230. "skipUrlSync": false,
  1231. "sort": 0,
  1232. "type": "query"
  1233. }
  1234. ]
  1235. },
  1236. "time": {
  1237. "from": "now-3h",
  1238. "to": "now"
  1239. },
  1240. "timepicker": {},
  1241. "timezone": "",
  1242. "title": "Pyth Price Pusher Dashboard",
  1243. "uid": "pyth-price-pusher",
  1244. "version": 12,
  1245. "weekStart": ""
  1246. }