Easypanel icon

Easypanel

Interact with Easypanel API to manage projects, services, users, monitors and settings

Service → Get Stats

AI-generated

Summary

Retrieve resource consumption statistics for a service in Easypanel. The operation requests stats for the service identified by its project and service names, with a service-info fallback if the stats endpoint fails.

Inputs

  • Service Type — Service category: App (default), MariaDB, MongoDB, MySQL, PostgreSQL, or Redis. Used to select the service inspection endpoint for the fallback response.
  • Project Name (required) — Name of the project containing the service.
  • Service Name (required) — Name of the service to query.

Output shape

A single item containing a JSON object.

When stats retrieval succeeds, the object includes service (formatted as projectName_serviceName), projectName, serviceName, and stats with the API response. If the stats request fails, it instead includes info with the service inspection response and a note that stats were unavailable. With Continue On Fail enabled, errors are returned in an error object.

Links

Discussion