aws_ex_ray v0.1.16 AwsExRay.Record.HTTPRequest

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

Link to this section Summary

Link to this section Types

Link to this type

segment_type()
segment_type() :: :segment | :subsegment

Link to this type

t()
t() :: %AwsExRay.Record.HTTPRequest{
  client_ip: String.t(),
  method: String.t() | atom(),
  segment_type: segment_type(),
  traced: boolean(),
  url: String.t(),
  user_agent: String.t(),
  x_forwarded_for: boolean()
}

Link to this section Functions

Link to this function

to_map(req)
to_map(%AwsExRay.Record.HTTPRequest{
  client_ip: term(),
  method: term(),
  segment_type: term(),
  traced: term(),
  url: term(),
  user_agent: term(),
  x_forwarded_for: term()
}) :: map()