Skip to content

Commit

Permalink
added memory limiter processor to example
Browse files Browse the repository at this point in the history
Signed-off-by: Granville Schmidt <[email protected]>
  • Loading branch information
gramidt committed Feb 11, 2021
1 parent 270a32d commit 6e323bf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion exporter/lokiexporter/example/otel-collector-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ processors:
batch:
send_batch_size: 50
timeout: 5s
memory_limiter:
ballast_size_mib: 2000
check_interval: 1s
limit_percentage: 50
spike_limit_percentage: 30

exporters:
loki:
Expand All @@ -25,5 +30,5 @@ service:
pipelines:
logs:
receivers: [ fluentforward ]
processors: [ batch ]
processors: [ memory_limiter, batch ]
exporters: [ loki ]

0 comments on commit 6e323bf

Please sign in to comment.