summaryrefslogtreecommitdiff
path: root/qa/views
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-10-26 12:33:50 +0400
commit47e6e7c84f008a53061e661f31ae96629bc694ef (patch)
tree648a07f3b5b9d67ce19b0fd72e8caa1175c98f1a /qa/views
downloadpcp-debian.tar.gz
Debian 3.9.10debian/3.9.10debian
Diffstat (limited to 'qa/views')
-rw-r--r--qa/views/006-015
-rw-r--r--qa/views/006-025
-rw-r--r--qa/views/006-035
-rw-r--r--qa/views/006-0416
-rw-r--r--qa/views/006-056
-rw-r--r--qa/views/AntiAliasing23
-rw-r--r--qa/views/GNUmakefile17
-rw-r--r--qa/views/GNUmakefile.install1
-rw-r--r--qa/views/NoSuchHost6
-rw-r--r--qa/views/RotateColors54
-rw-r--r--qa/views/ScaleManual8
-rw-r--r--qa/views/SpotInstances5
12 files changed, 151 insertions, 0 deletions
diff --git a/qa/views/006-01 b/qa/views/006-01
new file mode 100644
index 0000000..88e42c0
--- /dev/null
+++ b/qa/views/006-01
@@ -0,0 +1,5 @@
+#kmchart
+version 1
+chart title "QA Units compatible - time" style plot
+ plot metric sample.seconds
+ plot metric sample.milliseconds
diff --git a/qa/views/006-02 b/qa/views/006-02
new file mode 100644
index 0000000..c8ecf8d
--- /dev/null
+++ b/qa/views/006-02
@@ -0,0 +1,5 @@
+#kmchart
+version 1
+chart title "QA Units odd but OK - time(util) and none" style plot
+ plot metric sample.seconds
+ plot metric sample.control
diff --git a/qa/views/006-03 b/qa/views/006-03
new file mode 100644
index 0000000..df821d9
--- /dev/null
+++ b/qa/views/006-03
@@ -0,0 +1,5 @@
+#kmchart
+version 1
+chart title "QA Units BAD - time(->time util) and count(->count/sec)" style plot
+ plot metric sample.seconds
+ plot metric sample.step_counter
diff --git a/qa/views/006-04 b/qa/views/006-04
new file mode 100644
index 0000000..a2a498d
--- /dev/null
+++ b/qa/views/006-04
@@ -0,0 +1,16 @@
+#kmchart
+version 1
+chart title "QA Units OK - inst first" style plot
+ plot metric sample.byte_rate
+ plot metric sample.byte_ctr
+chart title "QA Units OK - ctr first" style plot
+ plot metric sample.byte_ctr
+ plot metric sample.byte_rate
+chart title "QA Units OK - Kbyte/sec and byte/msec" style plot
+ plot metric sample.mirage
+ plot metric sample.mirage_longlong
+chart title "QA Units OK - count/sec and count(->count/sec)" style plot
+ plot metric sample.write_me
+ plot metric sample.pdu
+
+
diff --git a/qa/views/006-05 b/qa/views/006-05
new file mode 100644
index 0000000..95fa003
--- /dev/null
+++ b/qa/views/006-05
@@ -0,0 +1,6 @@
+#kmchart
+version 1
+chart title "QA Units BAD - byte / msec and count/sec" style plot
+ plot metric sample.mirage_longlong
+ plot metric sample.write_me
+
diff --git a/qa/views/AntiAliasing b/qa/views/AntiAliasing
new file mode 100644
index 0000000..fabbb9e
--- /dev/null
+++ b/qa/views/AntiAliasing
@@ -0,0 +1,23 @@
+#kmchart
+version 1
+
+chart title "Anti-Aliased Utilisation" style utilization antialiasing on
+ plot legend "Red" color red metric sample.colour instance "red"
+ plot legend "Green" color green metric sample.colour instance "green"
+ plot legend "Blue" color blue metric sample.colour instance "blue"
+
+chart title "Anti-Aliased Plots" style plot antialiasing on
+ plot legend "Red" color red metric sample.colour instance "red"
+ plot legend "Green" color green metric sample.colour instance "green"
+ plot legend "Blue" color blue metric sample.colour instance "blue"
+
+chart title "Non-Anti-Aliased Utilisation" style utilization antialiasing off
+ plot legend "Red" color red metric sample.colour instance "red"
+ plot legend "Green" color green metric sample.colour instance "green"
+ plot legend "Blue" color blue metric sample.colour instance "blue"
+
+chart title "Non-Anti-Aliased Plots" style plot antialiasing off
+ plot legend "Red" color red metric sample.colour instance "red"
+ plot legend "Green" color green metric sample.colour instance "green"
+ plot legend "Blue" color blue metric sample.colour instance "blue"
+
diff --git a/qa/views/GNUmakefile b/qa/views/GNUmakefile
new file mode 100644
index 0000000..f4a6466
--- /dev/null
+++ b/qa/views/GNUmakefile
@@ -0,0 +1,17 @@
+TOPDIR = ../..
+include $(TOPDIR)/src/include/builddefs
+
+TESTDIR = $(PCP_VAR_DIR)/testsuite/views
+VIEWFILES = 006-01 006-02 006-03 006-04 006-05 \
+ AntiAliasing NoSuchHost RotateColors ScaleManual
+LSRCFILES = $(VIEWFILES) GNUmakefile.install
+
+default default_pcp setup:
+
+install install_pcp: $(VIEWFILES)
+ $(INSTALL) -m 755 -d $(TESTDIR)
+ $(INSTALL) -m 644 $(VIEWFILES) $(TESTDIR)
+ $(INSTALL) -m 644 GNUmakefile.install $(TESTDIR)/GNUmakefile
+
+include $(BUILDRULES)
+
diff --git a/qa/views/GNUmakefile.install b/qa/views/GNUmakefile.install
new file mode 100644
index 0000000..dd1e65d
--- /dev/null
+++ b/qa/views/GNUmakefile.install
@@ -0,0 +1 @@
+default setup install:
diff --git a/qa/views/NoSuchHost b/qa/views/NoSuchHost
new file mode 100644
index 0000000..2d9c6ad
--- /dev/null
+++ b/qa/views/NoSuchHost
@@ -0,0 +1,6 @@
+#kmchart
+version 1
+
+chart title "IOPS over all Disks [%h]" style stacking
+ plot legend "Reads" color #ffff00 host no.such.host metric disk.all.read
+ plot legend "Writes" color #ee82ee host no.such.host metric disk.all.write
diff --git a/qa/views/RotateColors b/qa/views/RotateColors
new file mode 100644
index 0000000..29080c3
--- /dev/null
+++ b/qa/views/RotateColors
@@ -0,0 +1,54 @@
+#kmchart
+version 1
+
+chart title "Settings Color Test" style stacking
+ plot title "01" metric sample.hordes.one instance "1"
+ plot title "02" metric sample.hordes.one instance "2"
+ plot title "03" metric sample.hordes.one instance "3"
+ plot title "04" metric sample.hordes.one instance "4"
+ plot title "05" metric sample.hordes.one instance "5"
+ plot title "06" metric sample.hordes.one instance "6"
+ plot title "07" metric sample.hordes.one instance "7"
+ plot title "08" metric sample.hordes.one instance "8"
+ plot title "09" metric sample.hordes.one instance "9"
+ plot title "10" metric sample.hordes.one instance "10"
+ plot title "11" metric sample.hordes.one instance "11"
+ plot title "12" metric sample.hordes.one instance "12"
+ plot title "13" metric sample.hordes.one instance "13"
+ plot title "14" metric sample.hordes.one instance "14"
+ plot title "15" metric sample.hordes.one instance "15"
+ plot title "16" metric sample.hordes.one instance "16"
+ plot title "17" metric sample.hordes.one instance "17"
+ plot title "18" metric sample.hordes.one instance "18"
+ plot title "19" metric sample.hordes.one instance "19"
+ plot title "20" metric sample.hordes.one instance "20"
+ plot title "21" metric sample.hordes.one instance "21"
+ plot title "22" metric sample.hordes.one instance "22"
+ plot title "23" metric sample.hordes.one instance "23"
+ plot title "24" metric sample.hordes.one instance "24"
+ plot title "25" metric sample.hordes.one instance "25"
+ plot title "26" metric sample.hordes.one instance "26"
+ plot title "27" metric sample.hordes.one instance "27"
+ plot title "28" metric sample.hordes.one instance "28"
+ plot title "29" metric sample.hordes.one instance "29"
+ plot title "30" metric sample.hordes.one instance "30"
+ plot title "31" metric sample.hordes.one instance "31"
+ plot title "32" metric sample.hordes.one instance "32"
+ plot title "33" metric sample.hordes.one instance "33"
+ plot title "34" metric sample.hordes.one instance "34"
+ plot title "35" metric sample.hordes.one instance "35"
+ plot title "36" metric sample.hordes.one instance "36"
+ plot title "37" metric sample.hordes.one instance "37"
+ plot title "38" metric sample.hordes.one instance "38"
+ plot title "39" metric sample.hordes.one instance "39"
+ plot title "40" metric sample.hordes.one instance "40"
+ plot title "41" metric sample.hordes.one instance "41"
+ plot title "42" metric sample.hordes.one instance "42"
+ plot title "43" metric sample.hordes.one instance "43"
+ plot title "44" metric sample.hordes.one instance "44"
+ plot title "45" metric sample.hordes.one instance "45"
+ plot title "46" metric sample.hordes.one instance "46"
+ plot title "47" metric sample.hordes.one instance "47"
+ plot title "48" metric sample.hordes.one instance "48"
+ plot title "49" metric sample.hordes.one instance "49"
+ plot title "50" metric sample.hordes.one instance "50"
diff --git a/qa/views/ScaleManual b/qa/views/ScaleManual
new file mode 100644
index 0000000..f6ab41b
--- /dev/null
+++ b/qa/views/ScaleManual
@@ -0,0 +1,8 @@
+#kmchart
+version 1
+
+chart style plot
+ plot color #ffff00 metric sample.double.one
+ plot color #0000ff metric sample.double.ten
+chart style plot
+ plot color #ff2247 metric sample.byte_ctr
diff --git a/qa/views/SpotInstances b/qa/views/SpotInstances
new file mode 100644
index 0000000..a314e13
--- /dev/null
+++ b/qa/views/SpotInstances
@@ -0,0 +1,5 @@
+#kmchart
+version 1
+
+chart style plot antialiasing off
+ plot color #ffff00 metric pmda.metric.count instance "kernel.all.cpu.wait.total"