cfg-checker ceph bench module alpha version
- Ceph benchmark report (beta)
- Updated result time choosing. Now results reported based on start time
- New methods for listing
- Cleanup-only mode
- Unified results processing
- Additional ceph info gather
- Experimental barchart graph example
Fixes:
- Kube API client recreated each time for stability (HTTP/WebSocket specifics)
- args naming fixes
-
Change-Id: Id541f789a00ab4ee827603c5b6f7f07899aaa7c5
diff --git a/templates/bar_chart.j2 b/templates/bar_chart.j2
new file mode 100644
index 0000000..52a042e
--- /dev/null
+++ b/templates/bar_chart.j2
@@ -0,0 +1,76 @@
+<style>
+ .bc-wrap {
+ display: table;
+ position: relative;
+ margin: 7px 0;
+ height: 60px;
+ }
+ .bc-container {
+ display: table-cell;
+ width: 100%;
+ height: 100%;
+ padding-left: 15px;
+ }
+ .bc {
+ display: table;
+ height: 100%;
+ width: 100%;
+ border-bottom: 2px solid black;
+ }
+ .bccol {
+ position: relative;
+ vertical-align: bottom;
+ display: table-cell;
+ height: 100%;
+ }
+ .bcbar {
+ position: relative;
+ height: 0;
+ transition: height 0.5s 2s;
+ width: 25px;
+ margin: auto;
+ background-color: #358;
+ }
+ .bcfooter {
+ position: absolute;
+ text-align: center;
+ width: 100%;
+ top: 53px;
+ font-size: 10px;
+ }
+ .bctimecol {
+ position: absolute;
+ top: 0;
+ height: 100%;
+ width: 100%;
+ }
+ .bctime {
+ height: 15px;
+ vertical-align: middle;
+ position: relative;
+ }
+ .bctime:after {
+ border-bottom: 1px dotted black;
+ content: "";
+ position: absolute;
+ width: 100%;
+ left: 0;
+ top: 0em;
+ }
+ .bctimetext {
+ position: absolute;
+ top: -8px;
+ z-index: 1;
+ background: white;
+ padding-right: 5px;
+ color: #4d4d4d;
+ font-size: 8px;
+ font-family: 'Avenir Medium';
+ }
+ .red-bar {
+ background-color: darkred;
+ }
+ .green-bar {
+ background-color: green;
+ }
+</style>