Skip to content
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

Merged
merged 3 commits into from
Jul 8, 2020

Conversation

pavolloffay
Copy link
Member

Related to #2152 and open-telemetry/opentelemetry-collector#886

This PR enables by default batch and queued_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.

@pavolloffay pavolloffay requested a review from a team as a code owner July 7, 2020 13:40
@pavolloffay pavolloffay requested a review from vprithvi July 7, 2020 13:40
@pavolloffay pavolloffay requested a review from objectiser July 7, 2020 13:40
Signed-off-by: Pavol Loffay <[email protected]>
@codecov
Copy link

codecov bot commented Jul 7, 2020

Codecov Report

Merging #2330 into master will increase coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@            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     
Impacted Files Coverage Δ
...lugin/sampling/strategystore/adaptive/processor.go 100.00% <0.00%> (+0.79%) ⬆️
cmd/flags/admin.go 79.36% <0.00%> (+1.58%) ⬆️
cmd/query/app/static_handler.go 85.83% <0.00%> (+1.66%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97d2319...2720271. Read the comment docs.

if len(resProcessor.Labels) > 0 {
processors[resProcessor.Name()] = resProcessor
}
processors := createProcessors(c.Factories)
Copy link
Contributor

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.

Copy link
Member Author

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
Copy link
Contributor

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?

Copy link
Member Author

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]>
Copy link
Contributor

@objectiser objectiser left a 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

@yurishkuro
Copy link
Member

need to re-trigger the build

@yurishkuro yurishkuro closed this Jul 7, 2020
@yurishkuro yurishkuro reopened this Jul 7, 2020
@pavolloffay pavolloffay merged commit c549252 into jaegertracing:master Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants