opentelemetry-java icon indicating copy to clipboard operation
opentelemetry-java copied to clipboard

add declarative config for log throttling

Open the-clam opened this issue 1 month ago • 1 comments

draft changes for https://github.com/open-telemetry/opentelemetry-java/issues/7178; just tagging for reference as the changes incomplete

the-clam avatar Nov 12 '25 14:11 the-clam

Codecov Report

:x: Patch coverage is 42.00000% with 58 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 89.97%. Comparing base (c67641c) to head (8509675). :warning: Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...lp/http/logs/OtlpHttpLogRecordExporterBuilder.java 0.00% 7 Missing :warning:
...lp/http/metrics/OtlpHttpMetricExporterBuilder.java 0.00% 7 Missing :warning:
...r/otlp/http/trace/OtlpHttpSpanExporterBuilder.java 0.00% 7 Missing :warning:
...er/otlp/logs/OtlpGrpcLogRecordExporterBuilder.java 0.00% 7 Missing :warning:
...er/otlp/metrics/OtlpGrpcMetricExporterBuilder.java 0.00% 7 Missing :warning:
...porter/otlp/trace/OtlpGrpcSpanExporterBuilder.java 0.00% 7 Missing :warning:
...orter/otlp/internal/OtlpDeclarativeConfigUtil.java 33.33% 4 Missing and 2 partials :warning:
...ry/exporter/internal/grpc/GrpcExporterBuilder.java 58.33% 5 Missing :warning:
...ry/exporter/internal/http/HttpExporterBuilder.java 54.54% 5 Missing :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7838      +/-   ##
============================================
- Coverage     90.11%   89.97%   -0.15%     
- Complexity     7224     7232       +8     
============================================
  Files           821      821              
  Lines         21809    21906      +97     
  Branches       2136     2144       +8     
============================================
+ Hits          19654    19709      +55     
- Misses         1486     1526      +40     
- Partials        669      671       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Nov 12 '25 14:11 codecov[bot]