API Reference opentelemetry v1.4.0
modules
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.
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.
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 is not sampled (by default always_off); 5) no parent (by default always_on).
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.