-
Notifications
You must be signed in to change notification settings - Fork 1.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
Split OTLP receiver by protocols, allow mTLS support #1223
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1223 +/- ##
==========================================
+ Coverage 88.07% 88.13% +0.06%
==========================================
Files 203 201 -2
Lines 14669 14621 -48
==========================================
- Hits 12919 12886 -33
+ Misses 1311 1303 -8
+ Partials 439 432 -7
Continue to review full report at Codecov.
|
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.
Please also update otlpreceiver/README.md
# The following entry demonstrates how to specify a Unix Domain Socket for the server. | ||
otlp/uds: | ||
transport: unix | ||
endpoint: /tmp/otlp.sock | ||
|
||
protocols: | ||
grpc: | ||
# transport: unix | ||
endpoint: /tmp/grpc_otlp.sock | ||
http: | ||
# transport: unix | ||
endpoint: /tmp/http_otlp.sock |
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.
PR description says Unix socket is not supported. In that case it is better to remove this from the config.
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.
I am planning to add it back in the next couple of PRs, and want to just uncomment that when it happens.
min_time: 10s | ||
permit_without_stream: true | ||
protocols: | ||
grpc: |
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.
Is grpc-gateway enabled by "grpc" protocol or by "http" protocol?
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.
By http.
16edce2
to
c6367e7
Compare
|
Signed-off-by: Bogdan Drutu <[email protected]>
Can we reconsider this change? This is a huge regression for usability. The fact that github.com/soheilhy/cmux does not support mTLS on a shared port does not sound like a convincing reason to require multiple configurations for gRPC vs HTTP receivers. |
…1223) Signed-off-by: Bogdan Drutu <[email protected]>
* Bump lycheeverse/lychee-action from 1.1.1 to 1.2.1 Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.1.1 to 1.2.1. - [Release notes](https://github.com/lycheeverse/lychee-action/releases) - [Commits](lycheeverse/lychee-action@v1.1.1...v1.2.1) --- updated-dependencies: - dependency-name: lycheeverse/lychee-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update globs Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jcheng-splunk <[email protected]>
Description: <Describe what has changed.
The
github.com/soheilhy/cmux
does not support mTLS, so we have to split the protocols and avoid using anymux
to allow support for mTLS.Temporary remove the support for
unix
sockets, will be added back soon with a change to grpc server settings to support transport.