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

Add autoconfigure console alias for logging exporter

Open jack-berg opened this issue 1 year ago • 1 comments

The spec recently merged a series of PRs which officially defines the "stdout" exporters, and defines the corresponding OTEL_{SIGNAL}_EXPORTERS value to be console:

  • https://github.com/open-telemetry/opentelemetry-specification/pull/3741
  • https://github.com/open-telemetry/opentelemetry-specification/pull/3740
  • https://github.com/open-telemetry/opentelemetry-specification/pull/3742

This PR reflects those changes by adding support for the console value, which is simply an alias for logging.

jack-berg avatar Nov 29 '23 15:11 jack-berg

Codecov Report

Attention: Patch coverage is 96.77419% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 91.05%. Comparing base (62a4810) to head (62c57f9).

Files Patch % Lines
...ogging/internal/ConsoleMetricExporterProvider.java 66.66% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6027      +/-   ##
============================================
- Coverage     91.06%   91.05%   -0.01%     
- Complexity     5699     5711      +12     
============================================
  Files           621      624       +3     
  Lines         16679    16699      +20     
  Branches       1709     1711       +2     
============================================
+ Hits          15188    15206      +18     
- Misses          998      999       +1     
- Partials        493      494       +1     

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

codecov[bot] avatar Nov 29 '23 15:11 codecov[bot]