Skip to content

Commit

Permalink
metrics: tidy: widen the graphs
Browse files Browse the repository at this point in the history
Move the legends to the bottom (underneath) for the tidy scaling graphs
to make them wider on the page, and thus easier to read with more
resolution.

Signed-off-by: Graham Whaley <[email protected]>
  • Loading branch information
Graham Whaley committed Nov 25, 2019
1 parent 7cde752 commit 21953a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions metrics/report/report_dockerfile/tidy_scaling.R
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ mem_line_plot <- ggplot(data=nodedata, aes(n_pods,
ylab("System Avail (Gb)") +
scale_y_continuous(labels=comma) +
ggtitle("System Memory free") +
theme(legend.position="bottom") +
theme(axis.text.x=element_text(angle=90))

page1 = grid.arrange(
Expand Down Expand Up @@ -256,6 +257,7 @@ cpu_line_plot <- ggplot(data=nodedata, aes(n_pods,
xlab("pods") +
ylab("System CPU Idle (%)") +
ggtitle("System CPU usage") +
theme(legend.position="bottom") +
theme(axis.text.x=element_text(angle=90))

page2 = grid.arrange(
Expand All @@ -279,6 +281,7 @@ boot_line_plot <- ggplot() +
xlab("pods") +
ylab("Boot time (s)") +
ggtitle("Pod boot time") +
theme(legend.position="bottom") +
theme(axis.text.x=element_text(angle=90))

page3 = grid.arrange(
Expand Down Expand Up @@ -307,6 +310,7 @@ inode_line_plot <- ggplot(data=nodedata, aes(n_pods,
ylab("inodes free") +
scale_y_continuous(labels=comma) +
ggtitle("inodes free") +
theme(legend.position="bottom") +
theme(axis.text.x=element_text(angle=90))

page4 = grid.arrange(
Expand Down

0 comments on commit 21953a7

Please sign in to comment.