-
Notifications
You must be signed in to change notification settings - Fork 773
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
Fix the default endpoint for OTLP exporter when using http/protobuf protocol #2868
Fix the default endpoint for OTLP exporter when using http/protobuf protocol #2868
Conversation
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
caa0da7
to
2de961a
Compare
2de961a
to
d46cf5c
Compare
5705723
to
9cf5244
Compare
9cf5244
to
a003656
Compare
a003656
to
2edca30
Compare
5c7bc1d
to
2f9beb3
Compare
src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## main #2868 +/- ##
==========================================
+ Coverage 84.22% 84.23% +0.01%
==========================================
Files 251 251
Lines 8883 8889 +6
==========================================
+ Hits 7482 7488 +6
Misses 1401 1401
|
@CodeBlanch, I see that Compatibility API check is failing
As I understand the issue is related to Microsoft.DotNet.ApiCompat tool. |
No idea. It seems like an issue because we are going from an auto-property to one with implementation. Try updating this version:
To Maybe we will get lucky and it is an issue that has already been fixed. @cijothomas Might need some help on this. |
src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs
Outdated
Show resolved
Hide resolved
@Kielek For the APICompat issue, could you please run the below command locally at the root of the repo?
This should create a file named |
in OpenTelemetry.Exporter.OpenTelemetryProtocol
@utpilla do you consider this as a workaround or good solution? In my opinion the changes should not be detected as breaking change. File commited. |
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.
This looks more readable and maintainable 👍
src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs
Outdated
Show resolved
Hide resolved
…ptions.cs Co-authored-by: Robert Pająk <[email protected]>
This reverts commit cbfa617.
This is the defined way of suppressing any error if you feel that you want to ignore it. I'm not sure if this should be detected as a breaking change or not. I'll provide the feedback to the ApiCompat team about this. |
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. Thanks, @Kielek!
Merging now, as this should be part of the 1.2 stable. Has enough approvals. and waited 2+days. |
Fixes #2857.
Changes
Default endpoint for OTLP exporter based on chosen protocol.
For significant contributions please make sure you have completed the following items:
CHANGELOG.md
updated for non-trivial changes* [ ] Design discussion issue #* [ ] Changes in public API reviewed