Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2185

Enhance `ansible.eda.alertmanager` source to maintain compatibility with event streams and preserve individual `event.alert` structure

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • 2.5
    • event-driven-ansible
    • False
    • Hide

      None

      Show
      None
    • False

      1. What is the nature and description of the request?
        The customer is requesting that the ansible.eda.alertmanager event source plugin for Event-Driven Ansible (EDA) be updated to maintain compatibility with event streams and restore the previous behavior of splitting alerts into discrete event.alert structures. Currently, with the event stream architecture, the payload is no longer split into individual alerts, causing existing rulebooks that depend on event.alert.* to break.

       

      1. Why does the customer need this? (List the business requirements here)

        • Existing EDA rulebooks relying on event.alert are no longer functional after the change in behavior introduced with event streams.
        • The business uses these rulebooks to automate operational responses (e.g., restarting services when certain Prometheus Alertmanager alerts are fired).
        • A regression in source plugin behavior affects the reliability and predictability of automated workflows.
        • Rewriting all existing rulebooks to use event.payload.alerts[0] is not ideal, especially since the payload may contain multiple alerts that should be processed individually.

           

      1. How would you like to achieve this? (List the functional requirements here)

        • Modify the ansible.eda.alertmanager source plugin to split incoming payloads into individual alerts, restoring a structure compatible with event.alert.
        • Optionally, provide a configuration toggle (e.g., split_payload: true) to allow users to enable or disable this splitting behavior as needed.

              dmendoza@redhat.com Dafne Mendoza
              rhn-support-apaygavh Abhishek Paygavhan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: