New Relixir v0.4.3 NewRelixir.Transaction View Source

Records information about an instrumented web transaction.

Link to this section Summary

Functions

Records a database query made in a web transaction

Send an error to New Relic

Records an external HTTP call made in a web transaction

Records the total time of a web transaction

Link to this section Functions

Link to this function record_db(transaction, query, elapsed_time) View Source
record_db(transaction :: binary(), query :: binary(), elapsed_time :: integer()) :: :ok

Records a database query made in a web transaction.

Link to this function record_error(transaction, arg) View Source
record_error(transaction :: binary(), error :: {binary(), binary() | Exception.t()}) :: :ok

Send an error to New Relic

Link to this function record_external(transaction, host, elapsed_time) View Source
record_external(transaction :: binary(), host :: binary(), elapsed_time :: integer()) :: :ok

Records an external HTTP call made in a web transaction.

Link to this function record_web(transaction, elapsed_time) View Source
record_web(transaction :: binary(), elapsed_time :: integer()) :: :ok

Records the total time of a web transaction.