From fa388da7b6c875106b4f67ea8183bb3a0592ede3 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Wed, 19 Feb 2020 21:40:27 +0100 Subject: [PATCH] add consistency=any to influx requests --- gnt-monitor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnt-monitor b/gnt-monitor index 3f1dacc..3b43a95 100755 --- a/gnt-monitor +++ b/gnt-monitor @@ -6,7 +6,7 @@ use POSIX; use Time::HiRes qw(time sleep); my $DEBUG = $ENV{DEBUG} || 0; -my $INFLUX = $ENV{INFLUX} || 'http://10.80.3.89:8086/write?db=gnt'; +my $INFLUX = $ENV{INFLUX} || 'http://10.80.3.89:8086/write?consistency=any&db=gnt'; my $INTERVAL = $ENV{INTERVAL} || 1; my $DC = $ENV{DC}; my $RACK = $ENV{RACK}; -- 2.20.1