All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opentelemetry.sdk.trace.export.package-info Maven / Gradle / Ivy

There is a newer version: 1.45.0
Show newest version
/*
 * 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.
 *
 * 

Contents

* *
    *
  • {@link io.opentelemetry.sdk.trace.export.SpanExporter} *
  • {@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor} *
  • {@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor} *
  • {@link io.opentelemetry.sdk.trace.export.MultiSpanExporter} *
* *

Default values for {@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor}

* *
    *
  • {@code REPORT_ONLY_SAMPLED: true} * *
* *

Configuration options for {@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor} can be * read from system properties, environment variables, or {@link java.util.Properties} objects. * *

For system properties and {@link java.util.Properties} objects, {@link * io.opentelemetry.sdk.trace.export.SimpleSpanProcessor} will look for the following names: * *

    *
  • {@code otel.ssp.export.sampled}: sets whether only sampled spans should be exported. *
* *

For environment variables, {@link io.opentelemetry.sdk.trace.export.SimpleSpanProcessor} will * look for the following names: * *

    *
  • {@code OTEL_SSP_EXPORT_SAMPLED}: sets whether only sampled spans should be exported. *
* *

Default values for {@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor}

* *
    *
  • {@code SCHEDULE_DELAY_MILLIS: 5000} *
  • {@code MAX_QUEUE_SIZE: 2048} *
  • {@code MAX_EXPORT_BATCH_SIZE: 512} *
  • {@code EXPORT_TIMEOUT_MILLIS: 30_000} *
  • {@code REPORT_ONLY_SAMPLED: true} *
* *

Configuration options for {@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor} can be * read from system properties, environment variables, or {@link java.util.Properties} objects. * *

For system properties and {@link java.util.Properties} objects, {@link * io.opentelemetry.sdk.trace.export.BatchSpanProcessor} will look for the following names: * *

    *
  • {@code otel.bsp.schedule.delay.millis}: sets the delay interval between two consecutive * exports. *
  • {@code otel.bsp.max.queue.size}: sets the maximum queue size. *
  • {@code otel.bsp.max.export.batch.size}: sets the maximum batch size. *
  • {@code otel.bsp.export.timeout.millis}: sets the maximum allowed time to export data. *
  • {@code otel.bsp.export.sampled}: sets whether only sampled spans should be exported. *
* *

For environment variables, {@link io.opentelemetry.sdk.trace.export.BatchSpanProcessor} will * look for the following names: * *

    *
  • {@code OTEL_BSP_SCHEDULE_DELAY_MILLIS}: sets the delay interval between two consecutive * exports. *
  • {@code OTEL_BSP_MAX_QUEUE_SIZE}: sets the maximum queue size. *
  • {@code OTEL_BSP_MAX_EXPORT_BATCH_SIZE}: sets the maximum batch size. *
  • {@code OTEL_BSP_EXPORT_TIMEOUT_MILLIS}: sets the maximum allowed time to export data. *
  • {@code OTEL_BSP_EXPORT_SAMPLED}: sets whether only sampled spans should be exported. *
*/ @ParametersAreNonnullByDefault package io.opentelemetry.sdk.trace.export; import javax.annotation.ParametersAreNonnullByDefault;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy