Skip to content

Module hb_tracer.erl

A module for tracing the flow of requests through the system.

Description

This allows for tracking the lifecycle of a request from HTTP receipt through processing and response.

Function Index

checkmark_emoji/0*
failure_emoji/0*
format_error_trace/1Format a trace for error in a user-friendly emoji oriented output.
get_trace/1Exports the complete queue of events.
record_step/2Register a new step into a tracer.
stage_to_emoji/1*
start_trace/0Start a new tracer acting as queue of events registered.
trace_loop/1*

Function Details

checkmark_emoji/0 *

checkmark_emoji() -> any()

failure_emoji/0 *

failure_emoji() -> any()

format_error_trace/1

format_error_trace(Trace) -> any()

Format a trace for error in a user-friendly emoji oriented output

get_trace/1

get_trace(TracePID) -> any()

Exports the complete queue of events

record_step/2

record_step(TracePID, Step) -> any()

Register a new step into a tracer

stage_to_emoji/1 *

stage_to_emoji(Stage) -> any()

start_trace/0

start_trace() -> any()

Start a new tracer acting as queue of events registered.

trace_loop/1 *

trace_loop(Trace) -> any()