Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions grafana/fly-app.json
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,30 @@
"legendFormat": "{{instance}} - {{region}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus_on_fly"
},
"editorMode": "code",
"expr": "(fly_instance_memory_swap_total{app=\"$app\"} -\nfly_instance_memory_swap_free{app=\"$app\"}) > 0",
"hide": false,
"legendFormat": "SwapUsed - Memory which has been evicted from RAM, and is temporarily on the disk",
"range": true,
"refId": "J"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus_on_fly"
},
"editorMode": "code",
"expr": "(fly_instance_memory_swap_total{app=\"$app\"}) > 0",
"hide": false,
"legendFormat": "SwapTotal - total amount of swap space available",
"range": true,
"refId": "I"
}
],
"title": "Memory Utilization",
Expand Down Expand Up @@ -1080,6 +1104,18 @@
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "Swap.*"
},
"properties": [
{
"id": "custom.transform",
"value": "negative-Y"
}
]
},
{
"matcher": {
"id": "byName",
Expand Down