File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -677,6 +677,7 @@ func (s *serverRunner) newFinalBatchProcessor(
677677 * elasticsearch.Config `config:",inline"`
678678 FlushBytes string `config:"flush_bytes"`
679679 FlushInterval time.Duration `config:"flush_interval"`
680+ MaxRequests int `config:"max_requests"`
680681 }
681682 esConfig .FlushInterval = time .Second
682683 esConfig .Config = elasticsearch .DefaultConfig ()
@@ -701,6 +702,7 @@ func (s *serverRunner) newFinalBatchProcessor(
701702 FlushBytes : flushBytes ,
702703 FlushInterval : esConfig .FlushInterval ,
703704 Tracer : s .tracer ,
705+ MaxRequests : esConfig .MaxRequests ,
704706 })
705707 if err != nil {
706708 return nil , nil , err
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ https://github.com/elastic/apm-server/compare/8.2\...main[View commits]
2020[float]
2121==== Added
2222- System, process, and well-defined runtime metrics are now sent to the shared `metrics-apm.internal-<namespace>` data stream {pull}7882[7882]
23+ - Number of parallel bulk requests are now configurable via `output.elasticsearch.max_requests` {pull}8055[8055]
2324
2425
2526// Added but still being debugged
You can’t perform that action at this time.
0 commit comments