aws_ex_ray v0.1.16 AwsExRay.Segment
This module provides data structure which represents X-Ray's segment
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this function
add_annotation(seg, key, value)
Link to this function
add_annotations(seg, annotations)
Link to this function
finish(seg)
Link to this function
finished?(seg)
Link to this function
generate_trace_value(seg)
Link to this function
new(trace, name)
new(trace, name)
new(trace :: AwsExRay.Trace.t(), name :: String.t()) :: t()
new(trace :: AwsExRay.Trace.t(), name :: String.t()) :: t()
Link to this function
sampled?(seg)
Link to this function
set_error(seg, error)
set_error(seg, error)
set_error(seg :: t(), error :: AwsExRay.Record.Error.t()) :: t()
set_error(seg :: t(), error :: AwsExRay.Record.Error.t()) :: t()
Link to this function
set_http_request(seg, req)
set_http_request(seg, req)
set_http_request(seg :: t(), req :: AwsExRay.Record.HTTPRequest.t()) ::
t()
set_http_request(seg :: t(), res :: AwsExRay.Record.HTTPResponse.t()) ::
t()
set_http_request(seg :: t(), req :: AwsExRay.Record.HTTPRequest.t()) :: t()
set_http_request(seg :: t(), res :: AwsExRay.Record.HTTPResponse.t()) :: t()
Link to this function
set_http_response(seg, res)
Link to this function