Skip to content

Enhancement: Display statistics of computational jobs together with their parent nodes #5816

@sanderegg

Description

@sanderegg

Context

Since the public API is available it is now possible to run X computational jobs from a running dynamic service.
Looking at the Usage statistics of a user it currently displays computational jobs separated from their "parent" dynamic service.

Goal

Display the statistics of computational jobs linked to their parent service.

Needed changes

  1. Important note: we should keep backward compatibility of the API, and also for sim4life.io keep the option to pass it via metadata at least for awhile.
  2. modify the oSparc API to create/run computational jobs from a running dynamic service by passing the "parent" node ID (ideally automatically defined, if not then the API shall be modified) - use-case: sim4life, meta-modeling, jupyterlabs, ...
  3. the parent Node ID is passed all the way to the computational backend (already exists, needs to be modified based on 1.)
  4. using the parent NodeID the logs are sent back to the parent project/nodeID if it exists (already exists, needs to be modified based on 1.)
  5. the resource usage tracker shall keep track of the parent node ID if it exists
  6. the frontend shall display the usage with services and their children jobs
### Tasks
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/5950
- [ ] https://github.com/ITISFoundation/osparc-issues/issues/1618
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/5874
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/5878
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/5877
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/5879
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/5881
- [ ] https://github.com/ITISFoundation/osparc-simcore/issues/5925
- [ ] https://github.com/ITISFoundation/osparc-simcore/pull/5966
- [ ] https://github.com/ITISFoundation/osparc-issues/issues/1517

Metadata

Metadata

Labels

a:apiserverapi-server servicea:dask-serviceAny of the dask services: dask-scheduler/sidecar or workera:director-v2issue related with the director-v2 servicea:resource-usage-trackerresource usage tracker service

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions