Skip to content

Instantly share code, notes, and snippets.

@anhkind
Last active April 5, 2024 11:18
Show Gist options
  • Save anhkind/fdc78e36b4da2f23e879c3521e7a858c to your computer and use it in GitHub Desktop.
Save anhkind/fdc78e36b4da2f23e879c3521e7a858c to your computer and use it in GitHub Desktop.

Revisions

  1. anhkind revised this gist Apr 5, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions wirerest_grafana_config.yml
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    # For Grafana dashboard: https://grafana.com/grafana/dashboards/19458-wireguard-wirerest-jvm/
    # put these under `metrics.configs.scrape_configs`
    - job_name: 'wirerest'
    metrics_path: '/actuator/prometheus'
  2. anhkind created this gist Apr 5, 2024.
    7 changes: 7 additions & 0 deletions wirerest_grafana_config.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # put these under `metrics.configs.scrape_configs`
    - job_name: 'wirerest'
    metrics_path: '/actuator/prometheus'
    authorization:
    credentials: YOUR_WIREREST_TOKEN
    static_configs:
    targets: ['YOUR_WIREREST_IP:8081']