Skip to content

Monitoring

dernasherbrezon edited this page Aug 21, 2024 · 1 revision

r2cloud can be integrated with InfluxDB and stream metrics. Currently supported metrics:

  • Observations: duration, TLE update latency, TLE epoch latency, number of decoded frames. For every host, device and satellite
  • System: currently used memory and number of threads
Screenshot 2024-08-21 at 19 19 39

Step 1. Install InfluxDB

r2cloud integration supports InfluxDB protocol 1.x and compatible with all InfluxDB versions. It can work with self-managed installations as well as cloud-based.

Step 2. Configure InfluxDB

Create user to upload the data:

CREATE USER <username> WITH PASSWORD '<password>' WITH ALL PRIVILEGES

Create database:

create database <database>

Step 3. Configure r2cloud

Go to menu "Configuration" -> "Integrations" and put all details from the previous steps:

Screenshot 2024-08-21 at 21 17 14

Click on "Save".

Restart r2cloud. Go to menu "System" -> "Restart".

Step 4. Configure Grafana

You can use any tool to visualise data from InfluxDB. Grafana is the most popular and free tool.

  • Go to "Data sources" menu on the left
  • Click on "Add new data source"
  • Select "InfluxDB" and follow steps. Put all connections details obtained on the previous steps.
  • (Optionally) Import default r2cloud dashboard from Grafana.com
Clone this wiki locally