otel_exporter_otlp (opentelemetry_exporter v1.9.0)
View SourceA module of functionality shared between OTLP exporters for the various signals.
Summary
Functions
Export OTLP protocol telemery data to the configured endpoints.
Initialize the exporter based on the provided configuration.
Types
-type compression() :: gzip.
-type endpoint() :: uri_string:uri_string() | uri_string:uri_map().
-type endpoint_map() :: #{scheme := unicode:chardata(), host := unicode:chardata(), path => unicode:chardata(), port => integer(), ssl_options => []}.
-type headers() :: [{unicode:chardata(), unicode:chardata()}].
-type protocol() :: grpc | http_protobuf | http_json.
-type state() :: #{channel := term() | undefined, httpc_profile := atom() | undefined, protocol := protocol(), channel_pid := pid() | undefined, headers := headers(), compression := compression() | undefined, grpc_metadata := map() | undefined, endpoints := [endpoint_map()]}.
Functions
-spec endpoints([endpoint()], list() | undefined) -> [endpoint_map()].
Export OTLP protocol telemery data to the configured endpoints.
Initialize the exporter based on the provided configuration.