Module telemetry

Module telemetry 

Source

Functions§

init_from_env
Initialize tracing using LOG_FORMAT env var (“json” or “text”, default json).
init_with_format
Initialize global tracing subscriber with the given log format. Safe to call multiple times; only the first call installs a subscriber.
task_span
Create a span for a task with common fields as per the spec.