View Source API Reference opentelemetry v1.5.0

Modules

The Batch Span Processor implements the otel_span_processor behaviour.

A test exporter for sending trace spans to an Erlang PID as message.
Exporter that prints spans to stdout.
A test reporter that keeps finished spans in an ETS table.
This module provides the behaviour to implement for custom trace and span id generation and the default implementation of the generators which produces random 128 bit and 64 bit integers for the trace id and span id.

A Resource is attributes representing the entity producing telemetry. For example, by default the language (Erlang), name of this library (opentelemetry), and version of this library are included in the Resource.

Resource detector (otel_resource_detector) which adds attributes to the Resource based on the value of resource in the opentelemetry application's environment.

Resource detectors are responsible for reading in attributes about the runtime environment of a node (such as an environment variable or some metadata endpoint provided by a cloud host) and returning a otel_resource:t() made from those attributes.

Resource detector (otel_resource_detector) which adds attributes to the Resource based on environment variables.

Behaviour for defining samplers.

An otel_sampler that drops all spans.

An otel_sampler that records and samples all spans.

An otel_sampler that makes the decision based on the parent.

An otel_sampler that samples a configured percentage of spans.

This Span Processor synchronously exports each ended Span.

ETS backed interface for working with spans.
Module for setting the global limits for the number of attributes, events and links on a Span.
Behaviour each Span Processor must implement.
The span sweeper is a process that can be configured to remove, either by finishing or deleting, spans that are still active after a period of time.
This module is the SDK's implementation of the TracerProvider. The calls to the server are done from the API module otel_tracer_provider. This gen_server is started as part of the SDK's supervision tree and registers itself as the default TracerProvider by using the name otel_tracer_provider as its name.