From b06a5973c1da4a7ef00bb3c002aef859edd0f1f5 Mon Sep 17 00:00:00 2001 From: sparky8512 <76499194+sparky8512@users.noreply.github.com> Date: Mon, 11 Jan 2021 13:03:19 -0800 Subject: [PATCH] Change default database name to starlinkstats The README instructions @neurocis added for the Docker container recommend this name, and I like that better than dishstats, so now it's the default. "dish" can be useful to differentiate between the Starlink user terminal (dish) and the Starlink router, both of which expose gRPC services for polling status information, but that's more applicable to the measurement name (AKA series_name) and a hypothetical database that contained both would be more appropriately labelled "Starlink". --- dishHistoryInflux.py | 2 +- dishStatusInflux.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dishHistoryInflux.py b/dishHistoryInflux.py index bdbb6e8..9b8fe73 100644 --- a/dishHistoryInflux.py +++ b/dishHistoryInflux.py @@ -35,7 +35,7 @@ print_usage = False verbose = False run_lengths = False host_default = "localhost" -database_default = "dishstats" +database_default = "starlinkstats" icargs = {"host": host_default, "timeout": 5, "database": database_default} rp = None diff --git a/dishStatusInflux.py b/dishStatusInflux.py index 79c809c..2a4987d 100644 --- a/dishStatusInflux.py +++ b/dishStatusInflux.py @@ -33,7 +33,7 @@ except getopt.GetoptError as err: print_usage = False verbose = False host_default = "localhost" -database_default = "dishstats" +database_default = "starlinkstats" icargs = {"host": host_default, "timeout": 5, "database": database_default} rp = None default_sleep_time = 30