-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[loki] Moves grpc keep-alive option to a separate chunk
- Loading branch information
Showing
2 changed files
with
35 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
content/headless/chunk/option-destination-grpc-keep-alive.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
--- | ||
<!-- This file is under the copyright of Axoflow, and licensed under Apache License 2.0, except for using the Axoflow and AxoSyslog trademarks. --> | ||
|
||
## keep-alive() | ||
|
||
Configures how {{% param "product.abbrev" %}} sends [gRPC keepalive pings](https://grpc.io/docs/guides/keepalive/). | ||
|
||
### max-pings-without-data() | ||
|
||
| | | | ||
| -------- | ------------------ | | ||
| Type: | integer | | ||
| Default: | | | ||
|
||
*Description:* The maximum number of gRPC pings that can be sent when there is no data/header frame to be sent. {{% param "product.abbrev" %}} won't send any pings after this limit. Set it to 0 disable this restriction and keep sending pings. | ||
|
||
### time() | ||
|
||
| | | | ||
| -------- | ------------------ | | ||
| Type: | number [milliseconds] | | ||
| Default: | | | ||
|
||
*Description:* The period (in milliseconds) after which {{% param "product.abbrev" %}} sends a gRPC keepalive ping. | ||
|
||
### timeout() | ||
|
||
| | | | ||
| -------- | ------------------ | | ||
| Type: | number [milliseconds] | | ||
| Default: | 10 | | ||
|
||
*Description:* The time (in milliseconds) {{% param "product.abbrev" %}} waits for an acknowledgement. |