View Source API Reference opentelemetry v1.5.0
Modules
The Batch Span Processor implements the otel_span_processor
behaviour.
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.
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.