-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable batch and queued retry processors by default #2330
Enable batch and queued retry processors by default #2330
Conversation
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2330 +/- ##
==========================================
+ Coverage 95.61% 95.65% +0.04%
==========================================
Files 205 205
Lines 10529 10529
==========================================
+ Hits 10067 10072 +5
+ Misses 395 391 -4
+ Partials 67 66 -1
Continue to review full report at Codecov.
|
if len(resProcessor.Labels) > 0 { | ||
processors[resProcessor.Name()] = resProcessor | ||
} | ||
processors := createProcessors(c.Factories) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this method return the list of processor names aswell, rather than having a hardcoded list on line 89.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 that is better
@@ -188,10 +199,14 @@ func receiverNames(receivers configmodels.Receivers) []string { | |||
return names | |||
} | |||
|
|||
func processorNames(processors configmodels.Processors) []string { | |||
// processorNames returns processor names that are present in both input parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would the list of processors be different?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the resource processor is enabled only when needed.
Signed-off-by: Pavol Loffay <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - merge on green
need to re-trigger the build |
Related to #2152 and open-telemetry/opentelemetry-collector#886
This PR enables by default
batch
andqueued_retry
OTEL processors.By default should be also enabled memory limiter, however it requires absolute settings which is not ideal solution for a single binary that is deployed in various environments. the memory limiter will support percentage settings in the future open-telemetry/opentelemetry-collector#1078.