View Source otel_exporter_otlp (opentelemetry_exporter v1.8.0)
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()].
Link to this function
export_grpc(GrpcCtx, GrpcServiceModule, Metadata, Request, Channel)
View Source
Link to this function
export_http(Address, Headers, Body, Compression, SSLOptions, HttpcProfile)
View Source
Link to this function