SchedulerResourceHistoryService

AppendSchedulerResourceHistoryRun

Changed on

Atomically appends a run summary to the record's bounded ring buffer, creating the record if absent, and stores the recomputed recommendation. Used by the scheduler resource recorder on job completion.

post/v1/namespaces/{tenant_meta.namespace}/scheduler-resource-histories:appendRun

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/scheduler-resource-histories:appendRun
  • Auth
    none declared

Path parameters

tenant_meta.namespacestring required

Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".

Request body

kindstring

Scheduler job kind the history record is keyed to.

project_uuidstring

Project the history record is keyed to.

tenant_metaobject

Tenant the history record belongs to.

window_sizeinteger

Maximum number of runs to retain; the ring buffer keeps the newest N. Unset or non-positive falls back to the handler default window.

Response

A successful response.

V1AppendSchedulerResourceHistoryRunResponse required

Response for AppendSchedulerResourceHistoryRun.

Changes