flant / ovpn-admin

Simple web UI to manage OpenVPN users.
Apache License 2.0
1.38k stars 258 forks source link

Where is the code to build metrics dashboard #236

Open evergreen-shankar opened 1 year ago

evergreen-shankar commented 1 year ago

Hi, Could you please help to build/get dashboard from metrics as shown in below image.

ovpn-admin-metrics

sprait commented 1 year ago

Hi, this dashboard requires:

  1. Collect application metrics using Prometheus (or any analog).
  2. Connect Grafana to Promethes, and import ./dashboard/ovpn-admin.json into grafana .
evergreen-shankar commented 1 year ago

@Sprait Do I need to install both Prometheus and Grafana?

sprait commented 1 year ago

yep

evergreen-shankar commented 1 year ago

@Sprait I have setup as suggested. I would request you to

sprait commented 1 year ago

Hi,

Update the metrics json so that it should not ask to change the uuid.

removed the hardcoded uid for datasource in MR #239

Build dashboard in same UI so that we can eliminate grafana/prometheus, if possible

We have no such plans yet

marcomusso commented 1 year ago

Providing a Grafana dashboard for me is already a great help!