Skip to main content

health

Creates, updates, deletes, gets or lists a health resource.

Overview

Namehealth
TypeResource
Iddigitalocean.apps.health

Fields

The following fields are returned by SELECT queries:

A JSON with key app_health

NameDatatypeDescription
componentsarray
functions_componentsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
apps_get_healthselectapp_idRetrieve information like health status, cpu and memory utilization of app components.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
app_idstringThe app ID (example: 4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf)

SELECT examples

Retrieve information like health status, cpu and memory utilization of app components.

SELECT
components,
functions_components
FROM digitalocean.apps.health
WHERE app_id = '{{ app_id }}' -- required;