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

Update the data type of OtlpExporter option Endpoint to string #1786

Conversation

utpilla
Copy link
Contributor

@utpilla utpilla commented Feb 4, 2021

Partially Fixes #1778

Changes

  • Updated the data type of the configuration option Endpoint to string for netstandard 2.1
  • CHANGELOG.md updated for non-trivial changes
  • Changes in public API reviewed

@utpilla utpilla requested a review from a team as a code owner February 4, 2021 02:23
@codecov
Copy link

codecov bot commented Feb 4, 2021

Codecov Report

Merging #1786 (94fbffb) into main (e0bcc80) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1786   +/-   ##
=======================================
  Coverage   83.89%   83.89%           
=======================================
  Files         187      187           
  Lines        5956     5956           
=======================================
  Hits         4997     4997           
  Misses        959      959           
Impacted Files Coverage Δ
...orter.OpenTelemetryProtocol/OtlpExporterOptions.cs 100.00% <100.00%> (ø)

@@ -32,9 +32,9 @@ public class OtlpExporterOptions
#if NETSTANDARD2_1
/// <summary>
/// Gets or sets the target to which the exporter is going to send traces or metrics.
/// The valid syntax is described at https://github.com/grpc/grpc/blob/master/doc/naming.md.
/// The valid syntax is described at https://github.com/grpc/grpc/blob/master/doc/naming.md. The endpoint value should start with http or https.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link to valid syntax is not really applicable for NET2_1, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that is correct. That naming is for gRPC Core only I think.

@utpilla
Copy link
Contributor Author

utpilla commented Feb 5, 2021

Closing this PR as this was fixed in #1789

@utpilla utpilla closed this Feb 5, 2021
@utpilla utpilla deleted the utpilla/Update-OtlpExporter-Endpoint-option branch February 10, 2021 00:36
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.

[Spec Compliance] OTLP Exporter Configuration Options
3 participants