For the complete documentation index, see llms.txt. This page is also available as Markdown.

Monitor with Grafana cloud

This guide will help you set up monitoring for your Wingbits clients using Grafana Cloud.

Prerequisites

  • A Grafana Cloud account (free tier available at grafana.com)

Step 1: Install Grafana Alloy

Grafana Alloy is a collector that will gather metrics from your Wingbits clients.

  1. Go to https://{your-grafana-account}.grafana.net/a/grafana-collector-app/alloy

  2. Follow the installation instructions

  3. Enable Remote Configuration during setup

Step 2: Configure Metrics Collection

  1. Wait a few minutes for your server to appear under Collector->Fleet Management

  2. Select Remote Configuration and click Create Configuration Pipeline

  3. Choose Custom Configuration

  4. Paste this configuration (replace the IPs with your Wingbits clients):

prometheus.scrape "wingbits_hosts" {
    targets = [
        {__address__ = "192.168.10.1:8088", alias = "station1"},
        {__address__ = "192.168.10.2:8088", alias = "station2"},
    ]
    forward_to = [prometheus.remote_write.default.receiver]
}

prometheus.remote_write "default" {
    endpoint {
        url = sys.env("GCLOUD_HOSTED_METRICS_URL")
        basic_auth {
            username = sys.env("GCLOUD_HOSTED_METRICS_ID")
            password = sys.env("GCLOUD_RW_API_KEY")
        }
    }
}
  1. Click Test Configuration Pipeline

  2. Select matching attributes (e.g., os=linux)

  3. Save the configuration

Step 3: Create Dashboard

  1. Go to Dashboards → New → Import

  2. Paste the dashboard JSON below

  3. Save and view your metrics

Your dashboard will now show two graphs:

  • Readsb received: Shows the rate of data received by your Wingbits clients

  • Server sent: Shows the rate of data sent by your server

Last updated

Was this helpful?