# Development Environment Configuration
# Copy this file: cp .envrc.example .envrc
# Then allow it: direnv allow
# === OpenTelemetry Tracing (Optional) ===
# Enable distributed tracing for development/debugging
# The application has ZERO runtime cost when this is not set
# Option 1: Local Jaeger (start with: just jaeger)
#export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
# Option 2: Honeycomb (production observability)
#export OTEL_EXPORTER_OTLP_ENDPOINT=https://api.honeycomb.io:443
#export OTEL_EXPORTER_OTLP_HEADERS="x-honeycomb-team=YOUR_API_KEY"
# Option 3: Custom OTLP endpoint
#export OTEL_EXPORTER_OTLP_ENDPOINT=https://your-collector:4317
#export OTEL_EXPORTER_OTLP_HEADERS="authorization=Bearer YOUR_TOKEN"
# Service identification (optional - auto-generated if not set)
#export OTEL_SERVICE_INSTANCE_ID=dev-$(hostname)
# === Logging Configuration ===
# Set log level: error, warn, info, debug, trace
#export RUST_LOG=info
# Debug mode with OTEL timeouts suppressed
#export RUST_LOG=debug,opentelemetry_sdk=error
# === Application-Specific Settings ===
# Enable colored output (1=yes, 0=no)
#export CRON_WHEN_COLOR=1
# === Template Note ===
# This configuration pattern works for any Rust CLI with OpenTelemetry
# Adjust variable names for your project (CRON_WHEN_* → YOUR_APP_*)