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

Rate Limiting of Custom Metrics

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • None
    • SaaS, 2.9.1 GA
    • Gateway, System
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • 0
    • 0% 0%
    • Undefined

    Description

      The request is to be able to define rate limits for a Custom Metric (custom metrics policy).

      Currently if a Custom Metric is defined, and incremented with the policy, it won't be possible to effectively set a rate limit for that metric unless the metric is bound to a mapping rule.

      Binding the metric to a mapping rule would result in the metric value to increase:

      • according to the custom metric logic
      • one more time whenever the mapping rule is hit
        so this is not an option.

      The request is to be able to define rate limits that work on a custom metric, that is only increased according to the logic of the custom metrics policy.
      This would allow, for example, as for this customer's use case, to only count requests depending on the status code that is returned by their upstream API.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-sillumin Samuele Illuminati (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: