Skip to content

argo_events_action_retries_failed_total is not incremented when retryStrategy is not specified #3947

@qti-haeyoon

Description

@qti-haeyoon

Describe the bug

Opposed to what is described in the official docs about argo_events_action_retries_failed_total metric, when the sensor does not have retryStrategy specified this metric does not get incremented.

To Reproduce
Steps to reproduce the behavior:

  1. Create a sensor without retryStrategy.
  2. Simulate action failure by specifying erroneous job template for k8s trigger (e.g. name not specified`).
  3. Trigger the event for the sensor and observe the metric values

Expected behavior
Currently argo_events_action_failed_total is incremented, but not argo_events_action_retries_failed_total.
The expected behavior is to have both metrics to be incremented.

Environment (please complete the following information):

  • Kubernetes: v1.31.12
  • Argo Events: v1.9.6

Message from the maintainers:

If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions