-
Notifications
You must be signed in to change notification settings - Fork 831
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
Add Compressor SPI support to OtlpGrpc{Signal}Exporters #6103
Add Compressor SPI support to OtlpGrpc{Signal}Exporters #6103
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6103 +/- ##
============================================
+ Coverage 90.98% 91.04% +0.05%
+ Complexity 5672 5669 -3
============================================
Files 620 620
Lines 16535 16553 +18
Branches 1682 1689 +7
============================================
+ Hits 15045 15071 +26
+ Misses 1013 994 -19
- Partials 477 488 +11 ☔ View full report in Codecov by Sentry. |
@open-telemetry/java-approvers PTAL when you can. This shouldn't be controversial. |
.../all/src/main/java/io/opentelemetry/exporter/otlp/logs/OtlpGrpcLogRecordExporterBuilder.java
Outdated
Show resolved
Hide resolved
.../all/src/main/java/io/opentelemetry/exporter/otlp/metrics/OtlpGrpcMetricExporterBuilder.java
Outdated
Show resolved
Hide resolved
@@ -703,6 +720,8 @@ void validConfig() { | |||
.doesNotThrowAnyException(); | |||
|
|||
assertThatCode(() -> exporterBuilder().setCompression("gzip")).doesNotThrowAnyException(); | |||
// SPI compressor available for this test but not packaged with OTLP exporter |
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.
👍🏻 good check
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.
Followup to #5990.
Resolves #5196.