Skip to Content
OperationsLogging & Tracing

Logging & Tracing

Debugging and audit trail capabilities.

Logging

Log Levels

  • ERROR - Failures requiring attention
  • WARN - Potential issues
  • INFO - Significant events
  • DEBUG - Detailed debugging (dev only)

Log Structure

Structured JSON logs with:

  • Timestamp
  • Level
  • Component
  • Message
  • Context (tenant, device, etc.)

Log Aggregation

Centralized logging via:

  • Elasticsearch/OpenSearch
  • Cloud logging services
  • Custom destinations

Distributed Tracing

Trace Context

Request tracing across components:

  • Trace ID for request correlation
  • Span ID for component tracking
  • Parent-child relationships

Trace Analysis

Understand request flow:

  • End-to-end latency
  • Component breakdown
  • Error location
  • Bottleneck identification

Integration

OpenTelemetry compatible:

  • Jaeger
  • Zipkin
  • Cloud tracing services

Debugging

Request Replay

Replay failed requests for debugging.

Debug Mode

Temporary verbose logging per device/tenant.

Full-text search across logs.

Last updated on