add consistency=any to influx requests
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 19 Feb 2020 20:40:27 +0000 (21:40 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 19 Feb 2020 20:40:27 +0000 (21:40 +0100)
gnt-monitor

index 3f1dacc..3b43a95 100755 (executable)
@@ -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};