[go: nahoru, domu]

Skip to content

Commit

Permalink
fixed json
Browse files Browse the repository at this point in the history
  • Loading branch information
cfregly committed Aug 17, 2022
1 parent 45cbfc5 commit 761e65a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
4 changes: 2 additions & 2 deletions wip/ray/cloudwatch/cloudwatch-agent-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"clocks_current_memory",
"clocks_current_video"
],
"metrics_collection_interval": 60
"metrics_collection_interval": 60
},
"processes": {
"measurement": [
Expand Down Expand Up @@ -202,4 +202,4 @@
}
}
}
}
}
36 changes: 20 additions & 16 deletions wip/ray/cloudwatch/cloudwatch-dashboard-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
"stacked":false,
"metrics":[
[ { "expression": "SUM(SEARCH('{{cluster_name}-ray-CWAgent,InstanceId} disk_used_percent', 'Average', 300))", "label": "cluster disk used percent sum", "id": "e7", "period": 300 } ]

],
"region":"{region}",
"title":"Cluster Disk Usage"
Expand All @@ -145,6 +146,7 @@
"metrics":[
[ { "expression": "AVG(SEARCH('{{cluster_name}-ray-CWAgent,InstanceId} disk_used_percent', 'Average', 300))", "id": "e8", "label": "cluster disk used percent average", "period": 300 } ],
[ { "expression": "MAX(SEARCH('{{cluster_name}-ray-CWAgent,InstanceId} disk_used_percent', 'Maximum', 300))", "id": "e9", "label": "cluster disk used percent maximum", "period": 300 } ]

],
"region":"{region}",
"title":"Single Node Disk Usage (Avg and Max)"
Expand All @@ -159,6 +161,7 @@
"properties": {
"metrics": [
[ { "expression": "SUM(SEARCH('{{cluster_name}-ray-CWAgent,InstanceId} mem_used_percent', 'Average', 300))", "id": "e10", "label": "cluster mem used percent sum", "period": 300 } ]

],
"view": "timeSeries",
"stacked": false,
Expand Down Expand Up @@ -231,20 +234,21 @@
"title": "Cluster Object Store Available Memory"
}
},
{
"type": "metric",
"x": 0,
"y": 32,
"width": 12,
"height": 6,
"properties": {
"view": "timeSeries",
"stacked": false,
"metrics": [
[ "{cluster_name}-ray-CWAgent", "mem_used_percent", "InstanceId", "{instance_id}" ]
],
"region": "{region}",
"title": "mem_used_percent"
}
}
{
"type": "metric",
"x": 0,
"y": 32,
"width": 12,
"height": 6,
"properties": {
"view": "timeSeries",
"stacked": false,
"metrics": [
[ "{cluster_name}-ray-CWAgent", "mem_used_percent", "InstanceId", "{instance_id}" ]
],
"region": "{region}",
"title": "head_node_mem_used_percent"
}
}
]

0 comments on commit 761e65a

Please sign in to comment.