DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Rate Limit Module in Datapower

    Posted 05/02/24 12:17 PM

    How do we reset the counter based on any interval for the Counter or Concurrent Transactions APIs Provided in Rate Limit Module of Datapower?



    ------------------------------
    R K
    ------------------------------


  • 2.  RE: Rate Limit Module in Datapower

    Posted 05/02/24 12:54 PM

    I've never actually tried this, and maybe I should have taken the time to set it up, but, I'm guessing you might want to take a look at the "Dynamic Value" field of either the rate limit definition or API operation rate limit and go from there.  



    ------------------------------
    Joseph Morgan
    ------------------------------



  • 3.  RE: Rate Limit Module in Datapower

    Posted 05/06/24 10:12 AM

    I am not sure about the Dynamic Value field which you are speaking about? Can you explain about it. 

    I wanted to use the modules in MPGW. Is that possible?



    ------------------------------
    R K
    ------------------------------



  • 4.  RE: Rate Limit Module in Datapower

    Posted 05/06/24 12:43 PM

    I'm sorry.  I may have misunderstood the initial question to be asking about the rate limiter for APIs.  Are you talking about Message Count/Duration or SLM policies for MPGWs?



    ------------------------------
    Joseph Morgan
    ------------------------------



  • 5.  RE: Rate Limit Module in Datapower

    Posted 05/07/24 10:47 AM

    I am speaking about the Counter API available in Rate Limit Module of Gateway Script. I wanted to create a counter to calculate business error and then share a predefined message if the counter value passes the threshold. But I dont see any reset based on Interval for the Counter API. Can you let me know if this can be implemented?



    ------------------------------
    R K
    ------------------------------



  • 6.  RE: Rate Limit Module in Datapower

    Posted 05/07/24 08:57 AM

    Hi,

    like Joseph stated it is not that clear whether this was about SLM or message counters. Anyways, you can try the GatewayScript API for resetting the counter:

    https://www.ibm.com/docs/en/datapower-gateway/10.5.x?topic=module-apis-manage-counters#counter__reset



    ------------------------------
    Hermanni Pernaa
    ------------------------------



  • 7.  RE: Rate Limit Module in Datapower

    Posted 05/07/24 10:55 AM

    Hi,

    I looked into this API but there is no relation provided with time or interval based on which the counter can be reset. Is there any way to do the same? 



    ------------------------------
    R K
    ------------------------------



  • 8.  RE: Rate Limit Module in Datapower

    Posted 05/07/24 11:22 AM

    We might need a better idea of what you're trying to do, but I really think an SLM Policy is what you're looking for.



    ------------------------------
    Joseph Morgan
    ------------------------------