aws_ex_ray v0.1.16 API Reference

Modules

Preparation

Setup your AWS environment.

Application module which starts aws_ex_ray's root supervisor

This module is a facade interface to send report-data to xray-daemons running on your localhost.

Real client requires IO, so to enable mocking on test environment, provides a interface and swithable modules.

This is a UDP client module which reports TRACE information to xray-daemon running on localhost.

Supervise some UDP client (GenServer) for xray-daemon with poolboy. You con configure the number of pool-size and overflow. See also AwsExRay.Config.

Config Accessor Module

This module provides some utility functions for HTTP client

Segments in multiple processes

Following example doesn't work. start_subsegment returns always {:error, :out_of_xray}. Because the subsegment is not on the process which start tracing.

This module provides a data structure which represents error report.

This module provides a data structure which represents error.cause report.

This module provides a data structure which represents http.request report.

This module provides a data structure which represents http.response report.

This module provides a data structure which represents sql report.

This module provides data structure which represents X-Ray's segment

This module provides a formatter functions for segment record

This module provides a function which gathers stacktrace and format them for error.cause report.

This module supervise monitor servers with poolboy. You con configure the number of pool-size. See also AwsExRay.Config.

This GenServer monitors processes which is on context of xray-tracing. When a process dies, automatically delete information related to the process from ETS table.

This module provies functions to handle ETS table which contains process-and-segment mapping information.

This module provides data structure which represents X-Ray's subsegment

This module provides a formatter functions for subsegment record

This module provides data structure which represents X-Ray's trace

This module provides parser and formatter functions for X-Ray Trace information

This module provides some utility functions