Grafana dashboard: PowerDNS metrics
Description: PowerDNS metrics

To enable sending metrics, set `carbon-server` in the PowerDNS configuration (usually `/etc/pdns/pdns.conf`) to the IP address of your graphite instance.

{
  "__inputs": [
    {
      "name": "DS_NL-INFRA-CAP1_GRAPHITE",
      "label": "nl-infra-cap1 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": "piechart",
      "name": "Pie chart",
      "version": ""
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    },
    {
      "type": "panel",
      "id": "timeseries",
      "name": "Time series",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": {
          "type": "datasource",
          "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": "PowerDNS metrics",
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 0,
  "id": null,
  "links": [
    {
      "icon": "info",
      "tags": [],
      "targetBlank": true,
      "title": "nl-adns1 pdns stats",
      "type": "link",
      "url": "http://nl-adns1.sl.nextlayer.at:8081/"
    },
    {
      "icon": "doc",
      "tags": [],
      "targetBlank": true,
      "title": "metrics docs",
      "type": "link",
      "url": "https://doc.powerdns.com/authoritative/performance.html#performance-monitoring"
    },
    {
      "icon": "external link",
      "tags": [
        "dns",
        "recursor"
      ],
      "type": "dashboards"
    }
  ],
  "liveNow": false,
  "panels": [
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Packets that could not be answered due to database problems",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "options": {
                "match": "null",
                "result": {
                  "text": "N/A"
                }
              },
              "type": "special"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#299c46",
                "value": null
              },
              {
                "color": "rgba(237, 129, 40, 0.89)",
                "value": 5
              },
              {
                "color": "#d44a3a",
                "value": 10
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 0
      },
      "id": 26,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "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(pdns.$host.auth.servfail-packets)), 'DB problems')"
        }
      ],
      "title": "DB problems",
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Packets waiting for database attention",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "options": {
                "match": "null",
                "result": {
                  "text": "N/A"
                }
              },
              "type": "special"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#299c46",
                "value": null
              },
              {
                "color": "rgba(237, 129, 40, 0.89)",
                "value": 5
              },
              {
                "color": "#d44a3a",
                "value": 10
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 3,
        "y": 0
      },
      "id": 27,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "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(pdns.$host.auth.qsize-q)), 'DB queue')"
        }
      ],
      "title": "DB queue",
      "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": "bars",
            "fillOpacity": 100,
            "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,
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Answers"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-purple",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "Queries"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-green",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "queries"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "answers"
            },
            "properties": [
              {
                "id": "custom.transform",
                "value": "negative-Y"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 8,
        "w": 18,
        "x": 6,
        "y": 0
      },
      "id": 8,
      "links": [],
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true
        },
        "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(pdns.$host.auth.{udp,tcp}-queries)), 'queries')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "hide": false,
          "refCount": 0,
          "refId": "D",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.{udp,tcp}-answers)), 'answers')",
          "textEditor": false
        }
      ],
      "title": "Queries/s vs. Answers/s",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Questions dropped because backends overloaded",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "options": {
                "match": "null",
                "result": {
                  "text": "N/A"
                }
              },
              "type": "special"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#299c46",
                "value": null
              },
              {
                "color": "rgba(237, 129, 40, 0.89)",
                "value": 5
              },
              {
                "color": "#d44a3a",
                "value": 10
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 0,
        "y": 4
      },
      "id": 22,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "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(pdns.$host.auth.overload-drops)), 'Overload drops')"
        }
      ],
      "title": "Overload drops",
      "transparent": true,
      "type": "stat"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "description": "Packets received faster than the OS could process them",
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "thresholds"
          },
          "mappings": [
            {
              "options": {
                "match": "null",
                "result": {
                  "text": "N/A"
                }
              },
              "type": "special"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "#299c46",
                "value": null
              },
              {
                "color": "rgba(237, 129, 40, 0.89)",
                "value": 5
              },
              {
                "color": "#d44a3a",
                "value": 10
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 3,
        "x": 3,
        "y": 4
      },
      "id": 28,
      "links": [],
      "maxDataPoints": 100,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "horizontal",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "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(pdns.$host.auth.udp-in-errors)), 'UDP in errors')"
        }
      ],
      "title": "UDP in errors",
      "transparent": true,
      "type": "stat"
    },
    {
      "cacheTimeout": "",
      "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": 3600000,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "µs"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Latency"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "pdns"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-blue",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 0,
        "y": 8
      },
      "id": 12,
      "links": [],
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "aliasByNode(perSecond(aliasByNode(pdns.$host.auth.latency, 1)), 0)",
          "textEditor": false
        }
      ],
      "title": "Latency",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "cacheTimeout": "",
      "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "links": [],
          "mappings": [],
          "min": 0,
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Notifications"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-yellow",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 6,
        "x": 6,
        "y": 8
      },
      "id": 18,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.incoming-notifications)), 'notifications')",
          "textEditor": false
        }
      ],
      "title": "Incoming Notifications",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "cacheTimeout": "",
      "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "Notifications"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "semi-dark-yellow",
                  "mode": "fixed"
                }
              }
            ]
          },
          {
            "matcher": {
              "id": "byName",
              "options": "dnsupdate-answers"
            },
            "properties": [
              {
                "id": "custom.transform",
                "value": "negative-Y"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 7,
        "x": 12,
        "y": 8
      },
      "id": 25,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.recursing-answers)), 'answers')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.recursing-questions)), 'questions')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "C",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.recursion-unanswered)), 'unanswered')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "D",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.rd-queries)), 'requested')",
          "textEditor": false
        }
      ],
      "title": "Recursion Queries/s",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "datasource": {
        "type": "graphite",
        "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
      },
      "fieldConfig": {
        "defaults": {
          "color": {
            "mode": "palette-classic"
          },
          "custom": {
            "hideFrom": {
              "legend": false,
              "tooltip": false,
              "viz": false
            }
          },
          "decimals": 0,
          "mappings": [],
          "unit": "short"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 5,
        "x": 19,
        "y": 8
      },
      "id": 6,
      "links": [],
      "options": {
        "legend": {
          "calcs": [],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true,
          "values": [
            "value"
          ]
        },
        "pieType": "pie",
        "reduceOptions": {
          "calcs": [
            "lastNotNull"
          ],
          "fields": "",
          "values": false
        },
        "tooltip": {
          "mode": "single",
          "sort": "none"
        }
      },
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "aliasSub(aliasByNode(summarize(groupByNode(pdns.$host.auth.{udp4,tcp4}-queries, 3, 'sum'), '$interval', 'sum', false), 0), '(udp|tcp)\\d-queries', '\\1 v4')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "B",
          "target": "aliasSub(aliasByNode(summarize(groupByNode(pdns.$host.auth.{udp6,tcp6}-queries, 3, 'sum'), '$interval', 'sum', false), 0), '(udp|tcp)\\d-queries', '\\1 v6')"
        }
      ],
      "title": "Protocol",
      "transparent": true,
      "type": "piechart"
    },
    {
      "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"
                }
              }
            ]
          },
          {
            "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": 9,
        "x": 0,
        "y": 15
      },
      "id": 20,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.packetcache-hit)), 'hits')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.packetcache-miss)), 'misses')"
        }
      ],
      "title": "Packet Cache Hits/s vs. Misses/s",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "cacheTimeout": "",
      "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": "signature-cache"
            },
            "properties": [
              {
                "id": "color",
                "value": {
                  "fixedColor": "dark-green",
                  "mode": "fixed"
                }
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 7,
        "w": 15,
        "x": 9,
        "y": 15
      },
      "id": 10,
      "links": [],
      "options": {
        "legend": {
          "calcs": [
            "lastNotNull"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(sumSeries(pdns.$host.auth.key-cache-size), 'key-cache')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "B",
          "target": "alias(sumSeries(pdns.$host.auth.meta-cache-size), 'meta-cache')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "C",
          "target": "alias(sumSeries(pdns.$host.auth.packetcache-size), 'packet-cache')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "D",
          "target": "alias(sumSeries(pdns.$host.auth.query-cache-size), 'query-cache')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "E",
          "target": "alias(sumSeries(pdns.$host.auth.signature-cache-size), 'signature-cache')"
        }
      ],
      "title": "Cache",
      "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"
                }
              }
            ]
          },
          {
            "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": 9,
        "x": 0,
        "y": 21
      },
      "id": 23,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "table",
          "placement": "right",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.query-cache-hit)), 'hits')"
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.query-cache-miss)), 'misses')"
        }
      ],
      "title": "Query Cache Hits/s vs. Misses/s",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "cacheTimeout": "",
      "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "dnsupdate-answers"
            },
            "properties": [
              {
                "id": "custom.transform",
                "value": "negative-Y"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 8,
        "x": 9,
        "y": 22
      },
      "id": 14,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.dnsupdate-answers)), 'answered')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.dnsupdate-queries)), 'received')",
          "textEditor": false
        }
      ],
      "title": "DNS updates received vs. answered",
      "transparent": true,
      "type": "timeseries"
    },
    {
      "cacheTimeout": "",
      "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": true,
            "stacking": {
              "group": "A",
              "mode": "none"
            },
            "thresholdsStyle": {
              "mode": "off"
            }
          },
          "decimals": 0,
          "links": [],
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": {
              "id": "byName",
              "options": "dnsupdate-refused"
            },
            "properties": [
              {
                "id": "custom.transform",
                "value": "negative-Y"
              }
            ]
          }
        ]
      },
      "gridPos": {
        "h": 5,
        "w": 7,
        "x": 17,
        "y": 22
      },
      "id": 16,
      "options": {
        "legend": {
          "calcs": [
            "mean"
          ],
          "displayMode": "list",
          "placement": "bottom",
          "showLegend": true
        },
        "tooltip": {
          "mode": "multi",
          "sort": "none"
        }
      },
      "pluginVersion": "9.3.1",
      "targets": [
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "A",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.dnsupdate-changes)), 'changes')",
          "textEditor": false
        },
        {
          "datasource": {
            "type": "graphite",
            "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
          },
          "refCount": 0,
          "refId": "B",
          "target": "alias(perSecond(sumSeries(pdns.$host.auth.dnsupdate-refused)), 'refused')",
          "textEditor": false
        }
      ],
      "title": "DNS update changes vs. refused",
      "transparent": true,
      "type": "timeseries"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 37,
  "style": "dark",
  "tags": [
    "dns",
    "powerdns",
    "auth"
  ],
  "templating": {
    "list": [
      {
        "current": {},
        "datasource": {
          "type": "graphite",
          "uid": "${DS_NL-INFRA-CAP1_GRAPHITE}"
        },
        "definition": "pdns.*",
        "hide": 0,
        "includeAll": true,
        "multi": false,
        "name": "host",
        "options": [],
        "query": "pdns.*",
        "refresh": 1,
        "regex": "^nl-adns.*",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "auto": true,
        "auto_count": 30,
        "auto_min": "10s",
        "current": {
          "selected": false,
          "text": "auto",
          "value": "$__auto_interval_interval"
        },
        "hide": 2,
        "name": "interval",
        "options": [
          {
            "selected": true,
            "text": "auto",
            "value": "$__auto_interval_interval"
          },
          {
            "selected": false,
            "text": "30s",
            "value": "30s"
          },
          {
            "selected": false,
            "text": "1m",
            "value": "1m"
          },
          {
            "selected": false,
            "text": "10m",
            "value": "10m"
          },
          {
            "selected": false,
            "text": "30m",
            "value": "30m"
          },
          {
            "selected": false,
            "text": "1h",
            "value": "1h"
          },
          {
            "selected": false,
            "text": "6h",
            "value": "6h"
          },
          {
            "selected": false,
            "text": "12h",
            "value": "12h"
          },
          {
            "selected": false,
            "text": "1d",
            "value": "1d"
          },
          {
            "selected": false,
            "text": "7d",
            "value": "7d"
          },
          {
            "selected": false,
            "text": "14d",
            "value": "14d"
          },
          {
            "selected": false,
            "text": "30d",
            "value": "30d"
          }
        ],
        "query": "30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
        "refresh": 2,
        "skipUrlSync": false,
        "type": "interval"
      }
    ]
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "PowerDNS metrics",
  "uid": "uwu2q_DZk",
  "version": 7,
  "weekStart": "",
  "gnetId": 13228
}