blob: e2f167d42978afce3263109aa763a643116280d0 [file] [log] [blame]
{
"id": null,
"title": "Cluster",
"originalTitle": "Cluster",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "cluster_metrics",
"editable": true,
"error": false,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 1,
"interval": ">10s",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host",
"fields": [
{
"func": "mean",
"name": "value"
}
],
"groupBy": [
{
"interval": "auto",
"type": "time"
},
{
"key": "host",
"type": "tag"
}
],
"measurement": "cpu_value",
"query": "SELECT mean(\"value\") AS \"value\" FROM \"cpu_value\" WHERE \"type\" = 'percent' AND \"type_instance\" = 'active' AND $timeFilter GROUP BY time($interval), \"host\"",
"refId": "A",
"tags": [
{
"key": "type",
"operator": "=",
"value": "percent"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "active"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "CPU usage (as a percentage) by host",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"short",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "cluster_metrics",
"editable": true,
"error": false,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 2,
"interval": "10s",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host",
"fields": [
{
"func": "sum",
"name": "value"
}
],
"groupBy": [
{
"interval": "auto",
"type": "time"
},
{
"key": "host",
"type": "tag"
}
],
"measurement": "memory_value",
"query": "SELECT sum(\"value\") AS \"value\" FROM \"memory_value\" WHERE \"type\" = 'memory' AND \"type_instance\" = 'free' OR \"type_instance\" = 'cached' AND $timeFilter GROUP BY time($interval), \"host\"",
"refId": "A",
"tags": [
{
"key": "type",
"operator": "=",
"value": "memory"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "free"
},
{
"condition": "OR",
"key": "type_instance",
"operator": "=",
"value": "cached"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Available Memory (free+cached) by host",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
]
}
],
"title": "Row"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "cluster_metrics",
"editable": true,
"error": false,
"fill": 0,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"rightLogBase": 1,
"rightMax": null,
"rightMin": null,
"threshold1": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"id": 3,
"interval": ">10s",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host",
"fields": [
{
"func": "mean",
"name": "value"
}
],
"groupBy": [
{
"interval": "auto",
"type": "time"
},
{
"key": "host",
"type": "tag"
}
],
"measurement": "load_shortterm",
"query": "SELECT mean(\"value\") AS \"value\" FROM \"load_shortterm\" WHERE \"type\" = 'load' AND $timeFilter GROUP BY time($interval), \"host\"",
"refId": "A",
"tags": [
{
"key": "type",
"operator": "=",
"value": "load"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Load (short-term) by host",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"short",
"short"
]
},
{
"title": "Available disk (in GB) by host",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"id": 4,
"datasource": "cluster_metrics",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
],
"grid": {
"leftLogBase": 1,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"rightLogBase": 1,
"threshold1": null,
"threshold2": null,
"threshold1Color": "rgba(216, 200, 27, 0.27)",
"threshold2Color": "rgba(234, 112, 112, 0.22)"
},
"lines": true,
"fill": 0,
"linewidth": 2,
"points": false,
"pointradius": 5,
"bars": false,
"stack": false,
"percentage": false,
"legend": {
"show": true,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "null",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": true
},
"timeFrom": null,
"timeShift": null,
"targets": [
{
"refId": "A",
"tags": [
{% for drive in metrics_drive_ids %}
{
{% if not loop.first %}
"condition": "OR",
{% endif %}
"key": "instance",
"operator": "=",
"value": "{{ drive }}"
},
{% endfor %}
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "free"
}
],
"groupBy": [
{
"type": "time",
"interval": "auto"
},
{
"type": "tag",
"key": "host"
}
],
"fields": [
{
"name": "value",
"func": "sum"
}
],
"measurement": "df_value",
"query": "SELECT sum(\"value\") AS \"value\" FROM \"df_value\" WHERE {% for drive in metrics_drive_ids %} {% if not loop.first %} OR {% endif %} \"instance\" = '{{ drive }}' {%- endfor %} AND \"type_instance\" = 'free' AND $timeFilter GROUP BY time($interval), \"host\"",
"alias": "$tag_host",
"rawQuery": false
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": [],
"interval": "10s"
}
],
"title": "New row"
},
{
"title": "New row",
"height": "250px",
"editable": true,
"collapse": false,
"panels": []
}
],
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"now": true,
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"templating": {
"list": []
},
"annotations": {
"list": []
},
"refresh": "10s",
"schemaVersion": 7,
"version": 0,
"links": []
}