mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-26 22:19:40 -08:00
43b105d32d
This provides the basic js, css and console template templates required to build dashboards. Included as an example are consoles for the node_exporter. Change-Id: I4cfeea5e9691a9413f74ae98ca32a908df8e4a59
17 lines
412 B
HTML
17 lines
412 B
HTML
{{template "head" .}}
|
|
|
|
{{template "prom_right_table_head"}}
|
|
<tr>
|
|
<th>Node</th>
|
|
<th>{{ template "prom_query_drilldown" (args "sum(up{job='node'})") }} / {{ template "prom_query_drilldown" (args "count(up{job='node'})") }}</th>
|
|
</tr>
|
|
{{template "prom_right_table_tail"}}
|
|
|
|
{{template "prom_content_head" .}}
|
|
<h1>Node</h1>
|
|
|
|
Choose an instance on the left.
|
|
{{template "prom_content_tail" .}}
|
|
|
|
{{template "tail"}}
|