Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-7191

Alerts: rename old alerts endpoint for new alerts and provide summary info

    Details

      Description

      Currently alerts (from Nagios) are propagated to the UI in the form:

      {
        "href" : "http://localhost:8080/api/v1/clusters/c1/services/HDFS?fields=alerts",
        "ServiceInfo" : {
          "cluster_name" : "c1",
          "service_name" : "HDFS"
        },
        "alerts" : {
          "detail" : [ ... ]
          "summary": {
            "OK": x,
            "WARNING": y,
            "CRITICAL": z
          }
      }
      

      This should be renamed to make way for the alerts endpoint. Summary data should be placed into an alerts_summary element.

      THIS IS AN API BREAKING CHANGE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ncole@hortonworks.com Nate Cole
                Reporter:
                ncole@hortonworks.com Nate Cole
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: