Home / Servers / DigitalOcean API / monitoring_get_app_restart_count_metrics_yml

Get App Restart Count Metrics

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

Get App Restart Count Metrics To retrieve restart count metrics for a given app, send a GET request to /v2/monitoring/metrics/apps/restart_count. [GET /v2/monitoring/metrics/apps/restart_count]

Name on the gateway: digitalocean_api__monitoring_get_app_restart_count_metrics_yml · read-only.

Parameters

NameTypeDescription
app_id requiredstringThe app UUID.
app_componentstringThe app component name.
start requiredstringUNIX timestamp to start metric window.
end requiredstringUNIX timestamp to end metric window.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__monitoring_get_app_restart_count_metrics_yml",
  "arguments": {
    "app_id": "…",
    "start": "…",
    "end": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the get app restart count metrics tool with app_id set to ….

More from DigitalOcean API