Browse Source

Cleaned up a little bit of HTML

Signed-off-by: Levi Harrison <git@leviharrison.dev>
pull/9006/head
Levi Harrison 3 years ago
parent
commit
8baaceab77
No known key found for this signature in database
GPG Key ID: 23A7BDEAE860B57D
  1. 2
      consoles/node-disk.html
  2. 1
      consoles/node-overview.html
  3. 1
      consoles/node.html

2
consoles/node-disk.html

@ -1,6 +1,7 @@
{{ template "head" . }} {{ template "head" . }}
{{ template "prom_right_table_head" }} {{ template "prom_right_table_head" }}
<tr>
<th colspan="2">Disks</th> <th colspan="2">Disks</th>
</tr> </tr>
{{ range printf "node_disk_io_time_seconds_total{job='node',instance='%s'}" .Params.instance | query | sortByLabel "device" }} {{ range printf "node_disk_io_time_seconds_total{job='node',instance='%s'}" .Params.instance | query | sortByLabel "device" }}
@ -22,6 +23,7 @@
<td>{{ template "prom_query_drilldown" (args (printf "irate(node_disk_write_time_seconds_total{job='node',instance='%s',device='%s'}[5m]) / irate(node_disk_writes_completed_total{job='node',instance='%s',device='%s'}[5m])" .Labels.instance .Labels.device .Labels.instance .Labels.device) "s" "humanize") }}</td> <td>{{ template "prom_query_drilldown" (args (printf "irate(node_disk_write_time_seconds_total{job='node',instance='%s',device='%s'}[5m]) / irate(node_disk_writes_completed_total{job='node',instance='%s',device='%s'}[5m])" .Labels.instance .Labels.device .Labels.instance .Labels.device) "s" "humanize") }}</td>
</tr> </tr>
{{ end }} {{ end }}
<tr>
<th colspan="2">Filesystem Fullness</th> <th colspan="2">Filesystem Fullness</th>
</tr> </tr>
{{ define "roughlyNearZero" }} {{ define "roughlyNearZero" }}

1
consoles/node-overview.html

@ -31,7 +31,6 @@
<td>{{ template "prom_query_drilldown" (args (printf "irate(node_network_transmit_bytes_total{job='node',instance='%s',device='%s'}[5m])" .Labels.instance .Labels.device) "B/s" "humanize") }}</td> <td>{{ template "prom_query_drilldown" (args (printf "irate(node_network_transmit_bytes_total{job='node',instance='%s',device='%s'}[5m])" .Labels.instance .Labels.device) "B/s" "humanize") }}</td>
</tr> </tr>
{{ end }} {{ end }}
</tr>
<tr> <tr>
<th colspan="2">Disks</th> <th colspan="2">Disks</th>
</tr> </tr>

1
consoles/node.html

@ -27,6 +27,7 @@
{{ else }} {{ else }}
<tr><td colspan=4>No nodes found.</td></tr> <tr><td colspan=4>No nodes found.</td></tr>
{{ end }} {{ end }}
</table>
{{ template "prom_content_tail" . }} {{ template "prom_content_tail" . }}

Loading…
Cancel
Save