For collecting the metrics from CompassVPN agent(s), you can either use a free Grafana Cloud account or deploy a Prometheus Server+Pushgateway+Grafana using the instructions below. Choose the option that best suits your needs based on your infrastructure and requirements. Option 1 (Grafana Cloud) is reccomended for simplicity.
Read the complete guide on our website.
Grafana Cloud offers a free tier that is sufficient for monitoring several CompassVPN agents. This is recommended for its simplicity.
Follow this tutorial to setup Grafana cloud.
This option gives you complete control over your monitoring stack but requires a Kubernetes cluster and more setup.
Follow this tutorial to setup Pushgateway.
The CompassVPN dashboard is available here. To import it into your Grafana instance:
- Navigate to Dashboards > Import in your Grafana UI.
- Enter the dashboard ID
23181
. - Select your Prometheus data source when prompted.
- Click Import.