# Prometheus WireGuard Exporter

Prometheus WireGuard Exporter is an Unraid plugin that collects metrics from your WireGuard VPN and exposes them on a Prometheus-compatible /metrics endpoint (port 9586). It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/4157/prometheus-wireguard-exporter

## Description

Prometheus WireGuard Exporter is an Unraid plugin that collects metrics from your WireGuard VPN and exposes them on a Prometheus-compatible /metrics endpoint (port 9586). It reports VPN and tunnel statistics so you can graph and alert on your WireGuard server in Prometheus or any other tool that reads Prometheus metrics. It wraps MindFlavor's open-source exporter and is aimed at homelab operators who want to monitor VPN health and traffic without running a separate exporter container.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

30/100 (Low), based on 4 of 5 factors.
- Maintained: 0 (last commit 1461 days ago)
- Popular: 56 (607 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 60 (no serious findings, 2 minor, CI, OpenSSF Scorecard 3.2/10)

## Links

- Docker Hub: https://hub.docker.com/r/mindflavor/prometheus-wireguard-exporter
- GitHub: https://github.com/MindFlavor/prometheus_wireguard_exporter
- Official website: https://mindflavor.github.io/prometheus_wireguard_exporter
- Unraid: https://ca.unraid.net/apps/prometheus-wireguard-exporter-0f6e3rp1sony69?q=Prometheus-Wireguard-Exporter

## Common questions

### Which WireGuard information does the exporter expose to Prometheus?

It exports the results of wg show all, or the results for a single interface if you specify a config file. The output is converted into a format Prometheus can query.

### Does the exporter need its own separate configuration file?

No. It uses the existing WireGuard configuration files, so the setup only needs the /etc/wireguard directory mapped in.

### What Prometheus config setting can stop scraping the exporter?

Keep scrape_timeout shorter than scrape_interval in the global section. If the timeout is not shorter, Prometheus rejects the configuration and won't start scraping.

### Is there a ready-made Grafana dashboard for this exporter?

Yes. Grafana has a WireGuard dashboard for the Rust-based WireGuard exporter.

## Alternatives

- Amazon CloudWatch: Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications running on AWS.
- Better Stack: AI-driven monitoring platform providing incident management, real-time logs, uptime, traces, error tracking, infrastructure analytics, and…
- Datadog: Datadog Agent is an on-host monitoring agent that collects metrics, logs, and traces from hosts, containers, and Kubernetes clusters and se…
- DeepFlow: Unify your cloud-native monitoring with zero-code eBPF, advanced profiling, and 10x storage efficiency.
- Grafana Loki: Grafana Loki is an open-source log aggregation system.
- Graylog: Graylog is a centralized log management platform built on open standards for capturing, storing, and analyzing terabytes of machine data in…
- InfluxDB: InfluxDB is an open source time series database with no external dependencies.
- Kibana: Kibana is the data visualization layer for querying, analyzing, and managing data stored in Elasticsearch.
- New Relic: Pinpoint and solve performance issues in your Ruby, Java, .NET, PHP and Python apps with real user, application and server monitoring.
- Prometheus: Prometheus is a systems and service monitoring system.
- Splunk: Splunk is a self-hosted platform for collecting, indexing, searching, and analyzing log and security data, helping homelabbers and operatio…
- VictoriaMetrics: VictoriaMetrics is a fast, cost-effective, and scalable open-source time-series database that stores long-term monitoring metrics, accepts…

---
Source: Our Local Host (https://ourlocalhost.com/app/4157/prometheus-wireguard-exporter), the self-hosted and open-source app directory.
