DigitalOcean-public.v2-new_Apps
Retrieve App Health
Retrieve information like health status, cpu and memory utilization of app components.
get/v2/apps/{app_id}/health
Path parameters
app_idstring required
The app ID
Response
A JSON with key app_health
Example response
{
"app_health": {
"components": [
{
"name": "sample_app",
"cpu_usage_percent": 30,
"memory_usage_percent": 25,
"replicas_desired": 1,
"replicas_ready": 1,
"state": "HEALTHY"
}
],
"functions_components": [
{
"name": "sample_function",
"functions_component_health_metrics": [
{
"metric_label": "activations_count",
"metric_value": 100,
"time_window": "1h"
}
]
}
]
}
}