首页 Jaeger开源平台技术深入介绍

Jaeger开源平台技术深入介绍

举报
开通vip

Jaeger开源平台技术深入介绍JaegerProjectDeepDiveJaeger开源平台技术深入介绍ProjectNewFeaturesRoadmapQ&AAgendaWhatisTracing&Why?ConceptsandterminologyModernDistributedSystemsareCOMPLEXLoadingNetflixorFacebookhomepage⇒dozensofmicroservices,100sofnodes6BILLIONSoftimesaday!Howcanwetellwha...

Jaeger开源平台技术深入介绍
JaegerProjectDeepDiveJaeger开源平台技术深入介绍ProjectNewFeaturesRoadmapQ&AAgendaWhatisTracing&Why?ConceptsandterminologyModernDistributedSystemsareCOMPLEXLoadingNetflixorFacebookhomepage⇒dozensofmicroservices,100sofnodes6BILLIONSoftimesaday!Howcanwetellwhatisgoingon?Whichserviceistoblamewhenthingsgowrongorbecomeslow?Traditionalmonitoringtoolsdon’thelpMetricsshowsomethingiswrong,butdonotexplainwhy.Logsareamess:concurrentrequests,multiplehosts,impossibletocorrelate.Monitoringtoolsmusttellstories!Doyoulikedebuggingwithoutastacktrace?Weneedtomonitordistributedtransactions⇒distributedtracing!InspiredbyGoogle’sDapperandOpenZipkinStartedatUberinAugust2015OpensourcedinApril2017JoinedCNCFinSep2017(incubating)Applyingforgraduationhttps://github.com/cncf/toc/pull/171Jaeger-/ˈyāɡər/,noun:hunterJaeger,aDistributedTracingPlatformtracecollectionbackendhttps://jaegertracing.iovisualizationfrontendinstrumentationlibrariesdataminingplatformJaegerArchitecture(v2)HostorContainerApplicationjaeger-clientjaeger-agentSpans(UDP)ControlflowjaegercollectorControlflowpoll(sampling,etc.)DBadaptivesamplingjaegerqueryFlinkstreamingKafkapushjaegeringester&indexer asyncUIjaegercollectorJaegerArchitecture(v2)HostorContainerjaeger-clientjaeger-agentopencensus-collectorDBjaegerqueryFlinkstreamingKafkapushjaegeringester&indexer asyncopencensus-agentUIApplicationzipkin-clientSpans(UDP)JaegerArchitecture(v2)HostorContainerjaeger-clientjaeger-agentDBjaegerquerypopencensus-agentUIApplicationzipkin-clientSpans(UDP)opencensus-collectorushJaegerArchitecture(v2)HostorContainerApplicationjaeger-clientjaeger-agentSpans(UDP)ControlflowjaegercollectorControlflowpoll(sampling,etc.)DBadaptivesamplingjaegerqueryFlinkstreamingKafkapushjaegeringester&indexer asyncUIJaeger<3OpenStandards+ =OpenCensushttps://medium.com/jaegertracing/jaeger-and-opentelemetry-1846f701d9f2TechnologyStackGobackendPluggablestorageCassandra,Elasticsearch,memory,...React/JavascriptfrontendOpenTracingInstrumentationlibrariesIntegrationwithKafka,ApacheFlink17ApacheCassandra®isatrademarkoftheApacheSoftwareFoundationintheUnitedStatesand/orothercountries.Project&Community7maintainers,fromUberandRedHatGitHubstats>8,200stars,>810forks>580contributors>220authorsofcommitsandpullrequests>350issuecreatorsJaeger1.10-1.12NewFeaturesNewFeaturesElasticsearchimprovements(security,FindTraceIDs,archiving)BettergRPCsupport(security,retry,loadbalancing,externalresolvers)BetterZipkincompatibilityUIimprovements(tracedetail,find,querycapabilities)https://github.com/jaegertracing/jaeger/releaseshttps://github.com/jaegertracing/jaeger/blob/master/CHANGELOG.mdhttps://github.com/jaegertracing/jaeger-ui/blob/master/CHANGELOG.mdWebsite(easytocontribute)Demo!GraphVisualizationsTradeDiffsandTraceGraphGraphVisualizationsGanttchartisnotgreatfortraceswith10softhousandsofspansTraceDiffsComparetwotracesCompareonetraceagainstagroupoftraces(comingsoon)TraceGraph(comingsoon)Callgraphvisualizationwithmini-aggregationsShowingpathsratherthanindividualRPCsComparingtracestructures–UnifieddiffComparingtracestructures–SharedstructureComparingtracestructures–AbsentinoneofthetracesComparingtracestructures–MoreorlesswithinanodeComparingtracestructures–Substantialdivergence"Youhaveanoutstandingbalance…"Structuralvs.TimeStructuralvs.Time–VerysimilarstructuresStructuralvs.Time–2.74secondsStructuralvs.Time–50%increaseindurationStructuralvs.Time–Arethesenewspanstoblame?Structuralvs.Time–Oristhelagincreasedthroughout?Comparingspandurations–ComingsoonComparingspandurations–SimilardurationsComparingspandurations–Nodesthataren'tsharedComparingspandurations–FollowtheslowernodesComparingspandurations–Comingsoon...Comparingspandurations–Comingsoon...IntegrationsIntegrationsJaegerOperatorforKuberneteshttps://github.com/jaegertracing/jaeger-operatorOpenCensuslibrariesandagentshipwithreceivers/exportersforJaegerhttps://opencensus.io/guides/exporters/supported-exporters/java/jaeger/IstiocomeswithJaegerincludedhttps://istio.io/docs/tasks/telemetry/distributed-tracing/EnvoyworkswithJaegernativeC++clienthttps://www.envoyproxy.io/docs/envoy/latest/start/sandboxes/jaeger_native_tracingEclipseTraceCompassincubatorsupportsimportingJaegertraceshttps://github.com/tuxology/tracevizlab/tree/master/labs/303-jaeger-opentracing-tracesLearnMoreWebsite:jaegertracing.io/Blog:medium.com/jaegertracingGettinginTouchGitHub:https://github.com/jaegertracingChat:https://gitter.im/jaegertracing/MailingList-jaeger-tracing@googlegroups.comBlog:https://medium.com/jaegertracingTwitter:https://twitter.com/JaegerTracingBi-WeeklyCommunityMeetingsQ&AOpenDiscussionAppendixAdditionalTopicsandSlidesArchitectureChangesAsynchronousIngestionArchitecture2017:PushHostorContainerjaeger-agentjaeger-collectorControlflowpoll(sampling,etc.)DBadaptivesamplingjaeger-querySparkjobspushApplicationjaeger-clientSpans Control(UDP) flowUIAsynchronousspaningestionPushmodelwasstrugglingtokeepupwithtrafficspikesBecauseofsyncstoragewritesCollectorshadtodropdatarandomlyKafkaismuchmoreelasticforwritesJustrawbytes,noschema,noindexingAlotlessoverheadonthewritepathDatainKafkaallowsforstreamingdatamining&aggregationsTwonewcomponents:jaeger-ingesterandjaeger-indexerArchitecturenow:Push+Async+StreamingHostorContainerApplicationjaeger-clientjaeger-agentSpans(UDP)ControlflowjaegercollectorControlflowpoll(sampling,etc.)DBadaptivesamplingjaegerqueryFlinkstreamingKafkapushjaegeringester&indexer asyncUIProtobuf&gRPCEnablingroadmapProtobuf&gRPCInternaldatamodelgeneratedfromProtobufIDLgRPCconnectionbetweenjaeger-agentandjaeger-collectorWhygRPCplaysbetterwithmodernroutingthanTChannelPathtoofficialdatamodelandcollector/queryAPIsProtobuf-basedJSONAPIUnblockdevelopmentofstorageplugins(Thriftstillsupportedforbackwardscompatibility)ZipkinCompatibilityZipkinCompatibilityClientsZipkinB3-***headersforcontextpropagationInteropbetweenJaeger-instrumentedandZipkin-instrumentedappsCollectorZipkinThriftandJSONv2spanformatUseZipkininstrumentation(e.g.Brave)tosendtracestoJaegerOutstandingAcceptZipkinspansfromKafkastreamRoadmaphttp://bit.do/jaeger-roadmapAdaptiveSamplingProblemAPIshaveendpointswithdifferentQPSServiceownersdonotknowthefullimpactofsamplingprobabilityAdaptiveSamplingisperservice+endpoint,decidedbyJaegerbackendbasedontrafficJaegerclientssupportperservice/endpointsamplingstrategiesCanbestaticallyconfiguredincollectorPullrequestsfordynamicrecalculationsAdaptiveSamplingStatusBasedonKafkaandApacheFlinkSupportaggregationsanddataminingExamples:PairwisedependenciesdiagramPath-baseddependenciesdiagramLatencyhistogramsDataPipelineBasedongRPC/ProtobufworkPRsinprogressforproofofconceptCommunitysupportfordifferentstoragebackendsStoragepluginsAddabilitytostore/retrievepartialspansUsecase:Certainworkflowsarehourslong.Unfortunatelyspansareonlyemittedonceafterit’sFinished().“Rootspan”ismissinguntilthecompleteworkflowisfinished.PartialSpans(communitydriven)Thanks
本文档为【Jaeger开源平台技术深入介绍】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
个人认证用户
IT人
暂无简介~
格式:ppt
大小:2MB
软件:PowerPoint
页数:0
分类:互联网
上传时间:2019-11-30
浏览量:14