Deplo

Metrics

Live and historical resource usage for servers, apps and databases, and the switch that turns history on.

serverMetrics reads live CPU, memory, disk and network for one server. appMetrics(appId) and databaseMetrics(databaseId) read the same live numbers per container, what the dashboard's Monitoring tab shows. Each has a *MetricsHistory counterpart that seeds the same view with a short rolling history instead of just the current sample.

setSaveMetrics is the instance-wide "Save metrics" switch: turning it off stops history from accumulating for every server, app and database at once. Needs manage_monitoring.

See also

Did this page help you?

On this page