This is the module providing the OpenTelemetry protocol for exporting traces. It can be configured through its application environment, the OS environment or directly through a map of options passed when setting up the exporter in the batch processor.
opentelemetry_exporter
application enevironment options are:
* otlp_endpoint
: The URL to send traces and metrics to, for traces the
path v1/traces
is appended to the path in the URL.
* otlp_traces_endpoint
: URL to send only traces to. This takes precedence
for exporting traces and the path of the URL is kept as is, no suffix is
appended.
* otlp_headers
: Additional headers to add to export requests.
* otlp_traces_headers
: Additional headers to add to only trace export requests.
There also corresponding OS environment variables can also set those configuration values:
*OTEL_EXPORTER_OTLP_ENDPOINT
* OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
* OTEL_EXPORTER_OTLP_HEADERS
* OTEL_EXPORTER_OTLP_TRACES_HEADERS
endpoints/1 | |
export/3 | |
init/1 | |
merge_with_environment/1 | |
shutdown/1 | |
to_proto/1 | |
to_proto_by_instrumentation_library/1 |
endpoints(List) -> any()
export(Tab, Resource, State) -> any()
init(Opts0) -> any()
merge_with_environment(Opts) -> any()
shutdown(State) -> any()
to_proto(Span) -> any()
to_proto_by_instrumentation_library(Tab) -> any()
Generated by EDoc