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 0000000..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 0000000..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 0000000..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 0000000..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 0000000..534a37e --- /dev/null +++ b/files/gdash/dashboards/graphite.codfw/dash.yaml @@ -0,0 +1,2 @@ +:name: Graphite codfw +:description: Health metrics from graphite in codfw diff --git a/files/gdash/dashboards/graphite.codfw/disk_io.graph b/files/gdash/dashboards/graphite.codfw/disk_io.graph new file mode 100644 index 0000000..5b6e227 --- /dev/null +++ b/files/gdash/dashboards/graphite.codfw/disk_io.graph @@ -0,0 +1,17 @@ +title "Disk IO, md1" + +field :write_s, + :alias => "write/s", + :data => "servers.graphite2001.iostat.md1.writes_per_second" + +field :read_s, + :alias => "read/s", + :data => "servers.graphite2001.iostat.md1.reads_per_second" + +field :read, + :alias => "read B/s", + :data => "secondYAxis(servers.graphite2001.iostat.md1.read_byte_per_second)" + +field :write, + :alias => "write B/s", + :data => "secondYAxis(servers.graphite2001.iostat.md1.write_byte_per_second)" diff --git a/files/gdash/dashboards/graphite.codfw/disk_sched.graph b/files/gdash/dashboards/graphite.codfw/disk_sched.graph new file mode 100644 index 0000000..f0e4bcc --- /dev/null +++ b/files/gdash/dashboards/graphite.codfw/disk_sched.graph @@ -0,0 +1,14 @@ +title "Disk scheduling, md1" + +field :svctm, :color => "blue", + :alias => "service time, ms", + :data => "secondYAxis(servers.graphite2001.iostat.md1.service_time)" + +field :await, :color => "green", + :alias => "wait, ms", + :data => "servers.graphite2001.iostat.md1.await" + +field :queue, :color => "red", + :alias => "queue length", + :data => "servers.graphite2001.iostat.md1.average_queue_length" + diff --git a/files/gdash/dashboards/graphite.codfw/memory.graph b/files/gdash/dashboards/graphite.codfw/memory.graph new file mode 100644 index 0000000..19651e7 --- /dev/null +++ b/files/gdash/dashboards/graphite.codfw/memory.graph @@ -0,0 +1,25 @@ +title "Memory" + +field :buffers, + :alias => "buffers", + :data => "servers.graphite2001.memory.Buffers" + +field :active, + :alias => "active", + :data => "servers.graphite2001.memory.Active" + +field :cached, + :alias => "cached", + :data => "servers.graphite2001.memory.Cached" + +field :inactive, + :alias => "inactive", + :data => "servers.graphite2001.memory.Inactive" + +field :dirty, + :alias => "dirty", + :data => "servers.graphite2001.memory.Dirty" + +field :free, + :alias => "free", + :data => "servers.graphite2001.memory.Free" diff --git a/files/gdash/dashboards/graphite.codfw/network_err.graph b/files/gdash/dashboards/graphite.codfw/network_err.graph new file mode 100644 index 0000000..4cfe5e6 --- /dev/null +++ b/files/gdash/dashboards/graphite.codfw/network_err.graph @@ -0,0 +1,9 @@ +title "udp errors/drops, all interfaces" +vtitle "packets/s" + +field :rx_dgram, :color => "green", + :alias => "rx datagrams", + :data => "servers.graphite2001.udp.InDatagrams" + +field :rx_err, :alias => "none", + :data => "secondYAxis(group(servers.graphite2001.udp.InErrors, servers.graphite2001.udp.NoPorts, servers.graphite2001.udp.RcvbufErrors))" diff --git a/files/gdash/dashboards/graphite.codfw/network_io.graph b/files/gdash/dashboards/graphite.codfw/network_io.graph new file mode 100644 index 0000000..b572280 --- /dev/null +++ b/files/gdash/dashboards/graphite.codfw/network_io.graph @@ -0,0 +1,11 @@ +title "network IO, all interfaces" +vtitle "bytes/s" +area :first + +field :tx, :color => "green", + :alias => "tx", + :data => "sumSeries(servers.graphite2001.network.*.tx_byte)" + +field :rx, :color => "blue", + :alias => "rx", + :data => "sumSeries(servers.graphite2001.network.*.rx_byte)" -- To view, visit https://gerrit.wikimedia.org/r/210062 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I046e063b9061e69ed0ebfe3c8780a3c4b59d093a Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org> Gerrit-Reviewer: Filippo Giunchedi <fgiunch...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits