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 otel.exporter.otlp.protocol default value #6444

Merged
merged 2 commits into from
May 11, 2024

Conversation

crossoverJie
Copy link
Contributor

No description provided.

@crossoverJie crossoverJie requested a review from a team as a code owner May 10, 2024 07:30
Copy link

codecov bot commented May 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.92%. Comparing base (a855e12) to head (e979583).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #6444   +/-   ##
=========================================
  Coverage     90.92%   90.92%           
  Complexity     6169     6169           
=========================================
  Files           678      678           
  Lines         18484    18484           
  Branches       1813     1813           
=========================================
  Hits          16806    16806           
  Misses         1145     1145           
  Partials        533      533           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

| otel.exporter.otlp.traces.protocol | OTEL_EXPORTER_OTLP_TRACES_PROTOCOL | The transport protocol to use on OTLP trace requests. Options include `grpc` and `http/protobuf`. Default is `grpc`. |
| otel.exporter.otlp.metrics.protocol | OTEL_EXPORTER_OTLP_METRICS_PROTOCOL | The transport protocol to use on OTLP metric requests. Options include `grpc` and `http/protobuf`. Default is `grpc`. |
| otel.exporter.otlp.logs.protocol | OTEL_EXPORTER_OTLP_LOGS_PROTOCOL | The transport protocol to use on OTLP log requests. Options include `grpc` and `http/protobuf`. Default is `grpc`. |
| otel.exporter.otlp.protocol | OTEL_EXPORTER_OTLP_PROTOCOL | The transport protocol to use on OTLP trace, metric, and log requests. Options include `grpc` and `http/protobuf`. Versions 2.0+ of the Java agent use `http/protobuf` as the default protocol, not `grpc`. |
Copy link
Contributor

Choose a reason for hiding this comment

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

In this project the default protocol is grpc. Perhaps we could use a footnote for this? I'd keep the existing text and add **[1]** and after the table add **[1]**: NOTE: OpenTelemetry Java Agent 2.x uses `http/protobuf` by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good advice, done.

@jkwatson jkwatson merged commit 9543a34 into open-telemetry:main May 11, 2024
18 checks passed
@crossoverJie crossoverJie deleted the patch-1 branch May 11, 2024 01:46
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.

None yet

4 participants