Debian Codegraph @

dnsmasq-mixin/dnsmasq-overview.json

raw symbols SCIP
1 {
2 "annotations": {
3 "list": [
4 {
5 "builtIn": 1,
6 "datasource": {
7 "type": "datasource",
8 "uid": "grafana"
9 },
10 "enable": true,
11 "hide": true,
12 "iconColor": "rgba(0, 211, 255, 1)",
13 "name": "Annotations & Alerts",
14 "target": {
15 "limit": 100,
16 "matchAny": false,
17 "tags": [],
18 "type": "dashboard"
19 },
20 "type": "dashboard"
21 }
22 ]
23 },
24 "editable": true,
25 "fiscalYearStartMonth": 0,
26 "graphTooltip": 0,
27 "id": 94,
28 "links": [],
29 "liveNow": false,
30 "panels": [
31 {
32 "collapsed": false,
33 "datasource": {
34 "type": "datasource",
35 "uid": "grafana"
36 },
37 "gridPos": {
38 "h": 1,
39 "w": 24,
40 "x": 0,
41 "y": 0
42 },
43 "id": 15,
44 "panels": [],
45 "targets": [
46 {
47 "datasource": {
48 "type": "datasource",
49 "uid": "grafana"
50 },
51 "refId": "A"
52 }
53 ],
54 "title": "DNS Stats",
55 "type": "row"
56 },
57 {
58 "datasource": {
59 "uid": "$datasource"
60 },
61 "fieldConfig": {
62 "defaults": {
63 "mappings": [],
64 "thresholds": {
65 "mode": "absolute",
66 "steps": [
67 {
68 "color": "green",
69 "value": null
70 },
71 {
72 "color": "red",
73 "value": 80
74 }
75 ]
76 }
77 },
78 "overrides": []
79 },
80 "gridPos": {
81 "h": 6,
82 "w": 6,
83 "x": 0,
84 "y": 1
85 },
86 "id": 2,
87 "options": {
88 "colorMode": "value",
89 "graphMode": "area",
90 "justifyMode": "auto",
91 "orientation": "auto",
92 "reduceOptions": {
93 "calcs": [
94 "mean"
95 ],
96 "fields": "",
97 "values": false
98 },
99 "textMode": "auto"
100 },
101 "pluginVersion": "9.3.2-67a213dc85",
102 "targets": [
103 {
104 "datasource": {
105 "uid": "$datasource"
106 },
107 "expr": "sum(dnsmasq_leases{job=~\"$job\", instance=~\"$instance\"})",
108 "instant": false,
109 "interval": "",
110 "legendFormat": "",
111 "refId": "A"
112 }
113 ],
114 "title": "Leases",
115 "type": "stat"
116 },
117 {
118 "datasource": {
119 "uid": "$datasource"
120 },
121 "fieldConfig": {
122 "defaults": {
123 "mappings": [],
124 "noValue": "0",
125 "thresholds": {
126 "mode": "absolute",
127 "steps": [
128 {
129 "color": "green",
130 "value": null
131 },
132 {
133 "color": "red",
134 "value": 80
135 }
136 ]
137 }
138 },
139 "overrides": []
140 },
141 "gridPos": {
142 "h": 6,
143 "w": 6,
144 "x": 6,
145 "y": 1
146 },
147 "id": 16,
148 "options": {
149 "colorMode": "value",
150 "graphMode": "area",
151 "justifyMode": "auto",
152 "orientation": "auto",
153 "reduceOptions": {
154 "calcs": [
155 "mean"
156 ],
157 "fields": "",
158 "values": false
159 },
160 "textMode": "auto"
161 },
162 "pluginVersion": "9.3.2-67a213dc85",
163 "targets": [
164 {
165 "datasource": {
166 "uid": "$datasource"
167 },
168 "expr": "sum(dnsmasq_servers_queries{job=~\"$job\", instance=~\"$instance\"})",
169 "instant": false,
170 "interval": "",
171 "legendFormat": "",
172 "refId": "A"
173 }
174 ],
175 "title": "Upstream Queries",
176 "type": "stat"
177 },
178 {
179 "datasource": {
180 "uid": "$datasource"
181 },
182 "fieldConfig": {
183 "defaults": {
184 "mappings": [],
185 "max": 1,
186 "min": 0,
187 "noValue": "0%",
188 "thresholds": {
189 "mode": "absolute",
190 "steps": [
191 {
192 "color": "green",
193 "value": null
194 },
195 {
196 "color": "red",
197 "value": 80
198 }
199 ]
200 },
201 "unit": "percentunit"
202 },
203 "overrides": []
204 },
205 "gridPos": {
206 "h": 6,
207 "w": 6,
208 "x": 12,
209 "y": 1
210 },
211 "id": 17,
212 "options": {
213 "colorMode": "value",
214 "graphMode": "area",
215 "justifyMode": "auto",
216 "orientation": "auto",
217 "reduceOptions": {
218 "calcs": [
219 "mean"
220 ],
221 "fields": "",
222 "values": false
223 },
224 "textMode": "auto"
225 },
226 "pluginVersion": "9.3.2-67a213dc85",
227 "targets": [
228 {
229 "datasource": {
230 "uid": "$datasource"
231 },
232 "expr": "sum(dnsmasq_servers_queries_failed{job=~\"$job\", instance=~\"$instance\"}) / sum(dnsmasq_servers_queries{job=~\"$job\", instance=~\"$instance\"})",
233 "instant": false,
234 "interval": "",
235 "legendFormat": "",
236 "refId": "A"
237 }
238 ],
239 "title": "Upstream Failed Queries",
240 "type": "stat"
241 },
242 {
243 "collapsed": false,
244 "datasource": {
245 "type": "datasource",
246 "uid": "grafana"
247 },
248 "gridPos": {
249 "h": 1,
250 "w": 24,
251 "x": 0,
252 "y": 7
253 },
254 "id": 13,
255 "panels": [],
256 "targets": [
257 {
258 "datasource": {
259 "type": "datasource",
260 "uid": "grafana"
261 },
262 "refId": "A"
263 }
264 ],
265 "title": "Build Info",
266 "type": "row"
267 },
268 {
269 "datasource": {
270 "uid": "$datasource"
271 },
272 "fieldConfig": {
273 "defaults": {
274 "custom": {
275 "displayMode": "auto",
276 "inspect": false
277 },
278 "mappings": [],
279 "thresholds": {
280 "mode": "absolute",
281 "steps": [
282 {
283 "color": "green",
284 "value": null
285 },
286 {
287 "color": "red",
288 "value": 80
289 }
290 ]
291 }
292 },
293 "overrides": []
294 },
295 "gridPos": {
296 "h": 6,
297 "w": 24,
298 "x": 0,
299 "y": 8
300 },
301 "id": 4,
302 "options": {
303 "footer": {
304 "fields": "",
305 "reducer": [
306 "sum"
307 ],
308 "show": false
309 },
310 "showHeader": true
311 },
312 "pluginVersion": "9.3.2-67a213dc85",
313 "targets": [
314 {
315 "datasource": {
316 "uid": "$datasource"
317 },
318 "expr": "dnsmasq_exporter_build_info{job=~\"$job\", instance=~\"$instance\"}",
319 "format": "time_series",
320 "instant": true,
321 "interval": "",
322 "legendFormat": "",
323 "refId": "A"
324 }
325 ],
326 "title": "Build Info",
327 "transformations": [
328 {
329 "id": "labelsToFields",
330 "options": {}
331 },
332 {
333 "id": "merge",
334 "options": {}
335 },
336 {
337 "id": "organize",
338 "options": {
339 "excludeByName": {
340 "Time": true,
341 "Value": true,
342 "instance": false,
343 "job": true
344 },
345 "indexByName": {
346 "Time": 5,
347 "Value": 7,
348 "branch": 4,
349 "goversion": 2,
350 "instance": 0,
351 "job": 6,
352 "revision": 3,
353 "version": 1
354 },
355 "renameByName": {}
356 }
357 }
358 ],
359 "type": "table"
360 },
361 {
362 "collapsed": false,
363 "datasource": {
364 "type": "datasource",
365 "uid": "grafana"
366 },
367 "gridPos": {
368 "h": 1,
369 "w": 24,
370 "x": 0,
371 "y": 14
372 },
373 "id": 11,
374 "panels": [],
375 "targets": [
376 {
377 "datasource": {
378 "type": "datasource",
379 "uid": "grafana"
380 },
381 "refId": "A"
382 }
383 ],
384 "title": "Cache Stats",
385 "type": "row"
386 },
387 {
388 "datasource": {
389 "uid": "$datasource"
390 },
391 "fieldConfig": {
392 "defaults": {
393 "mappings": [],
394 "thresholds": {
395 "mode": "absolute",
396 "steps": [
397 {
398 "color": "green",
399 "value": null
400 },
401 {
402 "color": "red",
403 "value": 80
404 }
405 ]
406 }
407 },
408 "overrides": []
409 },
410 "gridPos": {
411 "h": 6,
412 "w": 6,
413 "x": 0,
414 "y": 15
415 },
416 "id": 8,
417 "options": {
418 "colorMode": "value",
419 "graphMode": "area",
420 "justifyMode": "auto",
421 "orientation": "auto",
422 "reduceOptions": {
423 "calcs": [
424 "mean"
425 ],
426 "fields": "",
427 "values": false
428 },
429 "textMode": "auto"
430 },
431 "pluginVersion": "9.3.2-67a213dc85",
432 "targets": [
433 {
434 "datasource": {
435 "uid": "$datasource"
436 },
437 "expr": "sum(dnsmasq_cachesize{job=~\"$job\", instance=~\"$instance\"})",
438 "instant": false,
439 "interval": "",
440 "legendFormat": "",
441 "refId": "A"
442 }
443 ],
444 "title": "Cache Size",
445 "type": "stat"
446 },
447 {
448 "datasource": {
449 "uid": "$datasource"
450 },
451 "fieldConfig": {
452 "defaults": {
453 "mappings": [],
454 "thresholds": {
455 "mode": "absolute",
456 "steps": [
457 {
458 "color": "green",
459 "value": null
460 },
461 {
462 "color": "red",
463 "value": 80
464 }
465 ]
466 }
467 },
468 "overrides": []
469 },
470 "gridPos": {
471 "h": 6,
472 "w": 6,
473 "x": 6,
474 "y": 15
475 },
476 "id": 6,
477 "options": {
478 "colorMode": "value",
479 "graphMode": "area",
480 "justifyMode": "auto",
481 "orientation": "auto",
482 "reduceOptions": {
483 "calcs": [
484 "mean"
485 ],
486 "fields": "",
487 "values": false
488 },
489 "textMode": "auto"
490 },
491 "pluginVersion": "9.3.2-67a213dc85",
492 "targets": [
493 {
494 "datasource": {
495 "uid": "$datasource"
496 },
497 "expr": "sum(dnsmasq_hits{job=~\"$job\", instance=~\"$instance\"})",
498 "instant": false,
499 "interval": "",
500 "legendFormat": "",
501 "refId": "A"
502 }
503 ],
504 "title": "Cache Hits",
505 "type": "stat"
506 },
507 {
508 "datasource": {
509 "uid": "$datasource"
510 },
511 "fieldConfig": {
512 "defaults": {
513 "mappings": [],
514 "thresholds": {
515 "mode": "absolute",
516 "steps": [
517 {
518 "color": "green",
519 "value": null
520 },
521 {
522 "color": "red",
523 "value": 80
524 }
525 ]
526 }
527 },
528 "overrides": []
529 },
530 "gridPos": {
531 "h": 6,
532 "w": 6,
533 "x": 12,
534 "y": 15
535 },
536 "id": 7,
537 "options": {
538 "colorMode": "value",
539 "graphMode": "area",
540 "justifyMode": "auto",
541 "orientation": "auto",
542 "reduceOptions": {
543 "calcs": [
544 "mean"
545 ],
546 "fields": "",
547 "values": false
548 },
549 "textMode": "auto"
550 },
551 "pluginVersion": "9.3.2-67a213dc85",
552 "targets": [
553 {
554 "datasource": {
555 "uid": "$datasource"
556 },
557 "expr": "sum(dnsmasq_insertions{job=~\"$job\", instance=~\"$instance\"})",
558 "instant": false,
559 "interval": "",
560 "legendFormat": "",
561 "refId": "A"
562 }
563 ],
564 "title": "Cache Insertions",
565 "type": "stat"
566 }
567 ],
568 "schemaVersion": 37,
569 "style": "dark",
570 "tags": [],
571 "templating": {
572 "list": [
573 {
574 "current": {
575 "selected": false,
576 "text": "default",
577 "value": "default"
578 },
579 "hide": 0,
580 "includeAll": false,
581 "label": "Data Source",
582 "multi": false,
583 "name": "datasource",
584 "options": [],
585 "query": "prometheus",
586 "queryValue": "",
587 "refresh": 1,
588 "regex": "",
589 "skipUrlSync": false,
590 "type": "datasource"
591 },
592 {
593 "allValue": ".+",
594 "current": {
595 "selected": false,
596 "text": "All",
597 "value": "$__all"
598 },
599 "datasource": {
600 "uid": "$datasource"
601 },
602 "definition": "label_values(dnsmasq_exporter_build_info, job)",
603 "hide": 0,
604 "includeAll": true,
605 "label": "job",
606 "multi": true,
607 "name": "job",
608 "options": [],
609 "query": "label_values(dnsmasq_exporter_build_info, job)",
610 "refresh": 1,
611 "regex": "",
612 "skipUrlSync": false,
613 "sort": 0,
614 "tagValuesQuery": "",
615 "tagsQuery": "",
616 "type": "query",
617 "useTags": false
618 },
619 {
620 "allValue": ".+",
621 "current": {
622 "selected": false,
623 "text": "All",
624 "value": "$__all"
625 },
626 "datasource": {
627 "uid": "$datasource"
628 },
629 "definition": "label_values(dnsmasq_exporter_build_info, instance)",
630 "hide": 0,
631 "includeAll": true,
632 "label": "instance",
633 "multi": true,
634 "name": "instance",
635 "options": [],
636 "query": "label_values(dnsmasq_exporter_build_info, instance)",
637 "refresh": 1,
638 "regex": "",
639 "skipUrlSync": false,
640 "sort": 0,
641 "tagValuesQuery": "",
642 "tagsQuery": "",
643 "type": "query",
644 "useTags": false
645 }
646 ]
647 },
648 "time": {
649 "from": "now-6h",
650 "to": "now"
651 },
652 "timepicker": {
653 "refresh_intervals": [
654 "10s",
655 "30s",
656 "1m",
657 "5m",
658 "15m",
659 "30m",
660 "1h",
661 "2h",
662 "1d"
663 ]
664 },
665 "timezone": "",
666 "title": "dnsmasq",
667 "uid": "ySypWTcMk",
668 "version": 2,
669 "weekStart": ""
670 }