Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-4553

Web and email usage limit notifications doesn't work well

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • None
    • 2.8 ER2
    • Backend, System
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Hide

      1. Create multiple products, backends and applications for each product
      2. Create application plans for each product and publish them
      3. Create different limits on each application plan
      4. Turn on notification(web and email or separately) on each product
      5. Promote all applications to staging
      6. Hit first product limits and see to alerts or emails for notifications( see notifications in UI or email)
      7. Hit second product limits see to alerts or emails for notifications e.t.c

      All notifications come after another limit was hit, mostly in wrong order.
      Notifications aren't send one by one like 50% reached and so on.

      Show
      1. Create multiple products, backends and applications for each product 2. Create application plans for each product and publish them 3. Create different limits on each application plan 4. Turn on notification(web and email or separately) on each product 5. Promote all applications to staging 6. Hit first product limits and see to alerts or emails for notifications( see notifications in UI or email) 7. Hit second product limits see to alerts or emails for notifications e.t.c All notifications come after another limit was hit, mostly in wrong order. Notifications aren't send one by one like 50% reached and so on.
    • 3scale 2020-02-17

      Usage limit notifications doesn't work good.

      There are few problems. When you have multiple applications with different limits and you reach limit on your first application all notification are send in same time and wrong order. see ->

      When you setup limits for second application and reach them. Notifications are not sent until you reach limits on different application(not look into db look on emails or in web ui, notification are correct timestamps but not displayed) See images.

      Reached limit ->
      No allert ->
      All alerts come after hitting another application limit (UI and also email) ->

      Looks like hook for sending notifications is wrong set.

      Dev Notes
      Part of this problem is solved in THREESCALE-3904.

        1. alerts.png
          alerts.png
          27 kB
        2. cli-exteded.png
          cli-exteded.png
          150 kB
        3. email-notifications-come-same-time.png.png
          email-notifications-come-same-time.png.png
          218 kB
        4. email-notifications-order.png
          email-notifications-order.png
          144 kB

              Unassigned Unassigned
              dhlavacd@redhat.com Dominik Hlavac Duran
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: