-
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
Passthrough CORS allowed origins #260
Conversation
Codecov Report
@@ Coverage Diff @@
## master #260 +/- ##
=========================================
- Coverage 73.13% 73.1% -0.03%
=========================================
Files 110 110
Lines 6383 6385 +2
=========================================
Hits 4668 4668
- Misses 1476 1477 +1
- Partials 239 240 +1
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.
Thanks for the PR @backjo!
Could you please add a test to config_test.go for the opencensusreceiver checking this value?
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.
Thanks @backjo ! LGTM.
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.
Two small things looks great and thank you for addressing the issue!
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 pending @ccaraman's comments.
@@ -68,9 +68,6 @@ The full list of settings exposed for this receiver are documented [here](https: | |||
with detailed sample configurations [here](https://github.com/open-telemetry/opentelemetry-service/blob/master/receiver/opencensusreceiver/testdata/config.yaml). | |||
|
|||
### Writing with HTTP/JSON | |||
// TODO(ccaraman) The cors setting wasn't ported accidentally. In a follow up |
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 next line is a bit outdated, like referring to OpenCensus. Could you reword it to mention Otel and make it clearer that the receiver handles both HTTP and 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.
A bit unclear here - is calling it the OpenCensus receiver incorrect? My understanding was that it's still being referred to as the OpenCensus receiver inside of Otel
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.
🤦♀ apologies my coffee is fading and rereading it a few more times I see that I was thinking about it in the wrong context.
Ignore this comment!
Thanks @backjo ! |
Addresses #243