Repository navigation
Closed
Labels
ecp-wp4: D4.1ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes toflag: nice to haveNot on the critical path right nowpriority: lowLow prioritytype: featureNew feature or requestworkload: daysLikely takes days to resolve
Milestone
Description
Why?
Nice-to-have integration with ELIXIR Compute WP5 (resource usage, sustainability), tracked in elixir-cloud-aai/generic-issues#58 (D4.1). WP5 defines a Tool Execution Report JSON Schema (report_format_version 0.0.2, MIT; field description) for reporting tool executions across infrastructures, and collects such reports for its public usage dashboard. proTES records resource usage per finished task since #490 (closing #459). Exporting those records in the WP5 format lets operators publish usage without a format of their own.
How?
- Map each usage record (one per finished TES task, and one report per backend attempt where a task ran more than once) to an execution report:
tool_nameand version from the executor image;tool_identifieronly where the task carries one (e.g. a bio.tools or TRS ID in task tags), otherwise left out and documented;- start and end time from the TES task logs;
cpu_cores_assignedand memory from the requested resources (allocations, not measurements; say so);- sizes of outputs as aggregates only;
infra: proTES and the backend TES, identified by their service IDs or registry IRIs, location from their service info.
- Privacy, following the WP5 stakeholder consultation (M5.5) and the rule that reports hold no personal data:
- no user identifiers (
user_id,sub, e-mail, group) in any report; - no command lines, arguments, environment variables, input or output URLs or file names.
- no user identifiers (
- Export: an admin-only endpoint or CLI command that returns the reports for a time range as a JSON array, validated against the schema in the tests.
- Pin the schema version and say in the docs which version is supported.
- Docs:
docs/api.md,docs/operations.md(how to export and hand over reports),docs/configuration.mdif a setting is added.
Acceptance criteria
- Admins can export usage as reports that validate against schema version 0.0.2.
- Reports contain no user identifiers and no command lines.
- Documented, including fields that can't be filled from TES.
Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026); nice to have.
Metadata
Metadata
Assignees
Labels
ecp-wp4: D4.1ELIXIR Compute Platform WP4 milestone/deliverable this issue contributes toflag: nice to haveNot on the critical path right nowpriority: lowLow prioritytype: featureNew feature or requestworkload: daysLikely takes days to resolve
Type
Projects
- StatusShow more project fieldsDone
Activity
fix(accounting): address automated review