/*
 * Copyright The OpenTelemetry Authors
 * SPDX-License-Identifier: Apache-2.0
 */

/**
 * Utilities that allows different tracing services to export recorded data for sampled spans in
 * their own format.
 *
 * <h2>Contents</h2>
 *
 * <ul>
 *   <li>{@link io.opentelemetry.sdk.trace.export.SpanExporter}
 *   <li>{@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor}
 *   <li>{@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor}
 * </ul>
 *
 * <h2>Default values for {@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor}</h2>
 *
 * <ul>
 *   <li>{@code REPORT_ONLY_SAMPLED: true} *
 * </ul>
 *
 * <p>Configuration options for {@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor} can be
 * read from system properties, environment variables, or {@link java.util.Properties} objects.
 *
 * <p>For system properties and {@link java.util.Properties} objects, {@link
 * io.opentelemetry.sdk.trace.export.SimpleSpanProcessor} will look for the following names:
 *
 * <ul>
 *   <li>{@code otel.ssp.export.sampled}: sets whether only sampled spans should be exported.
 * </ul>
 *
 * <p>For environment variables, {@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor} will
 * look for the following names:
 *
 * <ul>
 *   <li>{@code OTEL_SSP_EXPORT_SAMPLED}: sets whether only sampled spans should be exported.
 * </ul>
 *
 * <h2>Default values for {@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor}</h2>
 *
 * <ul>
 *   <li>{@code SCHEDULE_DELAY_MILLIS: 5000}
 *   <li>{@code MAX_QUEUE_SIZE: 2048}
 *   <li>{@code MAX_EXPORT_BATCH_SIZE: 512}
 *   <li>{@code EXPORT_TIMEOUT_MILLIS: 30_000}
 *   <li>{@code REPORT_ONLY_SAMPLED: true}
 * </ul>
 *
 * <p>Configuration options for {@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor} can be
 * read from system properties, environment variables, or {@link java.util.Properties} objects.
 *
 * <p>For system properties and {@link java.util.Properties} objects, {@link
 * io.opentelemetry.sdk.trace.export.BatchSpanProcessor} will look for the following names:
 *
 * <ul>
 *   <li>{@code otel.bsp.schedule.delay.millis}: sets the delay interval between two consecutive
 *       exports.
 *   <li>{@code otel.bsp.max.queue.size}: sets the maximum queue size.
 *   <li>{@code otel.bsp.max.export.batch.size}: sets the maximum batch size.
 *   <li>{@code otel.bsp.export.timeout.millis}: sets the maximum allowed time to export data.
 *   <li>{@code otel.bsp.export.sampled}: sets whether only sampled spans should be exported.
 * </ul>
 *
 * <p>For environment variables, {@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor} will
 * look for the following names:
 *
 * <ul>
 *   <li>{@code OTEL_BSP_SCHEDULE_DELAY}: sets the delay interval between two consecutive exports.
 *   <li>{@code OTEL_BSP_MAX_QUEUE_SIZE}: sets the maximum queue size.
 *   <li>{@code OTEL_BSP_MAX_EXPORT_BATCH_SIZE}: sets the maximum batch size.
 *   <li>{@code OTEL_BSP_EXPORT_TIMEOUT}: sets the maximum allowed time to export data.
 *   <li>{@code OTEL_BSP_EXPORT_SAMPLED}: sets whether only sampled spans should be exported.
 * </ul>
 */
@ParametersAreNonnullByDefault
package io.opentelemetry.sdk.trace.export;

import javax.annotation.ParametersAreNonnullByDefault;

@@ -110,19 +110,8 @@
 llow
-s different
  tra
@@ -138,17 +138,8 @@
 ort 
-recorded 
 data
@@ -160,31 +160,65 @@
 pans
- 
+, as well as provid
 in
+g
 %0A * 
-their own format
+in-process span processing APIs
 .%0A *
@@ -462,43 +462,14 @@
 %0A * 
-%3C/ul%3E%0A *%0A * %3Ch2%3EDefault values for 
+  %3Cli%3E
 %7B@li
@@ -497,38 +497,37 @@
 dk.trace.export.
-Simple
+Batch
 SpanProcessor%7D%3C/
@@ -527,2577 +527,210 @@
 ssor
-%7D%3C/h2%3E%0A *%0A * %3Cul%3E%0A *   %3Cli%3E%7B@code REPORT_ONLY_SAMPLED: true%7D *%0A * %3C/ul%3E%0A *%0A * %3Cp%3EConfiguration options for %7B@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor%7D can be%0A * read from system properties, environment variables, or %7B@link java.util.Properties%7D objects.%0A *%0A * %3Cp%3EFor system properties and %7B@link java.util.Properties%7D objects, %7B@link%0A * io.opentelemetry.sdk.trace.export.SimpleSpanProcessor%7D will look for the following names:%0A *%0A * %3Cul%3E%0A *   %3Cli%3E%7B@code otel.ssp.export.sampled%7D: sets whether only sampled spans should be exported.%0A * %3C/ul%3E%0A *%0A * %3Cp%3EFor environment variables, %7B@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor%7D will%0A * look for the following names:%0A *%0A * %3Cul%3E%0A *   %3Cli%3E%7B@code OTEL_SSP_EXPORT_SAMPLED%7D: sets whether only sampled spans should be exported.%0A * %3C/ul%3E%0A *%0A * %3Ch2%3EDefault values for %7B@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor%7D%3C/h2%3E%0A *%0A * %3Cul%3E%0A *   %3Cli%3E%7B@code SCHEDULE_DELAY_MILLIS: 5000%7D%0A *   %3Cli%3E%7B@code MAX_QUEUE_SIZE: 2048%7D%0A *   %3Cli%3E%7B@code MAX_EXPORT_BATCH_SIZE: 512%7D%0A *   %3Cli%3E%7B@code EXPORT_TIMEOUT_MILLIS: 30_000%7D%0A *   %3Cli%3E%7B@code REPORT_ONLY_SAMPLED: true%7D%0A * %3C/ul%3E%0A *%0A * %3Cp%3EConfiguration option
+Builder%7D%0A * %3C/ul%3E%0A *%0A * %3Cp%3EConfiguration options for components in this package can be read from system propertie
 s 
-f
 or
- %7B@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor%7D can be%0A * read from system properties, environment variables, or %7B@link java.util.Properties%7D objects.%0A *%0A * %3Cp%3EFor system properties and %7B@link java.util.Properties%7D objects, %7B@link%0A * io.opentelemetry.sdk.trace.export.BatchSpanProcessor%7D will look for the following names:%0A *%0A * %3Cul%3E%0A *   %3Cli%3E%7B@code otel.bsp.schedule.delay.millis%7D: sets the delay interval between two consecutive%0A *       exports.%0A *   %3Cli%3E%7B@code otel.bsp.max.queue.size%7D: sets the maximum queue size.%0A *   %3Cli%3E%7B@code otel.bsp.max.export.batch.size%7D: sets the maximum batch size.%0A *   %3Cli%3E%7B@code otel.bsp.export.timeout.millis%7D: sets the maximum allowed time to export data.%0A *   %3Cli%3E%7B@code otel.bsp.export.sampled%7D: sets whether only sampled spans should be exported.%0A * %3C/ul%3E%0A *%0A * %3Cp%3EFor environment variables, %7B@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor%7D will%0A * look for the following names:%0A *%0A * %3Cul%3E%0A *   %3Cli%3E%7B@code OTEL_BSP_SCHEDULE_DELAY%7D: sets the delay interval between two consecutive exports.%0A *   %3Cli%3E%7B@code OTEL_BSP_MAX_QUEUE_SIZE%7D: sets the maximum queue size.%0A *   %3Cli%3E%7B@code OTEL_BSP_MAX_EXPORT_BATCH_SIZE%7D: sets the maximum batch size.%0A *   %3Cli%3E%7B@code OTEL_BSP_EXPORT_TIMEOUT%7D: sets the maximum allowed time to export data.%0A *   %3Cli%3E%7B@code OTEL_BSP_EXPORT_SAMPLED%7D: sets whether only sampled spans should be exported.%0A * %3C/ul%3E
+%0A * environment variables with the use of the opentelemetry-autoconfiguration module.
 %0A */

clean up the package-level docs for the sdk trace export package. (#3208)