🔍

Jaeger.

Giám sát

Nền tảng theo dõi phân tán để giám sát kiến trúc vi dịch vụ.

Thông tin triển khai

Triển khai: 2-5 phút
loại: Giám sát
Ủng hộ: 24/7

Chia sẻ hướng dẫn này

Khám phá

Jaeger is an open-source, end-to-end distributed tracing system developed by Uber Technologies and now a CNCF graduated project. It helps monitor and troubleshoot microservices-based distributed systems by tracking requests as they flow through multiple services, providing visibility into latency issues, bottlenecks, and service dependencies. Jaeger implements the OpenTracing standard (now part of OpenTelemetry) and provides critical insights for understanding system behavior, diagnosing performance problems, and optimizing complex service interactions in production environments.

Tính năng chính

Distributed Context Propagation

Trace requests across microservices with correlation IDs

Performance Optimization

Identify bottlenecks and slow services in distributed systems

Root Cause Analysis

Pinpoint failure origins in complex service dependencies

OpenTelemetry Compatible

Works with OpenTelemetry instrumentation and collectors

Service Dependency Analysis

Visualize service dependencies and call graphs

Adaptive Sampling

Intelligent sampling to balance observability and overhead

Ví dụ sử dụng

• Microservices performance monitoring
• Distributed transaction tracking
• Root cause analysis for failures
• Service dependency mapping
• API latency optimization
• Troubleshooting production issues

Chỉ dẫn cài đặt

**Docker Installation:**
```bash
docker run -d --name jaeger \
-e COLLECTOR_ZIPKIN_HOST_PORT=:9411 \
-p 5775:5775/udp \
-p 6831:6831/udp \
-p 6832:6832/udp \
-p 5778:5778 \
-p 16686:16686 \
-p 14250:14250 \
-p 14268:14268 \
-p 14269:14269 \
-p 9411:9411 \
jaegertracing/all-in-one:latest

# Access UI at http://localhost:16686
```

Gợi ý cấu hình

**Instrumentation (Python):**
```python
from jaeger_client import Config

config = Config(
config={'sampler': {'type': 'const', 'param': 1},
'logging': True},
service_name='my-service')
tracer = config.initialize_tracer()

with tracer.start_span('operation') as span:
span.set_tag('http.method', 'GET')
# Your code here
```

Đánh giá bài viết này

-
Đang tải...

Bạn đã sẵn sàng triển khai ứng dụng của mình chưa? Jaeger.?

Bắt đầu trong vài phút với quá trình triển khai VPS đơn giản của chúng tôi

Không cần thẻ tín dụng để đăng ký • Triển khai trong 2-5 phút

Khởi động VPS của bạn
Từ $2.0/tháng