phx_ex_ray v0.1.0 PhxExRay.Tracing.Phx

A set of convenience function to deal with Phoenix

Link to this section Summary

Functions

Extract the action nane from a Phoenix controller

Retrieves the Phoenix controller name

Extract the unique request ID from a connection. This ID will be used to uniquely identify the span chain

Name the span after the current action

Link to this section Functions

Link to this function action_name(conn)
action_name(Plug.Conn.t()) :: String.t()

Extract the action nane from a Phoenix controller

Link to this function controller_name(conn)
controller_name(Plug.Conn.t()) :: String.t()

Retrieves the Phoenix controller name

Link to this function request_id(conn)
request_id(Plug.Conn.t()) :: number()

Extract the unique request ID from a connection. This ID will be used to uniquely identify the span chain

Link to this function span_name(conn)
span_name(Plug.Conn.t()) :: String.t()

Name the span after the current action