From 1665d53d6553758b826f1aa6f1c5b865f0a49231 Mon Sep 17 00:00:00 2001 From: zufardhiyaulhaq Date: Tue, 3 Nov 2020 13:05:00 +0100 Subject: [PATCH] add documentation for NEAR_LIMIT_RATIO environment variable Signed-off-by: zufardhiyaulhaq --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d1e18f9..81e51b92 100644 --- a/README.md +++ b/README.md @@ -412,7 +412,7 @@ STAT: * over_limit: Number of rule hits exceeding the threshold rate * total_hits: Number of rule hits in total -These are examples of generated stats for some configured rate limit rules from the above examples: +To costum near_limit ratio threshold, you can specify with `NEAR_LIMIT_RATIO` environment variable. It defaults to `0.8` (0-1 scale). These are examples of generated stats for some configured rate limit rules from the above examples: ``` ratelimit.service.rate_limit.mongo_cps.database_default.over_limit: 0