Hi All,

We are developing the following feature for the APIM Analytics server.

*Frequent tier limit hitting (Tier Crossing)*

This alert type should get triggered if at least one of the two cases below
satisfied;


   1.

   If a particular application gets throttled out for hitting the
   subscribed tier limit of that application, more than 10 times (by default)
   within a day (by default)
   2. If a particular user of an application, gets throttled out for
   hitting the subscribed tier limit of a particular API, more than 10 times
   (by default) within a day (by default)

[image: Screen Shot 2016-03-28 at 10.41.08 AM.png]

Throttling data is available in the "org.wso2.apimgt.statistics.throttle"
stream. Whether the  throttling message is generated for a particular user
or an application is determined by the "throttledOutReason" field of the
stream.

In addition to that, we will be maintaining a one-day time-window and
throttling data will be grouped by userId, api_version, applicationId. Once
grouped, if we have more than 10 ( it is configurable) throttling messages
for a given userId ( or subscriber) an alert will be triggered.

Your suggestions regarding above approach are welcome.

Thanks,
Upul

--
Upul Bandara,
Mob: +94 715 468 345.
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to