Skip to content

Commit

Permalink
[DBMON-2755] Increase DBM dbm-metrics-intake defaultInputChanSize to …
Browse files Browse the repository at this point in the history
…500 (#22323)

[DBMON-2755] Increase DBM dbm-metrics-intake defaultInputChanSize to 500
  • Loading branch information
lu-zhengda authored Jan 25, 2024
1 parent e5dc9f3 commit 664558d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkg/epforwarder/epforwarder.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ var passthroughPipelineDescs = []passthroughPipelineDesc{
defaultBatchMaxConcurrentSend: 10,
defaultBatchMaxContentSize: 10e6,
defaultBatchMaxSize: pkgconfig.DefaultBatchMaxSize,
defaultInputChanSize: pkgconfig.DefaultInputChanSize,
// High input chan size is needed to handle high number of DBM events being flushed by DBM integrations
defaultInputChanSize: 500,
},
{
eventType: eventTypeDBMMetrics,
Expand All @@ -75,7 +76,8 @@ var passthroughPipelineDescs = []passthroughPipelineDesc{
defaultBatchMaxConcurrentSend: 10,
defaultBatchMaxContentSize: 20e6,
defaultBatchMaxSize: pkgconfig.DefaultBatchMaxSize,
defaultInputChanSize: pkgconfig.DefaultInputChanSize,
// High input chan size is needed to handle high number of DBM events being flushed by DBM integrations
defaultInputChanSize: 500,
},
{
eventType: eventTypeDBMMetadata,
Expand All @@ -91,7 +93,8 @@ var passthroughPipelineDescs = []passthroughPipelineDesc{
defaultBatchMaxConcurrentSend: 10,
defaultBatchMaxContentSize: 20e6,
defaultBatchMaxSize: pkgconfig.DefaultBatchMaxSize,
defaultInputChanSize: pkgconfig.DefaultInputChanSize,
// High input chan size is needed to handle high number of DBM events being flushed by DBM integrations
defaultInputChanSize: 500,
},
{
eventType: eventTypeDBMActivity,
Expand All @@ -104,7 +107,8 @@ var passthroughPipelineDescs = []passthroughPipelineDesc{
defaultBatchMaxConcurrentSend: 10,
defaultBatchMaxContentSize: 20e6,
defaultBatchMaxSize: pkgconfig.DefaultBatchMaxSize,
defaultInputChanSize: pkgconfig.DefaultInputChanSize,
// High input chan size is needed to handle high number of DBM events being flushed by DBM integrations
defaultInputChanSize: 500,
},
{
eventType: EventTypeNetworkDevicesMetadata,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Each section from every release note are combined when the
# CHANGELOG.rst is rendered. So the text needs to be worded so that
# it does not depend on any information only available in another
# section. This may mean repeating some details, but each section
# must be readable independently of the other.
#
# Each section note must be formatted as reStructuredText.
---
enhancements:
- |
[DBM] Increase the DBM dbm-metrics-intake endpoint's defaultInputChanSize value to 500.

0 comments on commit 664558d

Please sign in to comment.