Skip to content

feat: Argo Prometheus metrics (#[workflow(metrics = ...)]) #69

Description

@mostlymaxi

Surface Argo's spec.metrics.prometheus[] (gauge / counter / histogram, optional when) as an attr, e.g. #[workflow(metrics = [{ name = "...", value = "...", ... }])], per-workflow or per-template.

Design challenge: the metric value is an Argo expression over workflow/template state, not a Rust value, so the attr can't just take a literal/arg. Needs care on how to express the expression safely. User-flagged; "may be difficult."

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestroadmapTracked backlog item (from the maintainer roadmap)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions