Grafana dashboard: dnsdist
Description: dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic.

Shows all available metrics for PowerDNS dnsdist

{
  "__inputs": [
    {
      "name": "DS_NL-INFRA-CAP1_GRAPHITE",
      "label": "Graphite",
      "description": "",
      "type": "datasource",
      "pluginId": "graphite",
      "pluginName": "Graphite"
    }
  ],
  "__elements": {},
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "9.3.1"
    },
    {
      "type": "datasource",
      "id": "graphite",
      "name": "Graphite",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "grafana",
          "uid": "-- Grafana --"
        },
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "target": {
          "limit": 100,
          "matchAny": false,
          "tags": [],
          "type": "dashboard"
        },
        "type": "dashboard"
      }
    ]
  },
  "description": "dnsdist is a highly DNS-, DoS- and abuse-aware loadbalancer. Its goal in life is to route traffic to the best server, delivering top performance to legitimate users while shunting or blocking abusive traffic.",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [
    {
      "asDropdown": false,
      "icon": "doc",
      "includeVars": false,
      "keepTime": false,
      "tags": [],
      "targetBlank": true,
      "title": "metrics docs",
      "tooltip": "",
      "type": "link",
      "url": "https://dnsdist.org/statistics.html"
    },
    {
      "asDropdown": false,
      "icon": "external link",
      "includeVars": false,
      "keepTime": false,
      "tags": [
        "dns",
        "recursor"
      ],
      "targetBlank": false,
      "title": "",
      "tooltip": "",
      "type": "dashboards",
      "url": ""
    },
    {
      "asDropdown": false,
      "icon": "external link",
      "includeVars": false,
      "keepTime": false,
      "tags": [
        "dns",
        "auth"
      ],
      "targetBlank": false,
      "title": "",
      "tooltip": "",
      "type": "dashboards",
      "url": ""
    }
  ],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Number of queries per second dropped as non-compliant",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 5
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 0
      },
      "id": 17,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.noncompliant-queries)), 'noncompliant-queries')"
        }
      ],
      "title": "Non-compliant drops",
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Number of packets dropped because of the ACL per second",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 5
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 4,
        "y": 0
      },
      "id": 6,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.acl-drops)), 'acl-drops')"
        }
      ],
      "title": "ACL drops",
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "responses"
            },
            "properties": [
              {
                "id": "custom.transform",
                "value": "negative-Y"
              },
              {
                "id": "color",
                "value": {
                  "fixedColor": "#464646",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "queries"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "servfail-answers"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.transform",
                "value": "negative-Y"
              },
              {
                "id": "custom.stacking",
                "value": {
                  "group": "A",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "nxdomain-answers"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.transform",
                "value": "negative-Y"
              },
              {
                "id": "custom.stacking",
                "value": {
                  "group": "A",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "self-answered"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.stacking",
                "value": {
                  "group": "A",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "noerror-answers"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.transform",
                "value": "negative-Y"
              },
              {
                "id": "custom.stacking",
                "value": {
                  "group": "A",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "empty-queries"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#838383",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.stacking",
                "value": {
                  "group": "B",
                  "mode": "normal"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "recursion desired"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-purple",
                  "mode": "fixed"
                }
              },
              {
                "id": "custom.stacking",
                "value": {
                  "group": "B",
                  "mode": "normal"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 16,
        "x": 8,
        "y": 0
      },
      "id": 3,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "width": 200
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "G",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.empty-queries)), 'empty-queries')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "H",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.rdqueries)), 'recursion desired')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.queries)), 'queries')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.responses, dnsdist.$host.main.cache-hits)), 'responses')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.frontend-servfail)), 'servfail-answers')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.frontend-nxdomain)), 'nxdomain-answers')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "F",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.frontend-noerror)), 'noerror-answers')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "E",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.self-answered)), 'self-answered')"
        }
      ],
      "title": "Queries/s vs. Responses/s",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Number of queries per second dropped because the internal DoH pipe was full.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 5
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 0,
        "y": 4
      },
      "id": 25,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.doh-query-pipe-full)), 'doh-query-pipe-full')"
        }
      ],
      "title": "DoH query pipe full",
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Number of responses per second dropped because the internal DoH pipe was full.",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "semi-dark-red",
                "value": 5
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 4,
        "x": 4,
        "y": 4
      },
      "id": 26,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.doh-response-pipe-full)), 'doh-response-pipe-full')"
        }
      ],
      "title": "DoH response pipe full",
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Average response latency in microseconds of the last 10000 packets",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "µs"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "nl-inx-fw3"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "nl-inx-fw2"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "super-light-orange",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 8,
        "x": 0,
        "y": 8
      },
      "id": 15,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true,
          "sortBy": "Mean",
          "sortDesc": true,
          "width": 200
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refId": "A",
          "target": "aliasByNode(dnsdist.$host.main.latency-avg1000, 1)"
        }
      ],
      "title": "Latency",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "bars",
            "fillOpacity": 100,
            "gradientMode": "opacity",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "1ms"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "10ms"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "50ms"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "100ms"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "1s"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "> 1s"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-red",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 16,
        "x": 8,
        "y": 8
      },
      "id": 8,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "width": 200
        },
        "tooltip": {
          "mode": "multi",
          "sort": "desc"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency0-1)), '1ms')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency1-10)), '10ms')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency10-50)), '50ms')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency50-100)), '100ms')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "E",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency100-1000)), '1s')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "F",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.latency-slow)), '> 1s')"
        }
      ],
      "title": "Time To Answer",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 0,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "auto",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 0,
        "y": 15
      },
      "id": 16,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "width": 200
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-drop)), 'rule-drop')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-nxdomain)), 'rule-nxdomain')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-refused)), 'rule-refused')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.rule-servfail)), 'rule-servfail')"
        }
      ],
      "title": "Rule Answers",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "servfail"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "timeouts"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-orange",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "send errors"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "red",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "not available"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#777676",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "non-compliant"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "#484848",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 16,
        "x": 8,
        "y": 15
      },
      "id": 28,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "sortBy": "Mean",
          "sortDesc": true,
          "width": 200
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.downstream-send-errors)), 'send errors')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.downstream-timeouts)), 'timeouts')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "C",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.no-policy)), 'not available')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.servfail-responses)), 'servfail')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "E",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.noncompliant-responses)), 'non-compliant')"
        }
      ],
      "title": "Backend Problems",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Number of queries per second dropped because of a dynamic block",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": 900000,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 6,
        "w": 8,
        "x": 0,
        "y": 21
      },
      "id": 22,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "width": 190
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.dyn-blocked)), 'dynamic-block')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.dyn-block-nmg-size)), 'block-entries')"
        }
      ],
      "title": "Dynamic Block",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "axisCenteredZero": false,
            "axisColorMode": "text",
            "axisLabel": "",
            "axisPlacement": "auto",
            "barAlignment": 0,
            "drawStyle": "line",
            "fillOpacity": 10,
            "gradientMode": "none",
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            },
            "lineInterpolation": "linear",
            "lineWidth": 1,
            "pointSize": 5,
            "scaleDistribution": {
              "type": "linear"
            },
            "showPoints": "never",
            "spanNulls": false,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "hits"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "misses"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "light-orange",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 6,
        "w": 16,
        "x": 8,
        "y": 21
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "width": 190
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.cache-hits)), 'hits')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(dnsdist.$host.main.cache-misses)), 'misses')"
        }
      ],
      "title": "Packet Cache Hits/s vs. Misses/s",
      "transparent": true,
      "type": "timeseries"
    }
  ],
  "refresh": "30s",
  "schemaVersion": 37,
  "style": "dark",
  "tags": [
    "dns",
    "dnsdist"
  ],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "graphite",
          "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
        },
        "definition": "",
        "hide": 0,
        "includeAll": true,
        "multi": false,
        "name": "host",
        "options": [],
        "query": {
          "queryType": "Default",
          "refId": "A",
          "target": "dnsdist.*"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "dnsdist",
  "uid": "pyx7eETVk",
  "version": 46,
  "weekStart": "",
  "gnetId": 18044
}