aws_ex_ray v0.1.16 AwsExRay.Config

Config Accessor Module

Configuration

config :aws_ex_ray,
  sampling_rate: 0.1,
  default_annotation: %{foo: "bar"},
  default_metadata: %{bar: "buz"}
keydefaultdescription
sampling_rate0.1set number between 0.0 - 1.0. recommended that set 0.0 for 'test' environment
default_annotation%{}annotation parameters automatically put into segment/subsegment
default_metadata%{}metadata parameters automatically put into segment/subsegment
daemon_address127.0.0.1your xray daemon's IP address. typically, you don't need to customize this.
daemon_port2000your xray daemon's port. typically, you don't need to customize this.
default_client_pool_size10number of UDP client which connects to xray daemon
default_client_pool_overflow100overflow capacity size of UDP client
default_store_monitor_pool_size10number of tracing-process-monitor

Link to this section Summary

Link to this section Functions

Link to this function

client_module()
client_module() :: module()

Link to this function

client_pool_overflow()
client_pool_overflow() :: non_neg_integer()

Link to this function

client_pool_size()
client_pool_size() :: non_neg_integer()

Link to this function

daemon_address()
daemon_address() :: :inet.ip_address()

Link to this function

daemon_port()
daemon_port() :: non_neg_integer()

Link to this function

default_annotation()
default_annotation() :: map()

Link to this function

default_metadata()
default_metadata() :: map()

Link to this function

get(key, default)
get(atom(), any()) :: any()

Link to this function

library_name()
library_name() :: String.t()

Link to this function

library_version()
library_version() :: String.t()

Link to this function

sampling_rate()
sampling_rate() :: float()

Link to this function

sandbox_sink_module()
sandbox_sink_module() :: module()

Link to this function

service_version()
service_version() :: String.t()

Link to this function

store_monitor_pool_size()
store_monitor_pool_size() :: non_neg_integer()