Module tracing_utils

Source
Expand description

Comprehensive tracing utilities for the Rust Task Queue system

This module provides structured tracing utilities for observability, debugging, and production monitoring of task queue operations.

Structs§

PerformanceTracker
Simple performance tracker for measuring operation durations
QueuePerformanceMetrics
Queue performance metrics
TaskPerformanceMetrics
Performance metrics for task execution
WorkerPerformanceMetrics
Worker performance metrics

Enums§

TaskLifecycleEvent
Task lifecycle events for comprehensive observability

Functions§

trace_queue_operation
Trace queue operation with metrics
trace_task_error
Trace task error with detailed context and error chain
trace_task_lifecycle_event
Trace a task lifecycle event with structured logging
trace_worker_operation
Trace worker operation with context