Skip to main content

Crate tempo_telemetry_util

Crate tempo_telemetry_util 

Source
Expand description

Utilities to make working with tracing and telemetry easier.

Modules§

private 🔒

Structs§

DisplayDuration
DisplayOption
DisplayResult

Functions§

display_duration
Formats a std::time::Duration using the std::fmt::Display.
display_option
Formats an Option using std::fmt::Display, showing either the value or <not set>.
display_result
Formats a Result using std::fmt::Display, showing either the value or the full error chain.
error_field
Emit an error as a tracing event with its full source chain intact.