diff options
Diffstat (limited to 'collectors/python.d.plugin/traefik')
-rw-r--r-- | collectors/python.d.plugin/traefik/README.md | 20 | ||||
-rw-r--r-- | collectors/python.d.plugin/traefik/traefik.chart.py | 2 |
2 files changed, 17 insertions, 5 deletions
diff --git a/collectors/python.d.plugin/traefik/README.md b/collectors/python.d.plugin/traefik/README.md index 9ced6060f..2a1dd77aa 100644 --- a/collectors/python.d.plugin/traefik/README.md +++ b/collectors/python.d.plugin/traefik/README.md @@ -1,6 +1,12 @@ -# traefik +<!-- +title: "Traefik monitoring with Netdata" +custom_edit_url: https://github.com/netdata/netdata/edit/master/collectors/python.d.plugin/traefik/README.md +sidebar_label: "Traefik" +--> -Module uses the `health` API to provide statistics. +# Traefik monitoring with Netdata + +Uses the `health` API to provide statistics. It produces: @@ -39,7 +45,15 @@ It produces: - Traefik server uptime -## configuration +## Configuration + +Edit the `python.d/traefik.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/traefik.conf +``` Needs only `url` to server's `health` diff --git a/collectors/python.d.plugin/traefik/traefik.chart.py b/collectors/python.d.plugin/traefik/traefik.chart.py index 570339d0a..5a498467f 100644 --- a/collectors/python.d.plugin/traefik/traefik.chart.py +++ b/collectors/python.d.plugin/traefik/traefik.chart.py @@ -4,12 +4,10 @@ # SPDX-License-Identifier: GPL-3.0-or-later from collections import defaultdict - from json import loads from bases.FrameworkServices.UrlService import UrlService - ORDER = [ 'response_statuses', 'response_codes', |