summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-06-18 14:32:35 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-06-18 14:32:35 +0200
commitc620d6482d25fd5945e4c4252033e580561c9b43 (patch)
treeddab294c2d54f9ca2399924e40052bcc147d1797
parentbbbfc5fdaa710717f0643e043188e16a5975e379 (diff)
downloadstatus-c620d6482d25fd5945e4c4252033e580561c9b43.tar.gz
status-c620d6482d25fd5945e4c4252033e580561c9b43.zip
autoscale y, prod has more data than expected
-rw-r--r--objects_over_time.plt12
-rw-r--r--transactions_over_time.plt2
2 files changed, 9 insertions, 5 deletions
diff --git a/objects_over_time.plt b/objects_over_time.plt
index 0e7b893..28ac983 100644
--- a/objects_over_time.plt
+++ b/objects_over_time.plt
@@ -1,14 +1,18 @@
set title "processor data"
set timefmt "%Y-%m-%dT%H:%M:%SZ";
set xdata time;
-set ylabel "number of objects within 3h";
+set ytics nomirror;
+set ylabel "number of telemetry objects within 3h";
set autoscale y;
+set y2tics;
+set y2label "number of player/match objects within 3h";
+set autoscale y2;
set datafile separator ", ";
set terminal png noenhanced;
set key autotitle columnhead;
set output outputfile;
-plot inputfile using "date":"players_count" with lines, \
- inputfile using "date":"matches_count" with lines, \
- inputfile using "date":"telemetries_count" with lines;
+plot inputfile using "date":"players_count" with lines axes x1y2, \
+ inputfile using "date":"matches_count" with lines axes x1y2, \
+ inputfile using "date":"telemetries_count" with lines axes x1y1;
diff --git a/transactions_over_time.plt b/transactions_over_time.plt
index 1517f85..0aa43b5 100644
--- a/transactions_over_time.plt
+++ b/transactions_over_time.plt
@@ -6,7 +6,7 @@ set ylabel "transaction duration in ms";
set yrange [ 0:300 ];
set y2tics;
set y2label "number of transactions within 3h";
-set y2range [ 0:3000 ];
+set autoscale y2;
set datafile separator ", ";