Skip to content

More direct access to processes states #3306

Open
@oliveti

Description

@oliveti

Context

Creation of a centralised monitoring dashboard of apps based on the api (list of crashed apps).

Issue

With the current existing endpoints, getting "real" state for a list of apps requires too many network calls.
As far as I know, the only way to know if an app is crashed is to call the stats endpoints which requires one call per process /v3/processes/process-id/stats.

Current result

When getting an app, the received object only contains the desired state of the app (STARTED, STOPPED). This desired
state does not reflect the "real" state of the app processes (we might be crashed).

Possible Fix

A few ideas :

  • Provide an endpoint to get all the stats for all process : v3/stats
  • Include the "real" state (processes states) in the app response.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions