argoproj / argoproj/argo-workflows

Expose resourcesDuration.[cpu|memory] on a Workflow level for metrics

Open
#6,101 0 comments 4 reactions 0 assignees View on GitHub
area/telemetry/metrics
Dominant language
Go
Stars
17k
Forks
3.7k
Avg merge
1d 20h
Merged PRs (30d)
138

Description

# Summary

Currently, resourcesDuration is only exposed on a template level. Would it be possible to expose this on a workflow level?

# Use Cases

The UI currently exposes resourcesDuration on a workflow level, would it be possible to extend this to metrics as well? This would be super useful for understanding a workflow holistically via emitted metrics.

---

**Message from the maintainers**:

Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing where resourcesDuration is exposed at the template level and where workflow metrics are emitted; done means CPU and memory resourcesDuration are available on workflow-level metrics in a way consistent with the UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.