Add package-info.java to all packages and ParamatersAreNonNullByDefault. (#1772)
This commit is contained in:
parent
41bd0ab28a
commit
78fd4d1c8f
|
|
@ -17,4 +17,7 @@
|
|||
* io.opentelemetry.context.Context}, such as trace ID.
|
||||
*/
|
||||
// TODO: Add code examples.
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.baggage;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -9,4 +9,7 @@
|
|||
* <p>All the content under this package and its subpackages are considered not part of the public
|
||||
* API, and should not be used by users of the OpenTelemetry library.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.internal;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -4,4 +4,7 @@
|
|||
*/
|
||||
|
||||
/** This package describes the Metrics API that can be used to record application Metrics. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.metrics;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* The OpenTelemetry API.
|
||||
*
|
||||
* <p>Individual features of OpenTelemetry, such as tracing and metrics, can be accessed through
|
||||
* methods on {@link io.opentelemetry.OpenTelemetry}.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -19,4 +19,7 @@
|
|||
* supported in the {@code opentelemetry.trace.propagation} package.
|
||||
*/
|
||||
// TODO: Add code examples.
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.trace;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* A context propagation mechanism which can carry scoped-values across API boundaries and between
|
||||
* threads.
|
||||
*
|
||||
* @see io.opentelemetry.context.Context
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.context;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Utilities for working with context propagation. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.context;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Interfaces for defining {@link io.opentelemetry.context.propagation.ContextPropagators} for
|
||||
* allowing context propagation across process boundaries, for example when sending context to a
|
||||
* remote server.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.context.propagation;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -13,4 +13,7 @@
|
|||
* useless without some kind of annotation processing, such as bytecode manipulation during runtime.
|
||||
* You cannot guarantee that users of your library will use that in their production system.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.extensions.auto.annotations;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Metric collection for the JVM runtime. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.extensions.metrics.runtime;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implementations of {@link io.opentelemetry.context.propagation.TextMapPropagator} for various
|
||||
* formats that are commonly used in distributed tracing.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.extensions.trace.propagation;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Experimental utilities for working with tracing APIs. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.extensions.trace;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* An OpenTracing implementation that delegates to the OpenTelemetry SDK. Use {@link
|
||||
* io.opentelemetry.opentracingshim.TraceShim} to create tracers using this implementation.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.opentracingshim;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* The OpenTelemetry SDK.
|
||||
*
|
||||
* @see io.opentelemetry.sdk.OpenTelemetrySdk
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* The SDK implementation of baggage.
|
||||
*
|
||||
* @see io.opentelemetry.sdk.baggage.BaggageManagerSdk
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.baggage;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** The SPI implementation which provides the SDK implementation of baggage. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.baggage.spi;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Common utilities used by SDK exporters. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.common.export;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Common utilities used by all SDK components. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.common;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Classes for internal use. Anything in this package can be changed or removed at any time. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.internal;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -33,4 +33,7 @@
|
|||
* should be disabled.
|
||||
* </ul>
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.resources;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Metric aggregators. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.metrics.aggregator;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Common utilities used by metrics. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.metrics.common;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** The data format to model metrics for export. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.metrics.data;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -31,4 +31,7 @@
|
|||
* <li>{@code OTEL_IMR_EXPORT_INTERVAL}: sets the export interval between pushes to the exporter.
|
||||
* </ul>
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.metrics.export;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* The SDK implementation of metrics.
|
||||
*
|
||||
* @see io.opentelemetry.sdk.metrics.MeterSdkProvider
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.metrics;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** The SPI implementation which provides the SDK implementation of metrics. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.metrics.spi;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Metric views. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.metrics.view;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -62,4 +62,7 @@
|
|||
* link.
|
||||
* </ul>
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.trace.config;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** The data format to model traces for export. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.trace.data;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -76,4 +76,7 @@
|
|||
* <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;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* The OpenTelemetry SDK implementation of tracing.
|
||||
*
|
||||
* @see io.opentelemetry.sdk.trace.TracerSdkProvider
|
||||
*/
|
||||
package io.opentelemetry.sdk.trace;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** The SPI implementation which provides the SDK implementation of tracing. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.trace.spi;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* An exporter that uses the <a href="https://lmax-exchange.github.io/disruptor/">LMAX Disruptor</a>
|
||||
* for processing exported spans.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.trace.export;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -4,4 +4,7 @@
|
|||
*/
|
||||
|
||||
/** Provides implementations of SDK interfaces which integrate natively with AWS infrastructure. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.trace.aws;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* {@link io.opentelemetry.sdk.resources.ResourceProvider} implementations for inferring resource
|
||||
* information for AWS services.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.trace.aws.resource;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Support for the Jaeger remote sampler. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.trace.jaeger.sampler;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** The data format to model logs for export. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.logging.data;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Log exporters. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.logging.export;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* The OpenTelemetry SDK implementation of logging.
|
||||
*
|
||||
* @see io.opentelemetry.sdk.logging.LogSinkSdkProvider
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.logging;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Utilities for working with the OTLP format for traces. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.otproto;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* {@link io.opentelemetry.sdk.resources.ResourceProvider} implementations for common resource
|
||||
* information.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.resources;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Experimental utilities for working with exported trace data. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.incubator.trace.data;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* The ZPages endpoint for providing debug information about an app instrumented with OpenTelemetry.
|
||||
*/
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.extensions.zpages;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
* Copyright The OpenTelemetry Authors
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/** Testing utilities for OpenTelemetry for internal use. */
|
||||
@ParametersAreNonnullByDefault
|
||||
package io.opentelemetry.sdk.trace;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
Loading…
Reference in New Issue