From 6fe6257a5657f619d3c476cb58115696e7fe872f Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 26 Apr 2021 17:30:33 -0500 Subject: [PATCH] Issue #6: Add Starlink monitoring. --- prometheus/prometheus.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index 37a581d..ea34bf2 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -32,6 +32,15 @@ scrape_configs: static_configs: - targets: ['172.17.0.1:9924'] + # This job config only works with my internet-pi configuration currently, + # if you also have starlink enabled there. It will just error out by default + # if you don't have Starlink. Someday I'll work on making this more + # configurable... + - job_name: 'starlink' + metrics_path: /metrics + static_configs: + - targets: ['172.17.0.1:9817'] + - job_name: 'ping' metrics_path: /probe scrape_interval: 5s