-
Notifications
You must be signed in to change notification settings - Fork 0
/
mem.tt
55 lines (55 loc) · 1.96 KB
/
mem.tt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//// Memory
{
"title": "Row",
"collapse": false,
"editable": true,
"height": "250px",
"panels": [ {
"title": "Memory in [%targetname%]",
"id": [%serial%],
"datasource": "[%GRAFANADATASOURCE%]",
"isNew": true,
"editable": true,
"tooltip": { "shared": true, "value_type": "individual" },
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [ "short" ],
"grid": { "leftLogBase": 1, "leftMax": null, "leftMin": null },
"gridPos": { "w": 12, "h": 6, "x": 0, "y": 0 },
"span": 12,
"legend": {
"show": true,
"values": true, "avg": true, "max": true, "min": true, "current": false, "total": false,
"rightSide": true, "alignAsTable": true, "sideWidth": 300,
"hideEmpty": true, "hideZero": false
},
"targets": [ {
"refId": "0001",
"dsType": "influxdb",
"resultFormat": "time_series",
"alias": "$col",
"groupBy": [ { "type": "time", "params": [ "$__interval" ] } ],
"measurement": "[%measurement%]",
"tags": [],
"select": [
[ { "type": "field", "params": [ "mem-total" ] },
{ "type": "mean", "params": [] },
{ "type": "alias", "params": [ "total" ] } ],
[ { "type": "field", "params": [ "mem-available" ] },
{ "type": "mean", "params": [] },
{ "type": "alias", "params": [ "avail" ] } ],
[ { "type": "field", "params": [ "mem-buffers" ] },
{ "type": "mean", "params": [] },
{ "type": "alias", "params": [ "buffers" ] } ],
[ { "type": "field", "params": [ "mem-cached" ] },
{ "type": "mean", "params": [] },
{ "type": "alias", "params": [ "cached" ] } ],
[ { "type": "field", "params": [ "mem-free" ] },
{ "type": "mean", "params": [] },
{ "type": "alias", "params": [ "free" ] } ]
]
} ],
"nullPointMode": "connected"
} ]
}