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

Do not embed ProtocolServerSettings in gRPC #1210

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

bogdandrutu
Copy link
Member

Adding ProtocolServerSettings was a bit of a rush. We determined that endpoint has different meaning based on protocol, also not all the protocols support TLS.

In this PR we revert embedding ProtocolServerSettings in the GRPCServerSettings and make it consistent with HttpServerSettings.

Work left: Consistent config name for TLS settings tls_settings or tls_credentials.

@codecov
Copy link

codecov bot commented Jun 26, 2020

Codecov Report

Merging #1210 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1210      +/-   ##
==========================================
+ Coverage   87.62%   87.63%   +0.01%     
==========================================
  Files         203      203              
  Lines       14676    14672       -4     
==========================================
- Hits        12860    12858       -2     
+ Misses       1375     1374       -1     
+ Partials      441      440       -1     
Impacted Files Coverage Δ
config/configgrpc/configgrpc.go 100.00% <100.00%> (ø)
receiver/opencensusreceiver/factory.go 94.87% <100.00%> (-0.26%) ⬇️
receiver/otlpreceiver/factory.go 94.87% <100.00%> (-0.26%) ⬇️
translator/internaldata/resource_to_oc.go 86.04% <0.00%> (+2.32%) ⬆️

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 78542ef...c1e8a2f. Read the comment docs.

@tigrannajaryan tigrannajaryan merged commit 99d6040 into open-telemetry:master Jun 26, 2020
@bogdandrutu bogdandrutu deleted the grpcserverchange branch June 26, 2020 20:11
wyTrivail pushed a commit to mxiamxia/opentelemetry-collector that referenced this pull request Jul 13, 2020
Adding `ProtocolServerSettings` was a bit of a rush. We determined that `endpoint` has different meaning based on protocol, also not all the protocols support TLS.

In this PR we revert embedding `ProtocolServerSettings` in the GRPCServerSettings and make it consistent with HttpServerSettings.

Work left: Consistent config name for TLS settings `tls_settings` or `tls_credentials`.
swiatekm pushed a commit to swiatekm/opentelemetry-collector that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants