Ori.livneh has submitted this change and it was merged. Change subject: add graphite dashboard to gdash ......................................................................
add graphite dashboard to gdash Change-Id: Ibe966d1ff10a4364301e1657fdcf7619af88370c --- A files/gdash/dashboards/graphite/carbon_cache.graph A files/gdash/dashboards/graphite/carbon_relay.graph A files/gdash/dashboards/graphite/cpu.graph A files/gdash/dashboards/graphite/dash.yaml A files/gdash/dashboards/graphite/disk_io.graph A files/gdash/dashboards/graphite/disk_sched.graph A files/gdash/dashboards/graphite/memory.graph A files/gdash/dashboards/graphite/network_err.graph A files/gdash/dashboards/graphite/network_io.graph 9 files changed, 127 insertions(+), 0 deletions(-) Approvals: Ori.livneh: Looks good to me, approved Rush: Looks good to me, but someone else must approve jenkins-bot: Verified diff --git a/files/gdash/dashboards/graphite/carbon_cache.graph b/files/gdash/dashboards/graphite/carbon_cache.graph new file mode 100644 index 0000000..05b31d8 --- /dev/null +++ b/files/gdash/dashboards/graphite/carbon_cache.graph @@ -0,0 +1,25 @@ +title "carbon cache" + +field :updates, + :alias => "updates", + :data => "sumSeries(carbon.agents.tungsten-*.updateOperations)" + +field :received, + :alias => "received", + :data => "sumSeries(carbon.agents.tungsten-*.metricsReceived)" + +field :committed, + :alias => "committed", + :data => "sumSeries(carbon.agents.tungsten-*.committedPoints)" + +field :ppu, + :alias => "points per update", + :data => "secondYAxis(sumSeries(carbon.agents.tungsten-*.pointsPerUpdate))" + +field :creates, + :alias => "creates", + :data => "secondYAxis(sumSeries(carbon.agents.tungsten-*.creates))" + +field :cpu, + :alias => "avg cpu", + :data => "secondYAxis(averageSeries(carbon.agents.tungsten-*.cpuUsage))" diff --git a/files/gdash/dashboards/graphite/carbon_relay.graph b/files/gdash/dashboards/graphite/carbon_relay.graph new file mode 100644 index 0000000..159397d --- /dev/null +++ b/files/gdash/dashboards/graphite/carbon_relay.graph @@ -0,0 +1,9 @@ +title "carbon relay" + +field :metrics_in, + :alias => "metrics received", + :data => "sumSeries(carbon.relays.tungsten-*.metricsReceived)" + +field :queue_drops, + :alias => "queue drops", + :data => "secondYAxis(sumSeries(carbon.relays.tungsten-*.destinations.*.fullQueueDrops))" diff --git a/files/gdash/dashboards/graphite/cpu.graph b/files/gdash/dashboards/graphite/cpu.graph new file mode 100644 index 0000000..f6ce45c --- /dev/null +++ b/files/gdash/dashboards/graphite/cpu.graph @@ -0,0 +1,13 @@ +title "CPU" + +field :user, + :alias => "user", + :data => "servers.tungsten.cpu.total.user.value" + +field :iowait, + :alias => "iowait", + :data => "servers.tungsten.cpu.total.iowait.value" + +field :system, + :alias => "system", + :data => "servers.tungsten.cpu.total.system.value" diff --git a/files/gdash/dashboards/graphite/dash.yaml b/files/gdash/dashboards/graphite/dash.yaml new file mode 100644 index 0000000..4b57866 --- /dev/null +++ b/files/gdash/dashboards/graphite/dash.yaml @@ -0,0 +1,2 @@ +:name: Graphite +:description: Health metrics from graphite on tungsten diff --git a/files/gdash/dashboards/graphite/disk_io.graph b/files/gdash/dashboards/graphite/disk_io.graph new file mode 100644 index 0000000..7d943d8 --- /dev/null +++ b/files/gdash/dashboards/graphite/disk_io.graph @@ -0,0 +1,17 @@ +title "Disk IO, sda" + +field :write_s, + :alias => "write/s", + :data => "servers.tungsten.iostat.sda.writes_per_second.value" + +field :read_s, + :alias => "read/s", + :data => "servers.tungsten.iostat.sda.reads_per_second.value" + +field :read, + :alias => "read B/s", + :data => "secondYAxis(servers.tungsten.iostat.sda.read_byte_per_second.value)" + +field :write, + :alias => "write B/s", + :data => "secondYAxis(servers.tungsten.iostat.sda.write_byte_per_second.value)" diff --git a/files/gdash/dashboards/graphite/disk_sched.graph b/files/gdash/dashboards/graphite/disk_sched.graph new file mode 100644 index 0000000..f9688d2 --- /dev/null +++ b/files/gdash/dashboards/graphite/disk_sched.graph @@ -0,0 +1,14 @@ +title "Disk scheduling, sda" + +field :svctm, :color => "blue", + :alias => "service time, ms", + :data => "secondYAxis(servers.tungsten.iostat.sda.service_time.value)" + +field :await, :color => "green", + :alias => "wait, ms", + :data => "servers.tungsten.iostat.sda.await.value" + +field :queue, :color => "red", + :alias => "queue length", + :data => "servers.tungsten.iostat.sda.average_queue_length.value" + diff --git a/files/gdash/dashboards/graphite/memory.graph b/files/gdash/dashboards/graphite/memory.graph new file mode 100644 index 0000000..d848e2a --- /dev/null +++ b/files/gdash/dashboards/graphite/memory.graph @@ -0,0 +1,25 @@ +title "Memory" + +field :buffers, + :alias => "buffers", + :data => "servers.tungsten.memory.Buffers.value" + +field :active, + :alias => "active", + :data => "servers.tungsten.memory.Active.value" + +field :cached, + :alias => "cached", + :data => "servers.tungsten.memory.Cached.value" + +field :inactive, + :alias => "inactive", + :data => "servers.tungsten.memory.Inactive.value" + +field :dirty, + :alias => "dirty", + :data => "servers.tungsten.memory.Dirty.value" + +field :free, + :alias => "free", + :data => "servers.tungsten.memory.Free.value" diff --git a/files/gdash/dashboards/graphite/network_err.graph b/files/gdash/dashboards/graphite/network_err.graph new file mode 100644 index 0000000..da72bc9 --- /dev/null +++ b/files/gdash/dashboards/graphite/network_err.graph @@ -0,0 +1,11 @@ +title "network errors/drops, all interfaces" +vtitle "packets/s" +area :first + +field :tx, :color => "green", + :alias => "tx", + :data => "sumSeries(servers.tungsten.network.*.tx_errors.value, servers.tungsten.network.*.tx_drop.value)" + +field :rx, :color => "blue", + :alias => "rx", + :data => "sumSeries(servers.tungsten.network.*.rx_errors.value, servers.tungsten.network.*.rx_drop.value)" diff --git a/files/gdash/dashboards/graphite/network_io.graph b/files/gdash/dashboards/graphite/network_io.graph new file mode 100644 index 0000000..0fdfb0b --- /dev/null +++ b/files/gdash/dashboards/graphite/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.tungsten.network.*.tx_byte.value)" + +field :rx, :color => "blue", + :alias => "rx", + :data => "sumSeries(servers.tungsten.network.*.rx_byte.value)" -- To view, visit https://gerrit.wikimedia.org/r/133707 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibe966d1ff10a4364301e1657fdcf7619af88370c Gerrit-PatchSet: 2 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Filippo Giunchedi <[email protected]> Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]> Gerrit-Reviewer: Ori.livneh <[email protected]> Gerrit-Reviewer: Rush <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
