[MediaWiki-commits] [Gerrit] gdash: add graphite codfw - change (operations/puppet)

2015-05-12 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has submitted this change and it was merged.

Change subject: gdash: add graphite codfw
..


gdash: add graphite codfw

Change-Id: I046e063b9061e69ed0ebfe3c8780a3c4b59d093a
---
A files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph
A files/gdash/dashboards/graphite.codfw/carbon_cache.graph
A files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph
A files/gdash/dashboards/graphite.codfw/cpu.graph
A files/gdash/dashboards/graphite.codfw/dash.yaml
A files/gdash/dashboards/graphite.codfw/disk_io.graph
A files/gdash/dashboards/graphite.codfw/disk_sched.graph
A files/gdash/dashboards/graphite.codfw/memory.graph
A files/gdash/dashboards/graphite.codfw/network_err.graph
A files/gdash/dashboards/graphite.codfw/network_io.graph
10 files changed, 154 insertions(+), 0 deletions(-)

Approvals:
  Filippo Giunchedi: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph 
b/files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph
new file mode 100644
index 000..8d7562a
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph
@@ -0,0 +1,25 @@
+title   carbon c relay
+
+field :metrics_in_frontend,
+   :alias = metrics received (frontend),
+   :data  = 
derivative(carbon.relays.graphite2001_frontend.metricsReceived)
+
+field :metrics_in_local,
+   :alias = metrics received (local),
+   :data  = 
derivative(carbon.relays.graphite2001_local.metricsReceived)
+
+field :queue_drops_frontend,
+   :alias = queue drops (frontend),
+   :data  = 
secondYAxis(carbon.relays.graphite2001_frontend.metricsDropped)
+
+field :queue_drops_local,
+   :alias = queue drops (local),
+   :data  = 
secondYAxis(carbon.relays.graphite2001_local.metricsDropped)
+
+field :metrics_queued_frontend,
+   :alias = metrics queued (frontend),
+   :data  = carbon.relays.graphite2001_frontend.metricsQueued
+
+field :metrics_queued_local,
+   :alias = metrics queued (local),
+   :data  = carbon.relays.graphite2001_local.metricsQueued
diff --git a/files/gdash/dashboards/graphite.codfw/carbon_cache.graph 
b/files/gdash/dashboards/graphite.codfw/carbon_cache.graph
new file mode 100644
index 000..a3a497b
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/carbon_cache.graph
@@ -0,0 +1,25 @@
+title   carbon cache
+
+field :updates,
+   :alias = updates,
+   :data  = 
sumSeries(carbon.agents.graphite2001-*.updateOperations)
+
+field :received,
+   :alias = received,
+   :data  = 
sumSeries(carbon.agents.graphite2001-*.metricsReceived)
+
+field :committed,
+   :alias = committed,
+   :data  = 
sumSeries(carbon.agents.graphite2001-*.committedPoints)
+
+field :ppu,
+   :alias = points per update,
+   :data  = 
secondYAxis(sumSeries(carbon.agents.graphite2001-*.pointsPerUpdate))
+
+field :creates,
+   :alias = creates,
+   :data  = 
secondYAxis(sumSeries(carbon.agents.graphite2001-*.creates))
+
+field :cpu,
+   :alias = avg cpu,
+   :data  = 
secondYAxis(averageSeries(carbon.agents.graphite2001-*.cpuUsage))
diff --git a/files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph 
b/files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph
new file mode 100644
index 000..afc8763
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph
@@ -0,0 +1,13 @@
+title   carbon cache utilization
+
+field :cache_size,
+   :alias = cache size (bytes),
+   :data  = sumSeries(carbon.agents.graphite2001-*.cache.size)
+
+field :queues,
+   :alias = queues,
+   :data  = sumSeries(carbon.agents.graphite2001-*.cache.queues)
+
+field :overflow,
+   :alias = overflow,
+   :data  = 
secondYAxis(sumSeries(carbon.agents.graphite2001-*.cache.overflow))
diff --git a/files/gdash/dashboards/graphite.codfw/cpu.graph 
b/files/gdash/dashboards/graphite.codfw/cpu.graph
new file mode 100644
index 000..e74d89d
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/cpu.graph
@@ -0,0 +1,13 @@
+title   CPU
+
+field :user,
+   :alias = user,
+   :data  = servers.graphite2001.cpu.total.user
+
+field :iowait,
+   :alias = iowait,
+   :data  = servers.graphite2001.cpu.total.iowait
+
+field :system,
+   :alias = system,
+   :data  = servers.graphite2001.cpu.total.system
diff --git a/files/gdash/dashboards/graphite.codfw/dash.yaml 
b/files/gdash/dashboards/graphite.codfw/dash.yaml
new file mode 100644
index 000..534a37e
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/dash.yaml
@@ -0,0 +1,2 @@
+:name: Graphite codfw

[MediaWiki-commits] [Gerrit] gdash: add graphite codfw - change (operations/puppet)

2015-05-11 Thread Filippo Giunchedi (Code Review)
Filippo Giunchedi has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/210062

Change subject: gdash: add graphite codfw
..

gdash: add graphite codfw

Change-Id: I046e063b9061e69ed0ebfe3c8780a3c4b59d093a
---
A files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph
A files/gdash/dashboards/graphite.codfw/carbon_cache.graph
A files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph
A files/gdash/dashboards/graphite.codfw/cpu.graph
A files/gdash/dashboards/graphite.codfw/dash.yaml
A files/gdash/dashboards/graphite.codfw/disk_io.graph
A files/gdash/dashboards/graphite.codfw/disk_sched.graph
A files/gdash/dashboards/graphite.codfw/memory.graph
A files/gdash/dashboards/graphite.codfw/network_err.graph
A files/gdash/dashboards/graphite.codfw/network_io.graph
10 files changed, 154 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/62/210062/1

diff --git a/files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph 
b/files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph
new file mode 100644
index 000..8d7562a
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/carbon_c_relay.graph
@@ -0,0 +1,25 @@
+title   carbon c relay
+
+field :metrics_in_frontend,
+   :alias = metrics received (frontend),
+   :data  = 
derivative(carbon.relays.graphite2001_frontend.metricsReceived)
+
+field :metrics_in_local,
+   :alias = metrics received (local),
+   :data  = 
derivative(carbon.relays.graphite2001_local.metricsReceived)
+
+field :queue_drops_frontend,
+   :alias = queue drops (frontend),
+   :data  = 
secondYAxis(carbon.relays.graphite2001_frontend.metricsDropped)
+
+field :queue_drops_local,
+   :alias = queue drops (local),
+   :data  = 
secondYAxis(carbon.relays.graphite2001_local.metricsDropped)
+
+field :metrics_queued_frontend,
+   :alias = metrics queued (frontend),
+   :data  = carbon.relays.graphite2001_frontend.metricsQueued
+
+field :metrics_queued_local,
+   :alias = metrics queued (local),
+   :data  = carbon.relays.graphite2001_local.metricsQueued
diff --git a/files/gdash/dashboards/graphite.codfw/carbon_cache.graph 
b/files/gdash/dashboards/graphite.codfw/carbon_cache.graph
new file mode 100644
index 000..a3a497b
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/carbon_cache.graph
@@ -0,0 +1,25 @@
+title   carbon cache
+
+field :updates,
+   :alias = updates,
+   :data  = 
sumSeries(carbon.agents.graphite2001-*.updateOperations)
+
+field :received,
+   :alias = received,
+   :data  = 
sumSeries(carbon.agents.graphite2001-*.metricsReceived)
+
+field :committed,
+   :alias = committed,
+   :data  = 
sumSeries(carbon.agents.graphite2001-*.committedPoints)
+
+field :ppu,
+   :alias = points per update,
+   :data  = 
secondYAxis(sumSeries(carbon.agents.graphite2001-*.pointsPerUpdate))
+
+field :creates,
+   :alias = creates,
+   :data  = 
secondYAxis(sumSeries(carbon.agents.graphite2001-*.creates))
+
+field :cpu,
+   :alias = avg cpu,
+   :data  = 
secondYAxis(averageSeries(carbon.agents.graphite2001-*.cpuUsage))
diff --git a/files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph 
b/files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph
new file mode 100644
index 000..afc8763
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/carbon_cache_cache.graph
@@ -0,0 +1,13 @@
+title   carbon cache utilization
+
+field :cache_size,
+   :alias = cache size (bytes),
+   :data  = sumSeries(carbon.agents.graphite2001-*.cache.size)
+
+field :queues,
+   :alias = queues,
+   :data  = sumSeries(carbon.agents.graphite2001-*.cache.queues)
+
+field :overflow,
+   :alias = overflow,
+   :data  = 
secondYAxis(sumSeries(carbon.agents.graphite2001-*.cache.overflow))
diff --git a/files/gdash/dashboards/graphite.codfw/cpu.graph 
b/files/gdash/dashboards/graphite.codfw/cpu.graph
new file mode 100644
index 000..e74d89d
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/cpu.graph
@@ -0,0 +1,13 @@
+title   CPU
+
+field :user,
+   :alias = user,
+   :data  = servers.graphite2001.cpu.total.user
+
+field :iowait,
+   :alias = iowait,
+   :data  = servers.graphite2001.cpu.total.iowait
+
+field :system,
+   :alias = system,
+   :data  = servers.graphite2001.cpu.total.system
diff --git a/files/gdash/dashboards/graphite.codfw/dash.yaml 
b/files/gdash/dashboards/graphite.codfw/dash.yaml
new file mode 100644
index 000..534a37e
--- /dev/null
+++ b/files/gdash/dashboards/graphite.codfw/dash.yaml
@@ -0,0 +1,2 @@