io.opentelemetry.api.trace.package-info Maven / Gradle / Ivy
Show all versions of polaris-all Show documentation
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
/**
* API for distributed tracing.
*
* Distributed tracing, also called distributed request tracing, is a technique that helps
* debugging distributed applications.
*
*
Trace represents a tree of spans. A trace has a root span that encapsulates all the spans from
* start to end, and the children spans being the distinct calls invoked in between.
*
*
{@link io.opentelemetry.api.trace.Span} represents a single operation within a trace.
*
*
{@link io.opentelemetry.api.trace.Span Spans} are propagated in-process in the {@link
* io.opentelemetry.context.Context} and between process using one of the wire propagation formats
* supported in the {@code opentelemetry.trace.propagation} package.
*/
// TODO: Add code examples.
@ParametersAreNonnullByDefault
package io.opentelemetry.api.trace;
import javax.annotation.ParametersAreNonnullByDefault;