API Reference opentelemetry v1.0.0-rc.3

Modules

This module has the behaviour that each exporter must implement and creates the buffer of trace spans to be exported.

Merges environment variable configuration values with application configuration. The OS environment variables take precedence over the application environment.
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.

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.

A sampler is a function run on each started span that returns whether to record and propagate, only record or not record the span.
This sampler always decides to neither record nor sample each span.
This sampler always decides to record and sample each span.

This sampler makes the decision based on the parent, with the following possibilities: 1) a remote parent that is sampled (by default always_on); 2) a remote parent that is not sampled (by default always_off); 3) a local parent that is sampled (by default always_on); 4) a local parent that isnot sampled (by default always_on); 5) no parent (by default always_on).

This sampler samples a configured percentage of spans, where the sampling decision is deterministic with respect to the span trace id, i.e., it always makes the same decision for the same trace id.
ETS backed interface for working with spans.
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.
Functional interface for span_ctx and span records.