{"repo":"shipilovds/amneziawg-exporter","free":true,"listed":false,"github":"https://github.com/shipilovds/amneziawg-exporter","clone":"git clone https://github.com/shipilovds/amneziawg-exporter.git","description":"Prometheus Exporter for AmneziaWG Server","language":"Python","stars":16,"topics":["amnezia-vpn","exporter","prometheus"],"license":"GPL-3.0","category":"analytics","readme_excerpt":"AmneziaWG exporter amneziawg-exporter is a Prometheus exporter for gathering AmneziaWG client connection metrics. Features and limitations Client identification amneziawg-exporter can optionally identify WireGuard clients using a client table. If this feature is enabled, clients are identified by their names; otherwise, they are marked as \"unidentified.\" Operating modes amneziawg-exporter has three operating modes ( AWG EXPORTER OPS MODE environment variable): - http - run an HTTP server on AWG EXPORTER HTTP PORT to make metrics accessible, like most exporters. Default - metricsfile - write metrics to AWG EXPORTER METRICS FILE instead of serving them on http port. - oneshot - same as in metricsfile mode but the service creates a metrics file and then shuts down. In Docker, you can use a volume to save the file on disk. It can then be taken by node-exporter to serve your exporter metrics. [!TIP] Open this link to read more about the textfile collector. Configuration The following environment variables can be used to configure amneziawg-exporter. Variable Name Default Value Description -------------------------------------- ----------------------------- ------------------------------------------------------------------------- AWG EXPORTER SCRAPE INTERVAL 60 Interval for scraping WireGuard metrics (for the http mode). AWG EXPORTER HTTP PORT 9351 Port for HTTP service. AWG EXPORTER METRICS FILE /tmp/prometheus/awg.prom Path to the metrics file for Node exporter textfile collector","default_branch":null,"files":null,"tree":[],"storefront":"/r/shipilovds","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shipilovds/amneziawg-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}