Skip to content

Commit 54b3c3d

Browse files
opencmit2ErMao
andauthored
Fixed storage.total_limit_size misleading document content (#1244)
* Fixed storage.total_limit_size misleading document content Signed-off-by: ErMao <[email protected]> * Fixed storage.total_limit_size misleading document content Signed-off-by: ErMao <[email protected]> --------- Signed-off-by: ErMao <[email protected]> Co-authored-by: ErMao <[email protected]>
1 parent 01f5a7d commit 54b3c3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

administration/buffering-and-storage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Fluent Bit implements the concept of logical queues: based on its Tag, a Chunk c
9191

9292
It's common to find cases where if we have multiple destinations for a Chunk, one of the destinations might be slower than the other, or maybe one is generating backpressure and not all of them. In this scenario, how do we limit the amount of filesystem Chunks that we are logically queueing?
9393

94-
Starting from Fluent Bit v1.6, we introduced the new configuration property for output plugins called `storage.total_limit_size` which limits the number of Chunks that exist in the filesystem for a certain logical output destination. If one of the destinations reaches the `storage.total_limit_size`, the oldest Chunk from its queue for that logical output destination will be discarded.
94+
Starting from Fluent Bit v1.6, we introduced the new configuration property for output plugins called `storage.total_limit_size` which limits the total size in bytes of chunks that can exist in the filesystem for a certain logical output destination. If one of the destinations reaches the configured `storage.total_limit_size`, the oldest Chunk from its queue for that logical output destination will be discarded to make room for new data.
9595

9696
## Configuration
9797

@@ -167,7 +167,7 @@ If certain chunks are filesystem _storage.type_ based, it's possible to control
167167

168168
| Key | Description | Default |
169169
| :--- | :--- | :--- |
170-
| storage.total\_limit\_size | Limit the maximum number of Chunks in the filesystem for the current output logical destination. | |
170+
| storage.total\_limit\_size | Limit the maximum disk space size in bytes for buffering chunks in the filesystem for the current output logical destination. | |
171171

172172
The following example create records with CPU usage samples in the filesystem and then they are delivered to Google Stackdriver service limiting the logical queue \(buffering\) to 5M:
173173

@@ -191,5 +191,5 @@ The following example create records with CPU usage samples in the filesystem an
191191
storage.total_limit_size 5M
192192
```
193193

194-
If for some reason Fluent Bit gets offline because of a network issue, it will continue buffering CPU samples but just keep a maximum of 5M of the newest data.
194+
If for some reason Fluent Bit gets offline because of a network issue, it will continue buffering CPU samples but just keep a maximum of 5MB of the newest data.
195195

0 commit comments

Comments
 (0)