Metrics endpoints

GET /api/metrics/availability
Synopsis:

Provides data related with max running environments limit and time to wait for a free slot for a new environment.

Response JSON Object:
  • availability (integer) – Amount of free environment slots (0 if no limit)

  • limit (integer) – Amount for maximum running environments (0 if no limit)

  • waitingMinutes? (integer) – Estimation of minutes remaining for a free slot. Only present if availability is 0 and there is a limit. Not present if there is no expectation of a free slot automatically. It shows the minimum of remaining time for expiration of all environments.