Jaeger Setup
Jaeger is an open-source distributed tracing platform that helps you monitor and troubleshoot your Bindu agents.Quick Start
1
Start Jaeger
16686- Jaeger UI (web interface)4317- OTLP gRPC receiver4318- OTLP HTTP receiver
2
Configure Bindu
Add to your agent config:Or use environment variables:
3
Run Your Agent
4
View Traces
Open http://localhost:16686 in your browser
Jaeger UI Overview
Service View
The main dashboard shows:- Service Name - Your agent service (
bindu-agent) - Operations - All traced operations:
task_manager.send_messagetask_manager.get_tasktask_manager.cancel_taskrun taskagent.execute
Trace View
Complete request flow with timing:- Color-coded by service
- Shows parallel vs sequential execution
- Hover for span details
- Click to expand/collapse
Span Details
Each span shows: Attributes (Tags):bindu.operation- Operation namebindu.request_id- Request identifierbindu.task_id- Task UUIDbindu.context_id- Context UUIDbindu.agent.name- Agent namebindu.agent.did- Agent DIDbindu.agent.execution_time- Execution durationbindu.component- Component type
task.state_changed- State transitionsfrom_state- Previous stateto_state- New stateerror- Error message (if failed)
Search & Filter
By Service
By Operation
By Tags
By Duration
By Time Range
- Last 1 hour
- Last 24 hours
- Custom range
Jaeger UI Features
1. Trace Timeline
- Visual span hierarchy
- Color-coded by service
- Parallel vs sequential execution
- Interactive hover details
2. Trace Comparison
- Compare multiple traces side-by-side
- Identify performance regressions
- Spot anomalies
3. Service Dependencies
- Visualize service interactions
- Identify bottlenecks
- Understand system architecture
4. Statistics
- Latency percentiles (p50, p95, p99)
- Error rates
- Request volume
- Operation distribution
Production Deployment
Docker Compose
Kubernetes
Performance Tuning
Batch Processor Configuration
Sampling
Troubleshooting
Traces Not Appearing
Traces Not Appearing
Check:
- Jaeger is running:
- OTLP endpoint is reachable:
- Agent logs show observability initialization:
Slow Performance
Slow Performance
Cause: Too many spans or large payloadsSolution:
- Enable batch processing
- Increase batch delay
- Implement sampling
Missing Spans
Missing Spans
Cause: Span context not propagatedSolution: Verify span propagation in scheduler:
Alternative Backends
Bindu works with any OpenTelemetry-compatible backend:Grafana Tempo
Zipkin
SigNoz
Honeycomb
Next Steps
Tracing Guide
Learn about distributed tracing
Metrics
Track performance metrics
Overview
Back to observability overview
Jaeger Docs
Official Jaeger documentation
Resources
- Jaeger Documentation - Official Jaeger docs
- Jaeger UI Guide - UI features and usage
- Deployment Guide - Production deployment
- GitHub - Jaeger source code