This is an automated email from the ASF dual-hosted git repository.

monkeydluffy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new ff0a0ba3a docs: fix error in english version (#9677)
ff0a0ba3a is described below

commit ff0a0ba3a111ffb95d9c8539cfefaeed3b50a960
Author: Zeping Bai <[email protected]>
AuthorDate: Fri Jun 16 17:02:33 2023 +0800

    docs: fix error in english version (#9677)
---
 docs/en/latest/plugins/loki-logger.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/latest/plugins/loki-logger.md 
b/docs/en/latest/plugins/loki-logger.md
index 6bd3ae8d6..52344eb77 100644
--- a/docs/en/latest/plugins/loki-logger.md
+++ b/docs/en/latest/plugins/loki-logger.md
@@ -43,10 +43,10 @@ When the Plugin is enabled, APISIX will serialize the 
request context informatio
 | tenant_id | string | False | fake | Loki tenant ID. According to Loki's 
[multi-tenancy 
documentation](https://grafana.com/docs/loki/latest/operations/multi-tenancy/#multi-tenancy),
 its default value is set to the default value `fake` under single-tenancy. |
 | log_labels | object | False | {job = "apisix"} | Loki log label. [APISIX 
variables](../apisix-variable.md) and [Nginx 
variables](http://nginx.org/en/docs/varindex.html) can be used by prefixing the 
string with `$`, both individual and combined, such as `$host` or 
`$remote_addr:$remote_port`. |
 | ssl_verify        | boolean       | False    | true | When set to `true`, 
verifies the SSL certificate. |
-| timeout           | integer       | False    | 3000ms  | [1, 60000]ms   | 
Timeout for the authorization service HTTP call. |
+| timeout           | integer       | False    | 3000ms | Timeout for the Loki 
service HTTP call. Range from 1 to 60,000ms.  |
 | keepalive         | boolean       | False    | true | When set to `true`, 
keeps the connection alive for multiple requests. |
-| keepalive_timeout | integer       | False    | 60000ms | [1000, ...]ms  | 
Idle time after which the connection is closed. |
-| keepalive_pool    | integer       | False    | 5       | [1, ...]ms     | 
Connection pool limit. |
+| keepalive_timeout | integer       | False    | 60000ms | Idle time after 
which the connection is closed. Range greater than or equal than 1000ms.  |
+| keepalive_pool    | integer       | False    | 5       | Connection pool 
limit. Range greater than or equal than 1. |
 | log_format | object | False    |          | Log format declared as key value 
pairs in JSON format. Values only support strings. [APISIX 
variables](../apisix-variable.md) and [Nginx 
variables](http://nginx.org/en/docs/varindex.html) can be used by prefixing the 
string with `$`. |
 | include_req_body       | boolean | False    | false | When set to `true` 
includes the request body in the log. If the request body is too big to be kept 
in the memory, it can't be logged due to Nginx's limitations. |
 | include_req_body_expr  | array   | False    |  | Filter for when the 
`include_req_body` attribute is set to `true`. Request body is only logged when 
the expression set here evaluates to `true`. See 
[lua-resty-expr](https://github.com/api7/lua-resty-expr) for more. |
@@ -150,7 +150,7 @@ Look at `error.log` for such a log.
 
 The error can be diagnosed based on the error code in the `failed to process 
entries: loki server returned status: 401, body: no org id` and the response 
body of the loki server.
 
-### Getting errors when QPS is high?
+### Getting errors when RPS is high?
 
 - Make sure to `keepalive` related configuration is set properly. See 
[Attributes](#attributes) for more information.
 - Check the logs in `error.log`, look for such a log.

Reply via email to