diff options
Diffstat (limited to 'collectors/python.d.plugin/dnsdist')
-rw-r--r-- | collectors/python.d.plugin/dnsdist/README.md | 18 | ||||
-rw-r--r-- | collectors/python.d.plugin/dnsdist/dnsdist.chart.py | 4 |
2 files changed, 16 insertions, 6 deletions
diff --git a/collectors/python.d.plugin/dnsdist/README.md b/collectors/python.d.plugin/dnsdist/README.md index 4310fe28..7c279efa 100644 --- a/collectors/python.d.plugin/dnsdist/README.md +++ b/collectors/python.d.plugin/dnsdist/README.md @@ -1,8 +1,12 @@ -# dnsdist +<!-- +title: "PowerDNS dnsdist monitoring with Netdata" +custom_edit_url: https://github.com/netdata/netdata/edit/master/collectors/python.d.plugin/dnsdist/README.md +sidebar_label: "PowerDNS dnsdist" +--> -This module monitors dnsdist performance and health metrics. +# PowerDNS dnsdist monitoring with Netdata -The module draws the following charts: +Collects load-balancer performance and health metrics, and draws the following charts: 1. **Response latency** @@ -47,6 +51,14 @@ The module draws the following charts: ## Configuration +Edit the `python.d/dnsdist.conf` configuration file using `edit-config` from the Netdata [config +directory](/docs/configure/nodes.md), which is typically at `/etc/netdata`. + +```bash +cd /etc/netdata # Replace this path with your Netdata config directory, if different +sudo ./edit-config python.d/dnsdist.conf +``` + ```yaml localhost: name : 'local' diff --git a/collectors/python.d.plugin/dnsdist/dnsdist.chart.py b/collectors/python.d.plugin/dnsdist/dnsdist.chart.py index d6085865..7e947923 100644 --- a/collectors/python.d.plugin/dnsdist/dnsdist.chart.py +++ b/collectors/python.d.plugin/dnsdist/dnsdist.chart.py @@ -5,7 +5,6 @@ from json import loads from bases.FrameworkServices.UrlService import UrlService - ORDER = [ 'queries', 'queries_dropped', @@ -21,7 +20,6 @@ ORDER = [ 'query_latency_avg' ] - CHARTS = { 'queries': { 'options': [None, 'Client queries received', 'queries/s', 'queries', 'dnsdist.queries', 'line'], @@ -107,7 +105,7 @@ CHARTS = { ] }, 'query_latency_avg': { - 'options': [None, 'Average latency for the last N queries', 'ms/query', 'latency', + 'options': [None, 'Average latency for the last N queries', 'microseconds', 'latency', 'dnsdist.query_latency_avg', 'line'], 'lines': [ ['latency-avg100', '100', 'absolute'], |