summaryrefslogtreecommitdiff
path: root/transactions_over_time.plt
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-06-18 14:27:05 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-06-18 14:27:05 +0200
commitc3611f7f64f274d6764e7f13283f236d4ca69ecc (patch)
tree246c4a151bee8b47b7b590688404cfbcf0e0422e /transactions_over_time.plt
parent3e50d64d26cc52460c1aed65174ba44a0aabaf86 (diff)
downloadstatus-c3611f7f64f274d6764e7f13283f236d4ca69ecc.tar.gz
status-c3611f7f64f274d6764e7f13283f236d4ca69ecc.zip
add db stats
Diffstat (limited to 'transactions_over_time.plt')
-rw-r--r--transactions_over_time.plt17
1 files changed, 17 insertions, 0 deletions
diff --git a/transactions_over_time.plt b/transactions_over_time.plt
new file mode 100644
index 0000000..1517f85
--- /dev/null
+++ b/transactions_over_time.plt
@@ -0,0 +1,17 @@
+set title "processor performance"
+set timefmt "%Y-%m-%dT%H:%M:%SZ";
+set xdata time;
+set ytics nomirror;
+set ylabel "transaction duration in ms";
+set yrange [ 0:300 ];
+set y2tics;
+set y2label "number of transactions within 3h";
+set y2range [ 0:3000 ];
+
+set datafile separator ", ";
+
+set terminal png noenhanced;
+set key autotitle columnhead;
+set output outputfile;
+plot inputfile using "date":"duration_mean" with lines axes x1y1, \
+ inputfile using "date":"duration_count" with lines axes x1y2;