blackbox-dashboard.json 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382
  1. {
  2. "__inputs": [
  3. {
  4. "name": "DS_PROMETHEUS",
  5. "label": "Prometheus",
  6. "description": "",
  7. "type": "datasource",
  8. "pluginId": "prometheus",
  9. "pluginName": "Prometheus"
  10. }
  11. ],
  12. "__elements": [],
  13. "__requires": [
  14. {
  15. "type": "grafana",
  16. "id": "grafana",
  17. "name": "Grafana",
  18. "version": "8.3.4"
  19. },
  20. {
  21. "type": "datasource",
  22. "id": "prometheus",
  23. "name": "Prometheus",
  24. "version": "1.0.0"
  25. },
  26. {
  27. "type": "panel",
  28. "id": "stat",
  29. "name": "Stat",
  30. "version": ""
  31. },
  32. {
  33. "type": "panel",
  34. "id": "table",
  35. "name": "Table",
  36. "version": ""
  37. },
  38. {
  39. "type": "panel",
  40. "id": "timeseries",
  41. "name": "Time series",
  42. "version": ""
  43. }
  44. ],
  45. "annotations": {
  46. "list": [
  47. {
  48. "builtIn": 1,
  49. "datasource": "-- Grafana --",
  50. "enable": true,
  51. "hide": true,
  52. "iconColor": "rgba(0, 211, 255, 1)",
  53. "instance": {
  54. "limit": 100,
  55. "matchAny": false,
  56. "tags": [
  57. "blackbox",
  58. "prometheus"
  59. ],
  60. "type": "dashboard"
  61. },
  62. "name": "Annotations & Alerts",
  63. "target": {
  64. "limit": 100,
  65. "matchAny": false,
  66. "tags": [],
  67. "type": "dashboard"
  68. },
  69. "type": "dashboard"
  70. }
  71. ]
  72. },
  73. "description": "Prometheus Blackbox Exporter Overview",
  74. "editable": true,
  75. "fiscalYearStartMonth": 0,
  76. "gnetId": 14928,
  77. "graphTooltip": 0,
  78. "id": null,
  79. "iteration": 1686344624543,
  80. "links": [],
  81. "liveNow": false,
  82. "panels": [
  83. {
  84. "datasource": {
  85. "type": "prometheus",
  86. "uid": "${DS_PROMETHEUS}"
  87. },
  88. "fieldConfig": {
  89. "defaults": {
  90. "color": {
  91. "mode": "thresholds"
  92. },
  93. "custom": {
  94. "axisLabel": "",
  95. "axisPlacement": "auto",
  96. "axisSoftMax": 599,
  97. "barAlignment": 0,
  98. "drawStyle": "line",
  99. "fillOpacity": 10,
  100. "gradientMode": "none",
  101. "hideFrom": {
  102. "legend": false,
  103. "tooltip": false,
  104. "viz": false
  105. },
  106. "lineInterpolation": "smooth",
  107. "lineStyle": {
  108. "fill": "solid"
  109. },
  110. "lineWidth": 1,
  111. "pointSize": 5,
  112. "scaleDistribution": {
  113. "type": "linear"
  114. },
  115. "showPoints": "always",
  116. "spanNulls": true,
  117. "stacking": {
  118. "group": "A",
  119. "mode": "none"
  120. },
  121. "thresholdsStyle": {
  122. "mode": "area"
  123. }
  124. },
  125. "links": [],
  126. "mappings": [],
  127. "thresholds": {
  128. "mode": "absolute",
  129. "steps": [
  130. {
  131. "color": "green",
  132. "value": null
  133. },
  134. {
  135. "color": "blue",
  136. "value": 300
  137. },
  138. {
  139. "color": "orange",
  140. "value": 400
  141. },
  142. {
  143. "color": "red",
  144. "value": 500
  145. }
  146. ]
  147. },
  148. "unit": "none"
  149. },
  150. "overrides": []
  151. },
  152. "gridPos": {
  153. "h": 6,
  154. "w": 12,
  155. "x": 0,
  156. "y": 0
  157. },
  158. "id": 30,
  159. "links": [],
  160. "options": {
  161. "legend": {
  162. "calcs": [
  163. "lastNotNull"
  164. ],
  165. "displayMode": "table",
  166. "placement": "right"
  167. },
  168. "tooltip": {
  169. "mode": "multi"
  170. }
  171. },
  172. "pluginVersion": "8.1.0",
  173. "targets": [
  174. {
  175. "exemplar": true,
  176. "expr": "probe_http_status_code{instance=~\"$instance\"}",
  177. "format": "time_series",
  178. "interval": "$interval",
  179. "intervalFactor": 1,
  180. "legendFormat": "{{instance}}",
  181. "refId": "B"
  182. }
  183. ],
  184. "title": "HTTP Status Code",
  185. "type": "timeseries"
  186. },
  187. {
  188. "datasource": {
  189. "type": "prometheus",
  190. "uid": "${DS_PROMETHEUS}"
  191. },
  192. "fieldConfig": {
  193. "defaults": {
  194. "color": {
  195. "mode": "thresholds"
  196. },
  197. "mappings": [
  198. {
  199. "options": {
  200. "0": {
  201. "text": "DOWN"
  202. },
  203. "1": {
  204. "text": "UP"
  205. }
  206. },
  207. "type": "value"
  208. },
  209. {
  210. "options": {
  211. "match": "null",
  212. "result": {
  213. "text": "N/A"
  214. }
  215. },
  216. "type": "special"
  217. }
  218. ],
  219. "thresholds": {
  220. "mode": "absolute",
  221. "steps": [
  222. {
  223. "color": "#d44a3a",
  224. "value": null
  225. },
  226. {
  227. "color": "rgba(237, 129, 40, 0.89)",
  228. "value": 1
  229. },
  230. {
  231. "color": "#299c46",
  232. "value": 1
  233. }
  234. ]
  235. },
  236. "unit": "none"
  237. },
  238. "overrides": []
  239. },
  240. "gridPos": {
  241. "h": 6,
  242. "w": 4,
  243. "x": 12,
  244. "y": 0
  245. },
  246. "id": 2,
  247. "links": [],
  248. "maxDataPoints": 100,
  249. "options": {
  250. "colorMode": "background",
  251. "graphMode": "none",
  252. "justifyMode": "auto",
  253. "orientation": "horizontal",
  254. "reduceOptions": {
  255. "calcs": [
  256. "lastNotNull"
  257. ],
  258. "fields": "",
  259. "values": false
  260. },
  261. "text": {
  262. "titleSize": 12,
  263. "valueSize": 12
  264. },
  265. "textMode": "auto"
  266. },
  267. "pluginVersion": "8.3.4",
  268. "repeatDirection": "v",
  269. "targets": [
  270. {
  271. "exemplar": true,
  272. "expr": "probe_success{instance=~\"$instance\"}",
  273. "format": "time_series",
  274. "interval": "$interval",
  275. "intervalFactor": 1,
  276. "legendFormat": "{{instance}}",
  277. "refId": "A"
  278. }
  279. ],
  280. "title": "Status",
  281. "type": "stat"
  282. },
  283. {
  284. "datasource": {
  285. "type": "prometheus",
  286. "uid": "${DS_PROMETHEUS}"
  287. },
  288. "fieldConfig": {
  289. "defaults": {
  290. "color": {
  291. "mode": "thresholds"
  292. },
  293. "decimals": 0,
  294. "mappings": [
  295. {
  296. "options": {
  297. "0": {
  298. "text": "N/A"
  299. },
  300. "1": {
  301. "text": "YES"
  302. }
  303. },
  304. "type": "value"
  305. },
  306. {
  307. "options": {
  308. "match": "null",
  309. "result": {
  310. "text": "N/A"
  311. }
  312. },
  313. "type": "special"
  314. }
  315. ],
  316. "thresholds": {
  317. "mode": "absolute",
  318. "steps": [
  319. {
  320. "color": "#299c46",
  321. "value": null
  322. },
  323. {
  324. "color": "rgba(237, 129, 40, 0.89)",
  325. "value": 201
  326. },
  327. {
  328. "color": "#d44a3a",
  329. "value": 399
  330. }
  331. ]
  332. },
  333. "unit": "none"
  334. },
  335. "overrides": []
  336. },
  337. "gridPos": {
  338. "h": 6,
  339. "w": 4,
  340. "x": 16,
  341. "y": 0
  342. },
  343. "id": 20,
  344. "links": [],
  345. "maxDataPoints": 100,
  346. "options": {
  347. "colorMode": "value",
  348. "graphMode": "none",
  349. "justifyMode": "auto",
  350. "orientation": "horizontal",
  351. "reduceOptions": {
  352. "calcs": [
  353. "lastNotNull"
  354. ],
  355. "fields": "",
  356. "values": false
  357. },
  358. "text": {
  359. "titleSize": 12,
  360. "valueSize": 12
  361. },
  362. "textMode": "auto"
  363. },
  364. "pluginVersion": "8.3.4",
  365. "repeatDirection": "h",
  366. "targets": [
  367. {
  368. "exemplar": true,
  369. "expr": "probe_http_status_code{instance=~\"$instance\"}",
  370. "format": "time_series",
  371. "interval": "$interval",
  372. "intervalFactor": 1,
  373. "legendFormat": "{{instance}}",
  374. "refId": "A"
  375. }
  376. ],
  377. "title": "HTTP Status Code",
  378. "type": "stat"
  379. },
  380. {
  381. "datasource": {
  382. "type": "prometheus",
  383. "uid": "${DS_PROMETHEUS}"
  384. },
  385. "fieldConfig": {
  386. "defaults": {
  387. "color": {
  388. "mode": "thresholds"
  389. },
  390. "mappings": [
  391. {
  392. "options": {
  393. "match": "null",
  394. "result": {
  395. "text": "N/A"
  396. }
  397. },
  398. "type": "special"
  399. }
  400. ],
  401. "thresholds": {
  402. "mode": "absolute",
  403. "steps": [
  404. {
  405. "color": "green",
  406. "value": null
  407. },
  408. {
  409. "color": "red",
  410. "value": 80
  411. }
  412. ]
  413. },
  414. "unit": "none"
  415. },
  416. "overrides": []
  417. },
  418. "gridPos": {
  419. "h": 6,
  420. "w": 4,
  421. "x": 20,
  422. "y": 0
  423. },
  424. "id": 27,
  425. "links": [],
  426. "maxDataPoints": 100,
  427. "options": {
  428. "colorMode": "none",
  429. "graphMode": "none",
  430. "justifyMode": "auto",
  431. "orientation": "horizontal",
  432. "reduceOptions": {
  433. "calcs": [
  434. "lastNotNull"
  435. ],
  436. "fields": "",
  437. "values": false
  438. },
  439. "text": {
  440. "titleSize": 12,
  441. "valueSize": 12
  442. },
  443. "textMode": "auto"
  444. },
  445. "pluginVersion": "8.3.4",
  446. "targets": [
  447. {
  448. "exemplar": true,
  449. "expr": "probe_http_version{instance=~\"$instance\"}",
  450. "format": "time_series",
  451. "interval": "",
  452. "intervalFactor": 1,
  453. "legendFormat": "{{instance}}",
  454. "refId": "A"
  455. }
  456. ],
  457. "title": "HTTP Version",
  458. "transformations": [],
  459. "type": "stat"
  460. },
  461. {
  462. "datasource": {
  463. "type": "prometheus",
  464. "uid": "${DS_PROMETHEUS}"
  465. },
  466. "fieldConfig": {
  467. "defaults": {
  468. "color": {
  469. "mode": "palette-classic"
  470. },
  471. "custom": {
  472. "axisLabel": "",
  473. "axisPlacement": "auto",
  474. "barAlignment": 0,
  475. "drawStyle": "line",
  476. "fillOpacity": 10,
  477. "gradientMode": "none",
  478. "hideFrom": {
  479. "legend": false,
  480. "tooltip": false,
  481. "viz": false
  482. },
  483. "lineInterpolation": "linear",
  484. "lineWidth": 1,
  485. "pointSize": 5,
  486. "scaleDistribution": {
  487. "type": "linear"
  488. },
  489. "showPoints": "never",
  490. "spanNulls": true,
  491. "stacking": {
  492. "group": "A",
  493. "mode": "none"
  494. },
  495. "thresholdsStyle": {
  496. "mode": "off"
  497. }
  498. },
  499. "mappings": [],
  500. "thresholds": {
  501. "mode": "absolute",
  502. "steps": [
  503. {
  504. "color": "dark-green",
  505. "value": null
  506. },
  507. {
  508. "color": "orange",
  509. "value": 0.2
  510. },
  511. {
  512. "color": "red",
  513. "value": 0.5
  514. }
  515. ]
  516. },
  517. "unit": "s"
  518. },
  519. "overrides": []
  520. },
  521. "gridPos": {
  522. "h": 6,
  523. "w": 12,
  524. "x": 0,
  525. "y": 6
  526. },
  527. "id": 17,
  528. "links": [],
  529. "options": {
  530. "legend": {
  531. "calcs": [
  532. "mean"
  533. ],
  534. "displayMode": "table",
  535. "placement": "right"
  536. },
  537. "tooltip": {
  538. "mode": "multi"
  539. }
  540. },
  541. "pluginVersion": "8.1.0",
  542. "targets": [
  543. {
  544. "exemplar": true,
  545. "expr": "probe_duration_seconds{instance=~\"$instance\"}",
  546. "format": "time_series",
  547. "interval": "$interval",
  548. "intervalFactor": 1,
  549. "legendFormat": "{{instance}}",
  550. "refId": "A"
  551. }
  552. ],
  553. "title": "Probe Duration",
  554. "type": "timeseries"
  555. },
  556. {
  557. "datasource": {
  558. "type": "prometheus",
  559. "uid": "${DS_PROMETHEUS}"
  560. },
  561. "fieldConfig": {
  562. "defaults": {
  563. "color": {
  564. "mode": "thresholds"
  565. },
  566. "mappings": [
  567. {
  568. "options": {
  569. "match": "null",
  570. "result": {
  571. "text": "N/A"
  572. }
  573. },
  574. "type": "special"
  575. }
  576. ],
  577. "thresholds": {
  578. "mode": "absolute",
  579. "steps": [
  580. {
  581. "color": "dark-green",
  582. "value": null
  583. },
  584. {
  585. "color": "orange",
  586. "value": 0.2
  587. },
  588. {
  589. "color": "red",
  590. "value": 0.5
  591. }
  592. ]
  593. },
  594. "unit": "s"
  595. },
  596. "overrides": []
  597. },
  598. "gridPos": {
  599. "h": 6,
  600. "w": 4,
  601. "x": 12,
  602. "y": 6
  603. },
  604. "id": 23,
  605. "links": [],
  606. "maxDataPoints": 100,
  607. "options": {
  608. "colorMode": "value",
  609. "graphMode": "none",
  610. "justifyMode": "auto",
  611. "orientation": "horizontal",
  612. "reduceOptions": {
  613. "calcs": [
  614. "lastNotNull"
  615. ],
  616. "fields": "",
  617. "values": false
  618. },
  619. "text": {
  620. "titleSize": 12,
  621. "valueSize": 12
  622. },
  623. "textMode": "auto"
  624. },
  625. "pluginVersion": "8.3.4",
  626. "targets": [
  627. {
  628. "exemplar": true,
  629. "expr": "avg(probe_duration_seconds{instance=~\"$instance\"}) by (instance)",
  630. "format": "time_series",
  631. "interval": "$interval",
  632. "intervalFactor": 1,
  633. "legendFormat": "{{instance}}",
  634. "refId": "A"
  635. }
  636. ],
  637. "title": "Average Probe Duration",
  638. "type": "stat"
  639. },
  640. {
  641. "datasource": {
  642. "type": "prometheus",
  643. "uid": "${DS_PROMETHEUS}"
  644. },
  645. "fieldConfig": {
  646. "defaults": {
  647. "color": {
  648. "mode": "thresholds"
  649. },
  650. "decimals": 2,
  651. "mappings": [
  652. {
  653. "options": {
  654. "match": "null",
  655. "result": {
  656. "text": "N/A"
  657. }
  658. },
  659. "type": "special"
  660. }
  661. ],
  662. "thresholds": {
  663. "mode": "absolute",
  664. "steps": [
  665. {
  666. "color": "dark-green",
  667. "value": null
  668. },
  669. {
  670. "color": "orange",
  671. "value": 0.025
  672. },
  673. {
  674. "color": "red",
  675. "value": 0.05
  676. }
  677. ]
  678. },
  679. "unit": "s"
  680. },
  681. "overrides": []
  682. },
  683. "gridPos": {
  684. "h": 6,
  685. "w": 4,
  686. "x": 16,
  687. "y": 6
  688. },
  689. "id": 24,
  690. "links": [],
  691. "maxDataPoints": 100,
  692. "options": {
  693. "colorMode": "value",
  694. "graphMode": "none",
  695. "justifyMode": "auto",
  696. "orientation": "horizontal",
  697. "reduceOptions": {
  698. "calcs": [
  699. "lastNotNull"
  700. ],
  701. "fields": "",
  702. "values": false
  703. },
  704. "text": {
  705. "titleSize": 12,
  706. "valueSize": 12
  707. },
  708. "textMode": "auto"
  709. },
  710. "pluginVersion": "8.3.4",
  711. "repeatDirection": "h",
  712. "targets": [
  713. {
  714. "exemplar": true,
  715. "expr": "avg(probe_dns_lookup_time_seconds{instance=~\"$instance\"}) by (instance)",
  716. "format": "time_series",
  717. "interval": "$interval",
  718. "intervalFactor": 1,
  719. "legendFormat": "{{instance}}",
  720. "refId": "A"
  721. }
  722. ],
  723. "title": "Average DNS Lookup",
  724. "type": "stat"
  725. },
  726. {
  727. "datasource": {
  728. "type": "prometheus",
  729. "uid": "${DS_PROMETHEUS}"
  730. },
  731. "fieldConfig": {
  732. "defaults": {
  733. "color": {
  734. "mode": "thresholds"
  735. },
  736. "mappings": [
  737. {
  738. "options": {
  739. "match": "null",
  740. "result": {
  741. "text": "N/A"
  742. }
  743. },
  744. "type": "special"
  745. }
  746. ],
  747. "thresholds": {
  748. "mode": "absolute",
  749. "steps": [
  750. {
  751. "color": "green",
  752. "value": null
  753. },
  754. {
  755. "color": "red",
  756. "value": 80
  757. }
  758. ]
  759. },
  760. "unit": "none"
  761. },
  762. "overrides": []
  763. },
  764. "gridPos": {
  765. "h": 6,
  766. "w": 4,
  767. "x": 20,
  768. "y": 6
  769. },
  770. "id": 28,
  771. "links": [],
  772. "maxDataPoints": 100,
  773. "options": {
  774. "colorMode": "none",
  775. "graphMode": "none",
  776. "justifyMode": "auto",
  777. "orientation": "horizontal",
  778. "reduceOptions": {
  779. "calcs": [
  780. "lastNotNull"
  781. ],
  782. "fields": "",
  783. "values": false
  784. },
  785. "text": {
  786. "titleSize": 12,
  787. "valueSize": 12
  788. },
  789. "textMode": "auto"
  790. },
  791. "pluginVersion": "8.3.4",
  792. "targets": [
  793. {
  794. "exemplar": true,
  795. "expr": "probe_ip_protocol{instance=~\"$instance\"}",
  796. "format": "time_series",
  797. "interval": "",
  798. "intervalFactor": 1,
  799. "legendFormat": "{{instance}}",
  800. "refId": "A"
  801. }
  802. ],
  803. "title": "IP protocol",
  804. "type": "stat"
  805. },
  806. {
  807. "datasource": {
  808. "type": "prometheus",
  809. "uid": "${DS_PROMETHEUS}"
  810. },
  811. "fieldConfig": {
  812. "defaults": {
  813. "color": {
  814. "mode": "palette-classic"
  815. },
  816. "custom": {
  817. "axisLabel": "",
  818. "axisPlacement": "auto",
  819. "barAlignment": 0,
  820. "drawStyle": "line",
  821. "fillOpacity": 10,
  822. "gradientMode": "none",
  823. "hideFrom": {
  824. "legend": false,
  825. "tooltip": false,
  826. "viz": false
  827. },
  828. "lineInterpolation": "smooth",
  829. "lineWidth": 1,
  830. "pointSize": 5,
  831. "scaleDistribution": {
  832. "type": "linear"
  833. },
  834. "showPoints": "never",
  835. "spanNulls": true,
  836. "stacking": {
  837. "group": "A",
  838. "mode": "none"
  839. },
  840. "thresholdsStyle": {
  841. "mode": "off"
  842. }
  843. },
  844. "mappings": [],
  845. "thresholds": {
  846. "mode": "absolute",
  847. "steps": [
  848. {
  849. "color": "green",
  850. "value": null
  851. },
  852. {
  853. "color": "red",
  854. "value": 80
  855. }
  856. ]
  857. },
  858. "unit": "s"
  859. },
  860. "overrides": []
  861. },
  862. "gridPos": {
  863. "h": 6,
  864. "w": 12,
  865. "x": 0,
  866. "y": 12
  867. },
  868. "id": 25,
  869. "links": [],
  870. "options": {
  871. "legend": {
  872. "calcs": [
  873. "mean"
  874. ],
  875. "displayMode": "table",
  876. "placement": "right"
  877. },
  878. "tooltip": {
  879. "mode": "single"
  880. }
  881. },
  882. "pluginVersion": "8.1.0",
  883. "targets": [
  884. {
  885. "exemplar": true,
  886. "expr": "probe_http_duration_seconds{instance=~\"$instance\", phase=~\"$phase\"}",
  887. "format": "time_series",
  888. "interval": "$interval",
  889. "intervalFactor": 1,
  890. "legendFormat": "{{instance}} - {{ phase }}",
  891. "refId": "B"
  892. }
  893. ],
  894. "title": "HTTP Duration (phase = $phase)",
  895. "type": "timeseries"
  896. },
  897. {
  898. "datasource": {
  899. "type": "prometheus",
  900. "uid": "${DS_PROMETHEUS}"
  901. },
  902. "fieldConfig": {
  903. "defaults": {
  904. "color": {
  905. "mode": "thresholds"
  906. },
  907. "decimals": 2,
  908. "mappings": [
  909. {
  910. "options": {
  911. "0": {
  912. "text": "NO"
  913. },
  914. "1": {
  915. "text": "YES"
  916. }
  917. },
  918. "type": "value"
  919. },
  920. {
  921. "options": {
  922. "match": "null",
  923. "result": {
  924. "text": "N/A"
  925. }
  926. },
  927. "type": "special"
  928. }
  929. ],
  930. "thresholds": {
  931. "mode": "absolute",
  932. "steps": [
  933. {
  934. "color": "#d44a3a",
  935. "value": null
  936. },
  937. {
  938. "color": "rgba(237, 129, 40, 0.89)",
  939. "value": 0
  940. },
  941. {
  942. "color": "#299c46",
  943. "value": 1209600
  944. }
  945. ]
  946. },
  947. "unit": "dtdhms"
  948. },
  949. "overrides": []
  950. },
  951. "gridPos": {
  952. "h": 6,
  953. "w": 4,
  954. "x": 12,
  955. "y": 12
  956. },
  957. "id": 19,
  958. "links": [],
  959. "maxDataPoints": 100,
  960. "options": {
  961. "colorMode": "value",
  962. "graphMode": "none",
  963. "justifyMode": "auto",
  964. "orientation": "horizontal",
  965. "reduceOptions": {
  966. "calcs": [
  967. "lastNotNull"
  968. ],
  969. "fields": "",
  970. "values": false
  971. },
  972. "text": {
  973. "titleSize": 12,
  974. "valueSize": 12
  975. },
  976. "textMode": "auto"
  977. },
  978. "pluginVersion": "8.3.4",
  979. "repeatDirection": "h",
  980. "targets": [
  981. {
  982. "exemplar": true,
  983. "expr": "probe_ssl_earliest_cert_expiry{instance=~\"$instance\"} - time()",
  984. "format": "time_series",
  985. "interval": "$interval",
  986. "intervalFactor": 1,
  987. "legendFormat": "{{instance}}",
  988. "refId": "A"
  989. }
  990. ],
  991. "title": "SSL Expiry",
  992. "type": "stat"
  993. },
  994. {
  995. "datasource": {
  996. "type": "prometheus",
  997. "uid": "${DS_PROMETHEUS}"
  998. },
  999. "fieldConfig": {
  1000. "defaults": {
  1001. "color": {
  1002. "mode": "thresholds"
  1003. },
  1004. "mappings": [
  1005. {
  1006. "options": {
  1007. "0": {
  1008. "text": "NO"
  1009. },
  1010. "1": {
  1011. "text": "YES"
  1012. }
  1013. },
  1014. "type": "value"
  1015. },
  1016. {
  1017. "options": {
  1018. "match": "null",
  1019. "result": {
  1020. "text": "N/A"
  1021. }
  1022. },
  1023. "type": "special"
  1024. }
  1025. ],
  1026. "thresholds": {
  1027. "mode": "absolute",
  1028. "steps": [
  1029. {
  1030. "color": "#d44a3a",
  1031. "value": null
  1032. },
  1033. {
  1034. "color": "rgba(237, 129, 40, 0.89)",
  1035. "value": 0
  1036. },
  1037. {
  1038. "color": "#299c46",
  1039. "value": 1
  1040. }
  1041. ]
  1042. },
  1043. "unit": "none"
  1044. },
  1045. "overrides": []
  1046. },
  1047. "gridPos": {
  1048. "h": 6,
  1049. "w": 4,
  1050. "x": 16,
  1051. "y": 12
  1052. },
  1053. "id": 18,
  1054. "links": [],
  1055. "maxDataPoints": 100,
  1056. "options": {
  1057. "colorMode": "value",
  1058. "graphMode": "none",
  1059. "justifyMode": "auto",
  1060. "orientation": "horizontal",
  1061. "reduceOptions": {
  1062. "calcs": [
  1063. "lastNotNull"
  1064. ],
  1065. "fields": "",
  1066. "values": false
  1067. },
  1068. "text": {
  1069. "titleSize": 12,
  1070. "valueSize": 12
  1071. },
  1072. "textMode": "auto"
  1073. },
  1074. "pluginVersion": "8.3.4",
  1075. "repeatDirection": "v",
  1076. "targets": [
  1077. {
  1078. "exemplar": true,
  1079. "expr": "probe_http_ssl{instance=~\"$instance\"}",
  1080. "format": "time_series",
  1081. "interval": "$interval",
  1082. "intervalFactor": 1,
  1083. "legendFormat": "{{instance}}",
  1084. "refId": "A"
  1085. }
  1086. ],
  1087. "title": "SSL",
  1088. "type": "stat"
  1089. },
  1090. {
  1091. "datasource": {
  1092. "type": "prometheus",
  1093. "uid": "${DS_PROMETHEUS}"
  1094. },
  1095. "fieldConfig": {
  1096. "defaults": {
  1097. "color": {
  1098. "mode": "thresholds"
  1099. },
  1100. "custom": {
  1101. "align": "auto",
  1102. "displayMode": "auto",
  1103. "filterable": false
  1104. },
  1105. "mappings": [
  1106. {
  1107. "options": {
  1108. "match": "null",
  1109. "result": {
  1110. "text": "N/A"
  1111. }
  1112. },
  1113. "type": "special"
  1114. }
  1115. ],
  1116. "thresholds": {
  1117. "mode": "absolute",
  1118. "steps": [
  1119. {
  1120. "color": "green",
  1121. "value": null
  1122. },
  1123. {
  1124. "color": "red",
  1125. "value": 80
  1126. }
  1127. ]
  1128. },
  1129. "unit": "none"
  1130. },
  1131. "overrides": []
  1132. },
  1133. "gridPos": {
  1134. "h": 6,
  1135. "w": 4,
  1136. "x": 20,
  1137. "y": 12
  1138. },
  1139. "id": 29,
  1140. "links": [],
  1141. "maxDataPoints": 100,
  1142. "options": {
  1143. "footer": {
  1144. "fields": "",
  1145. "reducer": [
  1146. "sum"
  1147. ],
  1148. "show": false
  1149. },
  1150. "showHeader": false,
  1151. "sortBy": [
  1152. {
  1153. "desc": false,
  1154. "displayName": "job"
  1155. }
  1156. ]
  1157. },
  1158. "pluginVersion": "8.3.4",
  1159. "targets": [
  1160. {
  1161. "exemplar": true,
  1162. "expr": "probe_tls_version_info{instance=~\"$instance\"}",
  1163. "format": "table",
  1164. "instant": true,
  1165. "interval": "",
  1166. "intervalFactor": 1,
  1167. "legendFormat": "{{version}}",
  1168. "refId": "A"
  1169. }
  1170. ],
  1171. "title": "TLS version",
  1172. "transformations": [
  1173. {
  1174. "id": "organize",
  1175. "options": {
  1176. "excludeByName": {
  1177. "Time": true,
  1178. "Value": true,
  1179. "Value #A": true,
  1180. "__name__": true,
  1181. "instance": true,
  1182. "job": true,
  1183. "version": false
  1184. },
  1185. "indexByName": {},
  1186. "renameByName": {
  1187. "__name__": ""
  1188. }
  1189. }
  1190. }
  1191. ],
  1192. "type": "table"
  1193. }
  1194. ],
  1195. "refresh": false,
  1196. "schemaVersion": 34,
  1197. "style": "dark",
  1198. "tags": [
  1199. "blackbox",
  1200. "prometheus"
  1201. ],
  1202. "templating": {
  1203. "list": [
  1204. {
  1205. "auto": true,
  1206. "auto_count": 10,
  1207. "auto_min": "10s",
  1208. "current": {
  1209. "selected": false,
  1210. "text": "30s",
  1211. "value": "30s"
  1212. },
  1213. "hide": 0,
  1214. "label": "Interval",
  1215. "name": "interval",
  1216. "options": [
  1217. {
  1218. "selected": false,
  1219. "text": "auto",
  1220. "value": "$__auto_interval_interval"
  1221. },
  1222. {
  1223. "selected": false,
  1224. "text": "5s",
  1225. "value": "5s"
  1226. },
  1227. {
  1228. "selected": false,
  1229. "text": "10s",
  1230. "value": "10s"
  1231. },
  1232. {
  1233. "selected": true,
  1234. "text": "30s",
  1235. "value": "30s"
  1236. },
  1237. {
  1238. "selected": false,
  1239. "text": "1m",
  1240. "value": "1m"
  1241. },
  1242. {
  1243. "selected": false,
  1244. "text": "10m",
  1245. "value": "10m"
  1246. },
  1247. {
  1248. "selected": false,
  1249. "text": "30m",
  1250. "value": "30m"
  1251. },
  1252. {
  1253. "selected": false,
  1254. "text": "1h",
  1255. "value": "1h"
  1256. },
  1257. {
  1258. "selected": false,
  1259. "text": "6h",
  1260. "value": "6h"
  1261. },
  1262. {
  1263. "selected": false,
  1264. "text": "12h",
  1265. "value": "12h"
  1266. },
  1267. {
  1268. "selected": false,
  1269. "text": "1d",
  1270. "value": "1d"
  1271. },
  1272. {
  1273. "selected": false,
  1274. "text": "7d",
  1275. "value": "7d"
  1276. },
  1277. {
  1278. "selected": false,
  1279. "text": "14d",
  1280. "value": "14d"
  1281. },
  1282. {
  1283. "selected": false,
  1284. "text": "30d",
  1285. "value": "30d"
  1286. }
  1287. ],
  1288. "query": "5s,10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
  1289. "queryValue": "",
  1290. "refresh": 2,
  1291. "skipUrlSync": false,
  1292. "type": "interval"
  1293. },
  1294. {
  1295. "current": {},
  1296. "datasource": {
  1297. "type": "prometheus",
  1298. "uid": "${DS_PROMETHEUS}"
  1299. },
  1300. "definition": "label_values(probe_success, instance)",
  1301. "hide": 0,
  1302. "includeAll": true,
  1303. "multi": true,
  1304. "name": "instance",
  1305. "options": [],
  1306. "query": {
  1307. "query": "label_values(probe_success, instance)",
  1308. "refId": "StandardVariableQuery"
  1309. },
  1310. "refresh": 1,
  1311. "regex": "",
  1312. "skipUrlSync": false,
  1313. "sort": 0,
  1314. "tagValuesQuery": "",
  1315. "tagsQuery": "",
  1316. "type": "query",
  1317. "useTags": false
  1318. },
  1319. {
  1320. "current": {},
  1321. "datasource": {
  1322. "type": "prometheus",
  1323. "uid": "${DS_PROMETHEUS}"
  1324. },
  1325. "definition": "label_values(probe_http_duration_seconds, phase)",
  1326. "hide": 0,
  1327. "includeAll": true,
  1328. "label": "HTTP phase",
  1329. "multi": true,
  1330. "name": "phase",
  1331. "options": [],
  1332. "query": {
  1333. "query": "label_values(probe_http_duration_seconds, phase)",
  1334. "refId": "StandardVariableQuery"
  1335. },
  1336. "refresh": 1,
  1337. "regex": "",
  1338. "skipUrlSync": false,
  1339. "sort": 1,
  1340. "tagValuesQuery": "",
  1341. "tagsQuery": "",
  1342. "type": "query",
  1343. "useTags": false
  1344. }
  1345. ]
  1346. },
  1347. "time": {
  1348. "from": "now-30m",
  1349. "to": "now"
  1350. },
  1351. "timepicker": {
  1352. "refresh_intervals": [
  1353. "5s",
  1354. "10s",
  1355. "30s",
  1356. "1m",
  1357. "5m",
  1358. "15m",
  1359. "30m",
  1360. "1h",
  1361. "2h",
  1362. "1d"
  1363. ],
  1364. "time_options": [
  1365. "5m",
  1366. "15m",
  1367. "30m",
  1368. "1h",
  1369. "6h",
  1370. "12h",
  1371. "24h",
  1372. "2d",
  1373. "7d",
  1374. "30d"
  1375. ]
  1376. },
  1377. "timezone": "",
  1378. "title": "Prometheus Blackbox Exporter",
  1379. "uid": "pS6ZuGV7z",
  1380. "version": 1,
  1381. "weekStart": ""
  1382. }