Jaeger开源平台技术深入介绍
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
https://jaegertracing.io
10
Jaeger Architecture (v2)
Host or Container
Application
jaeger-client Spans Control (UDP) flow
jaeger-agent
jaeger collector adaptive sampling
7
Monitoring tools must tell stories!
Do you like debugging without a stack trace?
We need to monitor distributed transactions ⇒ distributed tracing!
8
Jaeger - /ˈyāɡər/, noun: hunter
○ >8,200 stars, >810 forks ○ >580 contributors
■ >220 authors of commits and pull requests ■ >350 issue creators
Loading Netflix or Facebook home page ⇒ dozens of microservices, 100s of nodes
4
BILLIONS of times a day!
6
How can we tell what is going on?
Which service is to blame when things go wrong or become slow?
Jaeger
Project Deep Dive
Jaeger开源平台技术深入介绍
1
Agenda
● Project ● New Features ● Roadmap ● Q&A
2
What is Tracing & Why?
Concepts and terminology
3
Modern Distributed Systems are COMPLEX
Kafka
async
jaeger ingester & indexer
Flink
streaming
DB
UI
jaeger query
14
Jaeger <3 Open Standards
+
=
OpenCensus
https://medium.com/jaegertracing/jaeger-and-opentelemetry-1846f701d9f2
https://github.com/cncf/toc/pull/171
9
Jaeger, a Distributed Tracing Platform
trace collection backend
visualization frontend
instrumentation libraries
data mining platform
• Inspired by Google’s Dapper and OpenZipkin • Started at Uber in August 2015 • Open sourced in April 2017 • Joined CNCF in Sep 2017 (incubating) • Applying for graduation
6
Traditional monitoring tools don’t help
Metrics show something is wrong, but do not explain Байду номын сангаасhy.
Logs are a mess: concurrent requests, multiple hosts, impossible to correlate.
13
Jaeger Architecture (v2)
Host or Container
Application
jaeger-client Spans Control (UDP) flow
jaeger-agent
jaeger collector adaptive sampling
push
Control flow poll (sampling, etc.)
Apache Cassandra® is a trademark of the Apache Software Foundation in the United States and/or other countries.
17
Project & Community
● 7 maintainers, from Uber and Red Hat ● GitHub stats
15
Technology Stack
● Go backend ● Pluggable storage
○ Cassandra, Elasticsearch, memory, ... ● React/Javascript frontend ● OpenTracing Instrumentation libraries ● Integration with Kafka, Apache Flink
push
Control flow poll (sampling, etc.)
Kafka
async
jaeger ingester & indexer
Flink
streaming
DB
UI
jaeger query
11
Jaeger Architecture (v2)
Host or Container
Application
12
Jaeger Architecture (v2)
Host or Container
Application
jzaiepgkeinr-client Spans (UDP) opejanecgeenrs-uasg-eangtent
opencensuscollector
p ush
UI jaeger query DB
jzaiepgkeinr-client Spans (UDP) opejanecgeenrs-uasg-eangtent
opejnaceegnesr uscollector
push
Kafka
async
jaeger ingester & indexer
Flink
streaming
DB
UI
jaeger query