Merge pull request #7 from geerlingguy/6-starlink

Issue #6: Add Starlink monitoring.
This commit is contained in:
Jeff Geerling 2021-06-11 12:42:57 -05:00 committed by GitHub
commit 42004b83cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1955 additions and 19 deletions

View File

@ -1,3 +1,3 @@
GF_SECURITY_ADMIN_PASSWORD=wonka
GF_USERS_ALLOW_SIGN_UP=false
GF_INSTALL_PLUGINS=flant-statusmap-panel
GF_INSTALL_PLUGINS=flant-statusmap-panel,ae3e-plotly-panel

View File

@ -27,7 +27,6 @@
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [
{
"id": 0,
@ -63,7 +62,7 @@
"id": 8,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxDataPoints": 50000,
"options": {
"orientation": "horizontal",
"reduceOptions": {
@ -77,7 +76,7 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "7.4.5",
"pluginVersion": "7.5.6",
"targets": [
{
"expr": "speedtest_download_bits_per_second{}",
@ -99,7 +98,6 @@
"color": {
"mode": "thresholds"
},
"custom": {},
"mappings": [
{
"id": 0,
@ -135,7 +133,7 @@
"id": 10,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxDataPoints": 50000,
"options": {
"orientation": "horizontal",
"reduceOptions": {
@ -149,7 +147,7 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "7.4.5",
"pluginVersion": "7.5.6",
"targets": [
{
"expr": "speedtest_upload_bits_per_second{}",
@ -171,7 +169,6 @@
"color": {
"mode": "thresholds"
},
"custom": {},
"decimals": 2,
"mappings": [
{
@ -208,7 +205,7 @@
"id": 12,
"interval": null,
"links": [],
"maxDataPoints": 1000,
"maxDataPoints": 50000,
"options": {
"orientation": "horizontal",
"reduceOptions": {
@ -222,7 +219,7 @@
"showThresholdMarkers": true,
"text": {}
},
"pluginVersion": "7.4.5",
"pluginVersion": "7.5.6",
"targets": [
{
"expr": "speedtest_ping_latency_milliseconds",
@ -291,6 +288,7 @@
},
"id": 6,
"links": [],
"maxDataPoints": 50000,
"options": {
"graph": {},
"legend": {
@ -359,9 +357,7 @@
},
"datasource": "prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"defaults": {},
"overrides": []
},
"gridPos": {
@ -426,9 +422,7 @@
"dashes": false,
"datasource": "prometheus",
"fieldConfig": {
"defaults": {
"custom": {}
},
"defaults": {},
"overrides": []
},
"fill": 1,
@ -459,7 +453,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.4.5",
"pluginVersion": "7.5.6",
"pointradius": 5,
"points": false,
"renderer": "flot",
@ -531,7 +525,7 @@
"list": []
},
"time": {
"from": "now-24h",
"from": "now-7d",
"to": "now"
},
"timepicker": {
@ -562,5 +556,5 @@
"timezone": "browser",
"title": "Internet connection",
"uid": "o9mIe_Aik",
"version": 1
"version": 12
}

File diff suppressed because one or more lines are too long

View File

@ -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