status-mesh-render.json.in 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837
  1. {
  2. "annotations" : {
  3. "list" : [
  4. ]
  5. },
  6. "editable" : true,
  7. "gnetId" : null,
  8. "graphTooltip" : 0,
  9. "hideControls" : false,
  10. "id" : null,
  11. "links" : [
  12. ],
  13. "rows" : [
  14. {
  15. "collapse" : true,
  16. "height" : 260,
  17. "panels" : [
  18. {
  19. "aliasColors" : {
  20. },
  21. "bars" : false,
  22. "dashLength" : 10,
  23. "dashes" : false,
  24. "datasource" : null,
  25. "fill" : 0,
  26. "id" : 5,
  27. "legend" : {
  28. "alignAsTable" : true,
  29. "avg" : true,
  30. "current" : true,
  31. "hideEmpty" : true,
  32. "max" : true,
  33. "min" : true,
  34. "rightSide" : false,
  35. "show" : true,
  36. "total" : false,
  37. "values" : true
  38. },
  39. "lines" : true,
  40. "linewidth" : 1,
  41. "links" : [
  42. ],
  43. "nullPointMode" : "null",
  44. "percentage" : false,
  45. "pointradius" : 5,
  46. "points" : false,
  47. "renderer" : "flot",
  48. "seriesOverrides" : [
  49. ],
  50. "spaceLength" : 10,
  51. "span" : 9,
  52. "stack" : false,
  53. "steppedLine" : false,
  54. "targets" : [
  55. {
  56. "expr" : "count(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)",
  57. "format" : "time_series",
  58. "intervalFactor" : 2,
  59. "legendFormat" : "Meshes",
  60. "refId" : "A",
  61. "step" : 240
  62. },
  63. {
  64. "expr" : "sum(floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh))",
  65. "format" : "time_series",
  66. "intervalFactor" : 2,
  67. "legendFormat" : "Router",
  68. "refId" : "B",
  69. "step" : 240
  70. },
  71. {
  72. "expr" : "round(1000 * sum(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh - floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)))",
  73. "format" : "time_series",
  74. "intervalFactor" : 2,
  75. "legendFormat" : "Links",
  76. "refId" : "C",
  77. "step" : 240
  78. }
  79. ],
  80. "thresholds" : [
  81. ],
  82. "timeFrom" : null,
  83. "timeShift" : null,
  84. "title" : "Meshes, Router, Links - zZ [[mesh_count]], [[node_sum]], [[link_sum]]",
  85. "tooltip" : {
  86. "shared" : true,
  87. "sort" : 0,
  88. "value_type" : "individual"
  89. },
  90. "type" : "graph",
  91. "xaxis" : {
  92. "buckets" : null,
  93. "mode" : "time",
  94. "name" : null,
  95. "show" : true,
  96. "values" : [
  97. ]
  98. },
  99. "yaxes" : [
  100. {
  101. "format" : "short",
  102. "label" : null,
  103. "logBase" : 1,
  104. "max" : null,
  105. "min" : "0",
  106. "show" : true
  107. },
  108. {
  109. "format" : "short",
  110. "label" : null,
  111. "logBase" : 1,
  112. "max" : null,
  113. "min" : null,
  114. "show" : true
  115. }
  116. ]
  117. },
  118. {
  119. "aliasColors" : {
  120. },
  121. "cacheTimeout" : null,
  122. "combine" : {
  123. "label" : "Others",
  124. "threshold" : 0
  125. },
  126. "datasource" : null,
  127. "fontSize" : "100%",
  128. "format" : "short",
  129. "id" : 6,
  130. "interval" : null,
  131. "legend" : {
  132. "percentage" : false,
  133. "show" : false,
  134. "values" : false
  135. },
  136. "legendType" : "Under graph",
  137. "links" : [
  138. ],
  139. "maxDataPoints" : 3,
  140. "nullPointMode" : "connected",
  141. "pieType" : "pie",
  142. "span" : 3,
  143. "strokeWidth" : "0",
  144. "targets" : [
  145. {
  146. "expr" : "count_values(\"size\",floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh))",
  147. "format" : "time_series",
  148. "intervalFactor" : 2,
  149. "legendFormat" : "{{size}}",
  150. "refId" : "A",
  151. "step" : 43200
  152. }
  153. ],
  154. "title" : "Meshgr\u00F6\u00DFenverteilung",
  155. "type" : "grafana-piechart-panel",
  156. "valueName" : "current"
  157. }
  158. ],
  159. "repeat" : null,
  160. "repeatIteration" : null,
  161. "repeatRowId" : null,
  162. "showTitle" : false,
  163. "title" : "[[mesh_count]] Meshes mit insgesamt [[node_sum]] Routern und [[link_sum]] Links",
  164. "titleSize" : "h6"
  165. },
  166. {
  167. "collapse" : false,
  168. "height" : 278,
  169. "panels" : [
  170. {
  171. "aliasColors" : {
  172. },
  173. "bars" : false,
  174. "dashLength" : 10,
  175. "dashes" : false,
  176. "datasource" : null,
  177. "fill" : 0,
  178. "id" : 3,
  179. "legend" : {
  180. "alignAsTable" : true,
  181. "avg" : true,
  182. "current" : true,
  183. "hideEmpty" : true,
  184. "max" : true,
  185. "min" : true,
  186. "rightSide" : false,
  187. "show" : true,
  188. "total" : false,
  189. "values" : true
  190. },
  191. "lines" : true,
  192. "linewidth" : 1,
  193. "links" : [
  194. ],
  195. "nullPointMode" : "null",
  196. "percentage" : false,
  197. "pointradius" : 5,
  198. "points" : false,
  199. "renderer" : "flot",
  200. "seriesOverrides" : [
  201. ],
  202. "spaceLength" : 10,
  203. "span" : 12,
  204. "stack" : false,
  205. "steppedLine" : false,
  206. "targets" : [
  207. {
  208. "expr" : "%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{node_id=~\"([[regex]])\"}",
  209. "format" : "time_series",
  210. "hide" : false,
  211. "interval" : "",
  212. "intervalFactor" : 2,
  213. "legendFormat" : "{{hostname}}",
  214. "refId" : "A",
  215. "step" : 120
  216. },
  217. {
  218. "expr" : "sum(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{node_id=~\"([[regex]])\"})",
  219. "format" : "time_series",
  220. "hide" : false,
  221. "interval" : "",
  222. "intervalFactor" : 2,
  223. "legendFormat" : "Summe",
  224. "refId" : "B",
  225. "step" : 120
  226. }
  227. ],
  228. "thresholds" : [
  229. ],
  230. "timeFrom" : null,
  231. "timeShift" : null,
  232. "title" : "clients im Mesh des Routers [[mesh_name]]",
  233. "tooltip" : {
  234. "shared" : true,
  235. "sort" : 1,
  236. "value_type" : "individual"
  237. },
  238. "type" : "graph",
  239. "xaxis" : {
  240. "buckets" : null,
  241. "mode" : "time",
  242. "name" : null,
  243. "show" : true,
  244. "values" : [
  245. ]
  246. },
  247. "yaxes" : [
  248. {
  249. "decimals" : 0,
  250. "format" : "short",
  251. "label" : "",
  252. "logBase" : 1,
  253. "max" : null,
  254. "min" : null,
  255. "show" : true
  256. },
  257. {
  258. "format" : "short",
  259. "label" : null,
  260. "logBase" : 1,
  261. "max" : null,
  262. "min" : null,
  263. "show" : true
  264. }
  265. ]
  266. }
  267. ],
  268. "repeat" : null,
  269. "repeatIteration" : null,
  270. "repeatRowId" : null,
  271. "showTitle" : false,
  272. "title" : "clients im Mesh des Routers [[mesh_name]]",
  273. "titleSize" : "h6"
  274. },
  275. {
  276. "collapse" : false,
  277. "height" : "100",
  278. "panels" : [
  279. {
  280. "content" : "<p>Links zu Router [[hostname]], Node ID [[node_id]]: <a href=\"%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status-render.json?var-hostname=[[hostname]]&var-node_id=[[node_id]]\">Status Dashboard<\/a>, <a href=\"%%MAP_NODE_URL%%[[node_id]]\">Map<\/a>.<\/p>\n",
  281. "height" : "80px",
  282. "id" : 4,
  283. "links" : [
  284. ],
  285. "mode" : "html",
  286. "repeat" : null,
  287. "span" : 12,
  288. "title" : "Links zu [[hostname]], Node ID [[node_id]]",
  289. "type" : "text"
  290. }
  291. ],
  292. "repeat" : null,
  293. "repeatIteration" : null,
  294. "repeatRowId" : null,
  295. "showTitle" : false,
  296. "title" : "Links zu [[hostname]], Node ID [[node_id]]",
  297. "titleSize" : "h6"
  298. },
  299. {
  300. "collapse" : true,
  301. "height" : 250,
  302. "panels" : [
  303. {
  304. "aliasColors" : {
  305. "Routeranzahl" : "#65c5db"
  306. },
  307. "bars" : false,
  308. "dashLength" : 10,
  309. "dashes" : false,
  310. "datasource" : null,
  311. "decimals" : 0,
  312. "fill" : 1,
  313. "id" : 5,
  314. "legend" : {
  315. "alignAsTable" : true,
  316. "avg" : true,
  317. "current" : true,
  318. "hideEmpty" : true,
  319. "hideZero" : false,
  320. "max" : true,
  321. "min" : true,
  322. "rightSide" : false,
  323. "show" : true,
  324. "total" : false,
  325. "values" : true
  326. },
  327. "lines" : true,
  328. "linewidth" : 1,
  329. "links" : [
  330. ],
  331. "nullPointMode" : "null",
  332. "percentage" : false,
  333. "pointradius" : 5,
  334. "points" : false,
  335. "renderer" : "flot",
  336. "seriesOverrides" : [
  337. ],
  338. "spaceLength" : 10,
  339. "span" : 12,
  340. "stack" : false,
  341. "steppedLine" : false,
  342. "targets" : [
  343. {
  344. "expr" : "count(%%PROM_STATS_PREFIX%%%%PROM_SEPERATOR%%clients{node_id=~\"([[regex]])\"})",
  345. "format" : "time_series",
  346. "hide" : false,
  347. "instant" : false,
  348. "intervalFactor" : 2,
  349. "legendFormat" : "Routeranzahl",
  350. "refId" : "A"
  351. }
  352. ],
  353. "thresholds" : [
  354. ],
  355. "timeFrom" : null,
  356. "timeShift" : null,
  357. "title" : "Anzahl der Router im Mesh '[[mesh_name]]'",
  358. "tooltip" : {
  359. "shared" : true,
  360. "sort" : 0,
  361. "value_type" : "individual"
  362. },
  363. "type" : "graph",
  364. "xaxis" : {
  365. "buckets" : null,
  366. "mode" : "time",
  367. "name" : null,
  368. "show" : true,
  369. "values" : [
  370. ]
  371. },
  372. "yaxes" : [
  373. {
  374. "decimals" : 0,
  375. "format" : "short",
  376. "label" : "",
  377. "logBase" : 1,
  378. "max" : null,
  379. "min" : "0",
  380. "show" : true
  381. },
  382. {
  383. "format" : "short",
  384. "label" : null,
  385. "logBase" : 1,
  386. "max" : null,
  387. "min" : null,
  388. "show" : false
  389. }
  390. ]
  391. }
  392. ],
  393. "repeat" : null,
  394. "repeatIteration" : null,
  395. "repeatRowId" : null,
  396. "showTitle" : false,
  397. "title" : "Anzahl der Router im Mesh '[[mesh_name]]'",
  398. "titleSize" : "h6"
  399. },
  400. {
  401. "collapse" : true,
  402. "height" : "500",
  403. "panels" : [
  404. {
  405. "columns" : [
  406. ],
  407. "datasource" : null,
  408. "fontSize" : "100%",
  409. "id" : 7,
  410. "links" : [
  411. ],
  412. "pageSize" : null,
  413. "scroll" : true,
  414. "showHeader" : true,
  415. "sort" : {
  416. "col" : 5,
  417. "desc" : false
  418. },
  419. "span" : 12,
  420. "styles" : [
  421. {
  422. "alias" : "Time",
  423. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  424. "pattern" : "Time",
  425. "type" : "hidden"
  426. },
  427. {
  428. "alias" : "",
  429. "colorMode" : null,
  430. "colors" : [
  431. "rgba(245, 54, 54, 0.9)",
  432. "rgba(237, 129, 40, 0.89)",
  433. "rgba(50, 172, 45, 0.97)"
  434. ],
  435. "decimals" : 2,
  436. "pattern" : "\/__name__|Value\/",
  437. "thresholds" : [
  438. ],
  439. "type" : "hidden",
  440. "unit" : "short"
  441. },
  442. {
  443. "unit" : "short",
  444. "type" : "string",
  445. "alias" : "Autoupd.",
  446. "decimals" : 2,
  447. "colors" : [
  448. "rgba(245, 54, 54, 0.9)",
  449. "rgba(237, 129, 40, 0.89)",
  450. "rgba(50, 172, 45, 0.97)"
  451. ],
  452. "colorMode" : null,
  453. "pattern" : "autoupdater",
  454. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  455. "thresholds" : [
  456. ]
  457. },
  458. {
  459. "unit" : "short",
  460. "type" : "string",
  461. "alias" : "Branch",
  462. "decimals" : 2,
  463. "colors" : [
  464. "rgba(245, 54, 54, 0.9)",
  465. "rgba(237, 129, 40, 0.89)",
  466. "rgba(50, 172, 45, 0.97)"
  467. ],
  468. "colorMode" : null,
  469. "pattern" : "branch",
  470. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  471. "thresholds" : [
  472. ]
  473. },
  474. {
  475. "unit" : "short",
  476. "type" : "string",
  477. "alias" : "Firmware",
  478. "decimals" : 2,
  479. "colors" : [
  480. "rgba(245, 54, 54, 0.9)",
  481. "rgba(237, 129, 40, 0.89)",
  482. "rgba(50, 172, 45, 0.97)"
  483. ],
  484. "colorMode" : null,
  485. "pattern" : "firmware",
  486. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  487. "thresholds" : [
  488. ]
  489. },
  490. {
  491. "unit" : "short",
  492. "type" : "string",
  493. "alias" : "Hardware",
  494. "decimals" : 2,
  495. "colors" : [
  496. "rgba(245, 54, 54, 0.9)",
  497. "rgba(237, 129, 40, 0.89)",
  498. "rgba(50, 172, 45, 0.97)"
  499. ],
  500. "colorMode" : null,
  501. "pattern" : "model",
  502. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  503. "thresholds" : [
  504. ]
  505. },
  506. {
  507. "alias" : "Routername",
  508. "colorMode" : null,
  509. "colors" : [
  510. "rgba(245, 54, 54, 0.9)",
  511. "rgba(237, 129, 40, 0.89)",
  512. "rgba(50, 172, 45, 0.97)"
  513. ],
  514. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  515. "decimals" : 2,
  516. "link" : true,
  517. "linkTargetBlank" : true,
  518. "linkTooltip" : "zur Statusseite f\u00FCr $__cell",
  519. "linkUrl" : "%%DASHBOARD_PATH%%%%DASHBOARD_PREFIX%%status-render.json?var-hostname=$__cell",
  520. "pattern" : "hostname",
  521. "thresholds" : [
  522. ],
  523. "type" : "string",
  524. "unit" : "short"
  525. },
  526. {
  527. "unit" : "short",
  528. "type" : "string",
  529. "alias" : "Node ID",
  530. "decimals" : 2,
  531. "colors" : [
  532. "rgba(245, 54, 54, 0.9)",
  533. "rgba(237, 129, 40, 0.89)",
  534. "rgba(50, 172, 45, 0.97)"
  535. ],
  536. "colorMode" : null,
  537. "pattern" : "node_id",
  538. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  539. "thresholds" : [
  540. ]
  541. },
  542. {
  543. "unit" : "short",
  544. "type" : "string",
  545. "alias" : "Meshinterfaces",
  546. "decimals" : 2,
  547. "colors" : [
  548. "rgba(245, 54, 54, 0.9)",
  549. "rgba(237, 129, 40, 0.89)",
  550. "rgba(50, 172, 45, 0.97)"
  551. ],
  552. "colorMode" : null,
  553. "pattern" : "interfaces",
  554. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  555. "thresholds" : [
  556. ]
  557. },
  558. {
  559. "unit" : "short",
  560. "type" : "string",
  561. "alias" : "Gateway",
  562. "decimals" : 2,
  563. "colors" : [
  564. "rgba(245, 54, 54, 0.9)",
  565. "rgba(237, 129, 40, 0.89)",
  566. "rgba(50, 172, 45, 0.97)"
  567. ],
  568. "colorMode" : null,
  569. "pattern" : "gateway",
  570. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  571. "thresholds" : [
  572. ]
  573. },
  574. {
  575. "alias" : "",
  576. "colorMode" : null,
  577. "colors" : [
  578. "rgba(245, 54, 54, 0.9)",
  579. "rgba(237, 129, 40, 0.89)",
  580. "rgba(50, 172, 45, 0.97)"
  581. ],
  582. "dateFormat" : "YYYY-MM-DD HH:mm:ss",
  583. "decimals" : 2,
  584. "pattern" : "\/.*\/",
  585. "thresholds" : [
  586. ],
  587. "type" : "string",
  588. "unit" : "short"
  589. }
  590. ],
  591. "targets" : [
  592. {
  593. "expr" : "max(%%PROM_INFO_PREFIX%%{node_id=~\"[[regex]]\"}) by (autoupdater,branch,firmware,gateway,hostname,interfaces,model,node_id)",
  594. "format" : "table",
  595. "instant" : true,
  596. "intervalFactor" : 2,
  597. "refId" : "A"
  598. }
  599. ],
  600. "title" : "Liste der Router im Mesh '[[mesh_name]]'",
  601. "transform" : "table",
  602. "type" : "table"
  603. }
  604. ],
  605. "repeat" : null,
  606. "repeatIteration" : null,
  607. "repeatRowId" : null,
  608. "showTitle" : false,
  609. "title" : "Liste der Router im Mesh '[[mesh_name]]'",
  610. "titleSize" : "h6"
  611. }
  612. ],
  613. "schemaVersion" : 14,
  614. "style" : "dark",
  615. "tags" : [
  616. ],
  617. "templating" : {
  618. "list" : [
  619. {
  620. "allValue" : null,
  621. "current" : {
  622. },
  623. "datasource" : null,
  624. "hide" : 0,
  625. "includeAll" : false,
  626. "label" : "Mesh ausw\u00E4hlen:",
  627. "multi" : false,
  628. "name" : "mesh_name",
  629. "options" : [
  630. ],
  631. "query" : "query_result(%%PROM_INFO_PREFIX%% and on (node_id) max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh[1d]))",
  632. "refresh" : 2,
  633. "regex" : "\/.*hostname=\"([^\\\"]+)\".*\/",
  634. "sort" : 1,
  635. "tagValuesQuery" : "",
  636. "tags" : [
  637. ],
  638. "tagsQuery" : "",
  639. "type" : "query",
  640. "useTags" : false
  641. },
  642. {
  643. "allValue" : null,
  644. "current" : {
  645. },
  646. "datasource" : null,
  647. "hide" : 1,
  648. "includeAll" : false,
  649. "label" : null,
  650. "multi" : false,
  651. "name" : "mesh_id",
  652. "options" : [
  653. ],
  654. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[mesh_name]]\"},node_id)",
  655. "refresh" : 2,
  656. "regex" : "",
  657. "sort" : 1,
  658. "tagValuesQuery" : "",
  659. "tags" : [
  660. ],
  661. "tagsQuery" : "",
  662. "type" : "query",
  663. "useTags" : false
  664. },
  665. {
  666. "allValue" : null,
  667. "current" : {
  668. },
  669. "datasource" : null,
  670. "hide" : 2,
  671. "includeAll" : false,
  672. "label" : null,
  673. "multi" : false,
  674. "name" : "regex",
  675. "options" : [
  676. ],
  677. "query" : "query_result(max(max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{node_id=\"[[mesh_id]]\"}[1d])) by (members) == scalar(max(max_over_time(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh{node_id=\"[[mesh_id]]\"}[1d]))))",
  678. "refresh" : 2,
  679. "regex" : "\/.*members=\"([^\"]+)\".\/",
  680. "sort" : 0,
  681. "tagValuesQuery" : "",
  682. "tags" : [
  683. ],
  684. "tagsQuery" : "",
  685. "type" : "query",
  686. "useTags" : false
  687. },
  688. {
  689. "allValue" : null,
  690. "current" : {
  691. },
  692. "datasource" : null,
  693. "hide" : 0,
  694. "includeAll" : false,
  695. "label" : "Router ausw\u00E4hlen:",
  696. "multi" : false,
  697. "name" : "hostname",
  698. "options" : [
  699. ],
  700. "query" : "label_values(%%PROM_INFO_PREFIX%%{node_id=~\"[[regex]]\"},hostname)",
  701. "refresh" : 2,
  702. "regex" : "",
  703. "sort" : 1,
  704. "tagValuesQuery" : "",
  705. "tags" : [
  706. ],
  707. "tagsQuery" : "",
  708. "type" : "query",
  709. "useTags" : false
  710. },
  711. {
  712. "allValue" : null,
  713. "current" : {
  714. },
  715. "datasource" : null,
  716. "hide" : 1,
  717. "includeAll" : false,
  718. "label" : null,
  719. "multi" : false,
  720. "name" : "node_id",
  721. "options" : [
  722. ],
  723. "query" : "label_values(%%PROM_INFO_PREFIX%%{hostname=\"[[hostname]]\"},node_id)",
  724. "refresh" : 2,
  725. "regex" : "",
  726. "sort" : 1,
  727. "tagValuesQuery" : "",
  728. "tags" : [
  729. ],
  730. "tagsQuery" : "",
  731. "type" : "query",
  732. "useTags" : false
  733. },
  734. {
  735. "allValue" : null,
  736. "current" : {
  737. },
  738. "datasource" : null,
  739. "hide" : 2,
  740. "includeAll" : false,
  741. "label" : null,
  742. "multi" : false,
  743. "name" : "mesh_count",
  744. "options" : [
  745. ],
  746. "query" : "query_result(count(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh))",
  747. "refresh" : 2,
  748. "regex" : "\/.* ([0-9]+) .*\/",
  749. "sort" : 1,
  750. "tagValuesQuery" : "",
  751. "tags" : [
  752. ],
  753. "tagsQuery" : "",
  754. "type" : "query",
  755. "useTags" : false
  756. },
  757. {
  758. "allValue" : null,
  759. "current" : {
  760. },
  761. "datasource" : null,
  762. "hide" : 2,
  763. "includeAll" : false,
  764. "label" : null,
  765. "multi" : false,
  766. "name" : "node_sum",
  767. "options" : [
  768. ],
  769. "query" : "query_result(sum(floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)))",
  770. "refresh" : 2,
  771. "regex" : "\/.* ([0-9]+) .*\/",
  772. "sort" : 1,
  773. "tagValuesQuery" : "",
  774. "tags" : [
  775. ],
  776. "tagsQuery" : "",
  777. "type" : "query",
  778. "useTags" : false
  779. },
  780. {
  781. "allValue" : null,
  782. "current" : {
  783. },
  784. "datasource" : null,
  785. "hide" : 2,
  786. "includeAll" : false,
  787. "label" : null,
  788. "multi" : false,
  789. "name" : "link_sum",
  790. "options" : [
  791. ],
  792. "query" : "query_result(round(1000 * (sum(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh) - sum(floor(%%PROM_GRAPH_PREFIX%%%%PROM_SEPERATOR%%mesh)))))",
  793. "refresh" : 2,
  794. "regex" : "\/.* ([0-9]+) .*\/",
  795. "sort" : 1,
  796. "tagValuesQuery" : "",
  797. "tags" : [
  798. ],
  799. "tagsQuery" : "",
  800. "type" : "query",
  801. "useTags" : false
  802. }
  803. ]
  804. },
  805. "time" : {
  806. "from" : "now-24h",
  807. "to" : "now"
  808. },
  809. "timepicker" : {
  810. "refresh_intervals" : [
  811. "5s",
  812. "10s",
  813. "30s",
  814. "1m",
  815. "5m",
  816. "15m",
  817. "30m",
  818. "1h",
  819. "2h",
  820. "1d"
  821. ],
  822. "time_options" : [
  823. "5m",
  824. "15m",
  825. "1h",
  826. "6h",
  827. "12h",
  828. "24h",
  829. "2d",
  830. "7d",
  831. "30d"
  832. ]
  833. },
  834. "timezone" : "",
  835. "title" : "%%DASHBOARD_PREFIX%%status-mesh-render",
  836. "version" : 12
  837. }