Skip to content

Commit 60320d3

Browse files
authored
[K8s] Send Limited Batches (#8)
Added configuration options for OTLP HTTP exporter so that batches are not rejected. This can be removed after 9.1.5 (after elastic/elastic-agent#10126 is exposed by default).
1 parent 984808d commit 60320d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

k8s/autoops_agent_deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ spec:
3333
- args:
3434
- '--config'
3535
- otel_samples/autoops_es.yml
36+
- '--set'
37+
- 'exporters::otlphttp::sending_queue::batch::max_size=4194304' # 4 MiB (Remove after 9.1.5+)
38+
- '--set'
39+
- 'exporters::otlphttp::sending_queue::batch::sizer=bytes'
3640
env:
3741
- name: AUTOOPS_TOKEN
3842
valueFrom:

0 commit comments

Comments
 (0)