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