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

[SDK] Add ForceFlush for all LogRecordExporters and SpanExporters. #2000

Merged
merged 9 commits into from
Mar 20, 2023

Commits on Mar 20, 2023

  1. + Add ForceFlush for all LogRecordExporters and SpanExporters.

    + Optimize `BatchSpanProcessor::ForceFlush` and `BatchLogRecordProcessor::ForceFlush`.
    + Optimize OTLP HTTP log example
    + Call `ForceFlush` to prevent cancel in OTLP examples.
    
    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    204d706 View commit details
    Browse the repository at this point in the history
  2. Fix typo, add default implementation for SpanExporter::ForceFlush a…

    …nd `LogRecordExporter::ForceFlush`.
    
    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    c1c3f03 View commit details
    Browse the repository at this point in the history
  3. Move constructor and destroctor of SpanExporter and `LogRecordExpor…

    …ter` into .cc files.
    
    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    767821d View commit details
    Browse the repository at this point in the history
  4. opentelemetry_exporter_jaeger_trace should depends //sdk/src/trace

    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    e994c3b View commit details
    Browse the repository at this point in the history
  5. opentelemetry_exporter_jaeger_trace should link opentelemetry_trace.

    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    721b8d8 View commit details
    Browse the repository at this point in the history
  6. opentelemetry_exporter_etw depends opentelemetry_trace and `opent…

    …elemetry_logs`
    
    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    597205c View commit details
    Browse the repository at this point in the history
  7. Call TracerContext::ForceFlush when force flush or shut a tracer, f…

    …ix the unit test in open-telemetry#1793 .
    
    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    c9f5d4c View commit details
    Browse the repository at this point in the history
  8. Merge and fix CHANGELOG.

    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    2f65085 View commit details
    Browse the repository at this point in the history
  9. Remove useless ForceFlush.

    Signed-off-by: owent <admin@owent.net>
    owent committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    8359014 View commit details
    Browse the repository at this point in the history