SlideShare a Scribd company logo
de:code 2019 DT81
Distributed Tracing in a Cloud Native Age
Yoichi Kawasaki @yokawasa
Azure TSP, GBB, Microsoft
@yokawasa
https://github.com/yokawasa
Azure Technology Solution Professional
J J s K B G
At 2 2 1 027C N e D A K k B o
n l b Ja G A K n pD
, Obc
About Speaker
CNCF - Cloud Native Definition v1.0
https://github.com/cncf/toc/blob/master/DEFINITION.md
クラウドネイティブ時代の分散トレーシング - Distributed Tracing in a Cloud Native Age
クラウドネイティブ時代の分散トレーシング - Distributed Tracing in a Cloud Native Age
“observability is a measure of how well internal states of
a system can be inferred from knowledge of its external outputs”
Wikipedia: https://en.wikipedia.org/wiki/Observability
https://docs.microsoft.com/en-us/azure/azure-monitor/app/distributed-tracing
– Span & Trace
Span:
Trace:
xxx1
bbb
aaa
xxx1
ccc
bbb
https://opentracing.io/specification/
Google Dapper
- Visualization
- Propagation
xxx1
bbb
aaa
xxx1
ccc
bbb
•x-request-id
•x-b3-traceid
•x-b3-spanid
•x-b3-parentspanid
•x-b3-sampled
•x-b3-flags
•x-ot-span-context
https://github.com/openzipkin/b3-propagation
extract Inject
- Backend
Trace data
Backend
Jaeger Agent & Backend in OpenTracing
https://www.jaegertracing.io/docs/1.8/architecture/
OpenTracing OpenCensus
• OpeTracing =
API , Framework/
• CNCF
• : Jaeger, Zipkin,
Elastic APM, Datadog, Apache
SkyWalking
https://opentracing.io https://opencensus.io/
• OpenCensus =
( )
• Google OSS
• (Exporter): Jaeger,
Zipkin, AWS X-Ray, Stackdriver Tracing,
Azure Monitor
OpenTracing OpenCensus
backend Import
Tracer Exporter
Metrics Stats
https://cloudblogs.microsoft.com/opensource/2018/06/13/microsoft-joins-the-opencensus-project/
OpenCensus OpenTracing
OpenTelemetry
https://twitter.com/dankohn1/status/1125422653060333568
OpenTeremetry Specification
https://github.com/open-telemetry/opentelemetry-specification
OpenTracing and Jaeger
Front-envoy
process
Front-envoy container
service_red
envoy process
Service Red Container
service_red
app process
service_blue
envoy process
Service Blue Container
service_blue
app process
service_green
envoy process
Service Green Container
service_green
app process
8080
8080
8080
Jaeger
process
Port9411
Port 9411
Port 9411
Trace Data
Port 8000
Port 80
Port 16686
Port
16686
Access to Jaeger UI
Port 80
Port 9000
Trace Data
TraceData
Port 80
Port 80
Port 9000
TraceDataPort9411
Demo1 Architecture
https://github.com/yokawasa/envoy-proxy-demos/tree/master/jaeger-tracing
OpenCensus and
Azure Monitor
Golang app
Port 8001
Port
50030
Trace Data
Trace Data
Demo2 Architecture
Python app
Port 8002
Port
8000
Local forwarder
Node app
Port 8003
Port
8008
Azure Monitor
Local Forward – Application Insights Local forwarder
https://github.com/microsoft/ApplicationInsights-LocalForwarder
Trace Data
クラウドネイティブ時代の分散トレーシング - Distributed Tracing in a Cloud Native Age
A service mesh is a dedicated
infrastructure layer for handling service-to-
service communication. It’s responsible for
the reliable delivery of requests through the
complex topology of services that comprise a
modern, cloud native application. In practice,
the service mesh is typically implemented as
an array of lightweight network proxies that
are deployed alongside application code,
without the application needing to be aware.
Buoyant’s CEO William Morgan https://blog.buoyant.io/2017/04/25/whats-a-service-
mesh-and-why-do-i-need-one/
30
PodPodPod
https://docs.microsoft.com/ja-jp/dotnet/standard/microservices-
architecture/implement-resilient-applications/implement-circuit-breaker-pattern
PodPodPod
PodPodPod
PodPodPod
PodPodPod
PodPodPod
Service Breaker Destination Rule (Istio)
https://istio.io/docs/tasks/traffic-management/circuit-breaking/
Discovery & Load Balancing
round robin, random, weighted least request
Traffic Splitting
A/B testing, canary rollouts, staged rollouts
Traffic Control
Handling Failures
circuit breakers, timeouts, and retries
Fault Injections
delays or abort
Rate Limiting
Distributed Tracing
Collecting Logs & Metrics
Service Graph
Authentication Policy
Mutual TLS Authentication
Istio RBAC
https://istio.io/docs/concepts/what-is-istio/
•
•
•
https://istio.io/docs/concepts/what-is-istio/
Service Mesh
Control Plane
Service B
Pod
Trace Data
Storage & UI
Trace
data
Trace
data
Trace
data
Service A
Pod
Service A
Pod
Distributed Tracing on Istio
using Jaeger
クラウドネイティブ時代の分散トレーシング - Distributed Tracing in a Cloud Native Age
© 2018 Microsoft Corporation. All rights reserved.
© 2019 Microsoft Corporation. All rights reserved.
( ) de:code 2019 (2019 5 29~30 )
クラウドネイティブ時代の分散トレーシング - Distributed Tracing in a Cloud Native Age

More Related Content

PDF
分散トレーシング技術について(Open tracingやjaeger)
PDF
Dapr × Kubernetes ではじめるポータブルなマイクロサービス(CloudNative Days Tokyo 2020講演資料)
PPTX
コンテナネットワーキング(CNI)最前線
PDF
Docker道場オンライン#1 Docker基礎概念と用語の理解
PDF
.NET 7期待の新機能
PDF
Apache Kafkaって本当に大丈夫?~故障検証のオーバービューと興味深い挙動の紹介~
PPTX
kubernetes初心者がKnative Lambda Runtime触ってみた(Kubernetes Novice Tokyo #13 発表資料)
PDF
マイクロサービス 4つの分割アプローチ
分散トレーシング技術について(Open tracingやjaeger)
Dapr × Kubernetes ではじめるポータブルなマイクロサービス(CloudNative Days Tokyo 2020講演資料)
コンテナネットワーキング(CNI)最前線
Docker道場オンライン#1 Docker基礎概念と用語の理解
.NET 7期待の新機能
Apache Kafkaって本当に大丈夫?~故障検証のオーバービューと興味深い挙動の紹介~
kubernetes初心者がKnative Lambda Runtime触ってみた(Kubernetes Novice Tokyo #13 発表資料)
マイクロサービス 4つの分割アプローチ

What's hot (20)

PDF
超実践 Cloud Spanner 設計講座
PDF
DockerとPodmanの比較
PDF
At least onceってぶっちゃけ問題の先送りだったよね #kafkajp
PPTX
NGINXをBFF (Backend for Frontend)として利用した話
PDF
Spanner から GKE、Spinnaker、そして SRE まで、コロプラが今挑戦していること[Google Cloud INSIDE Games ...
PPTX
モノリスからマイクロサービスへの移行 ~ストラングラーパターンの検証~(Spring Fest 2020講演資料)
PDF
コンテナ未経験新人が学ぶコンテナ技術入門
PDF
ドメイン駆動設計サンプルコードの徹底解説
PDF
SHOWROOMとDeNAで取り組んだライブ配信基盤刷新・超低遅延ライブ配信の裏側【DeNA TechCon 2020 ライブ配信】
PPTX
Kubernetes超入門 with java
PDF
10分でわかる Cilium と XDP / BPF
PDF
わかる!metadata.managedFields / Kubernetes Meetup Tokyo 48
PPTX
Prometheus入門から運用まで徹底解説
PDF
今からでも遅くないDBマイグレーション - Flyway と SchemaSpy の紹介 -
PDF
マルチテナントのアプリケーション実装〜実践編〜
PPTX
世界一わかりやすいClean Architecture
PDF
Kubernetesによる機械学習基盤への挑戦
PPTX
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会
PPTX
ぱぱっと理解するSpring Cloudの基本
PDF
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
超実践 Cloud Spanner 設計講座
DockerとPodmanの比較
At least onceってぶっちゃけ問題の先送りだったよね #kafkajp
NGINXをBFF (Backend for Frontend)として利用した話
Spanner から GKE、Spinnaker、そして SRE まで、コロプラが今挑戦していること[Google Cloud INSIDE Games ...
モノリスからマイクロサービスへの移行 ~ストラングラーパターンの検証~(Spring Fest 2020講演資料)
コンテナ未経験新人が学ぶコンテナ技術入門
ドメイン駆動設計サンプルコードの徹底解説
SHOWROOMとDeNAで取り組んだライブ配信基盤刷新・超低遅延ライブ配信の裏側【DeNA TechCon 2020 ライブ配信】
Kubernetes超入門 with java
10分でわかる Cilium と XDP / BPF
わかる!metadata.managedFields / Kubernetes Meetup Tokyo 48
Prometheus入門から運用まで徹底解説
今からでも遅くないDBマイグレーション - Flyway と SchemaSpy の紹介 -
マルチテナントのアプリケーション実装〜実践編〜
世界一わかりやすいClean Architecture
Kubernetesによる機械学習基盤への挑戦
サポート エンジニアが Azure Networking をじっくりたっぷり語りつくす会
ぱぱっと理解するSpring Cloudの基本
CyberAgent における OSS の CI/CD 基盤開発 myshoes #CICD2021
Ad

Similar to クラウドネイティブ時代の分散トレーシング - Distributed Tracing in a Cloud Native Age (20)

PDF
20151207 - iot strategy
PDF
デベロッパーのためのAzureクラウドネイティブスタック 〜 提供したい価値からはじめる高速+高可用+高付加価値ソリューション
PDF
IT PRO|DEV Connections 2020 - "Developing a Speech to Text component using Az...
PDF
FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
PDF
Azure IoT & ML Recap - 20180503
PPTX
N01 cloud computing_and_gae
PDF
IoT on Blockchain Solution Overview
PPTX
Open Source Edge Computing Platforms - Overview
PDF
FIWARE Wednesday Webinars - Short Term History within Smart Systems
PPTX
IoT on azure
PDF
Join Our Party: The Cloud Native Adventure Brigade (TCSW 2019)
PDF
MongoDB.local Austin 2018: MongoDB Ops Manager + Kubernetes
PDF
CiscoACI-BRKACI-3004presentationUploaded.pdf
PDF
20201015 Azure PaaS Update at Microsoft Ignite 2020
PPTX
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
PDF
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
PDF
今Serverlessが面白いわけ
PPTX
Fog Computing
PPTX
SUGCON EU 2023 - Secure Composable SaaS.pptx
PPTX
Microsoft Azure News - December 2024 - BAUG
20151207 - iot strategy
デベロッパーのためのAzureクラウドネイティブスタック 〜 提供したい価値からはじめる高速+高可用+高付加価値ソリューション
IT PRO|DEV Connections 2020 - "Developing a Speech to Text component using Az...
FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
Azure IoT & ML Recap - 20180503
N01 cloud computing_and_gae
IoT on Blockchain Solution Overview
Open Source Edge Computing Platforms - Overview
FIWARE Wednesday Webinars - Short Term History within Smart Systems
IoT on azure
Join Our Party: The Cloud Native Adventure Brigade (TCSW 2019)
MongoDB.local Austin 2018: MongoDB Ops Manager + Kubernetes
CiscoACI-BRKACI-3004presentationUploaded.pdf
20201015 Azure PaaS Update at Microsoft Ignite 2020
Microsoft Azure IoT 手把手實作 @ K.NET by Maduka (2017-8-12)
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
今Serverlessが面白いわけ
Fog Computing
SUGCON EU 2023 - Secure Composable SaaS.pptx
Microsoft Azure News - December 2024 - BAUG
Ad

More from Yoichi Kawasaki (18)

PPTX
今Serverlessが面白いわけ v19.09
PDF
Azure Functions 2.0 Deep Dive - デベロッパーのための最新開発ガイド
PDF
Service Mesh Status Quo 2018: 2019年に向けたService Meshの現状課題の整理と考察
PDF
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
PPTX
Istioサービスメッシュ入門
PPTX
コンテナ&サーバーレス:トレンドの考察と少し先の未来の展望
PPTX
アプリケーション開発者のためのAzure Databricks入門
PPTX
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etc
PDF
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
PPTX
Azure Functions&Logic Appではじめるサーバレスアプリケーション開発 - 応用編 -
PPTX
Azure Functions&Logic Appではじめるサーバレスアプリケーション開発 - 入門編 -
PPTX
Web App for Containers + Cosmos DBで コンテナ対応したMEANアプリを作ろう!
PPTX
15分でお届けする Elastic Stack on Azure 設計・構築ノウハウ
PPTX
Azure PaaSを活用したモダン E コマースソリューションの構築方法
PPTX
PythonによるAzureサーバレスアプリケーション開発 / Serverless Application Development with Python
PPTX
Web App for Containers + MySQLでコンテナ対応したPHPアプリを作ろう!
PPTX
Web App for Containers + MySQLでコンテナ対応したRailsアプリを作ろう!
PPTX
Azure サービスを活用して作るフルマネージドな全文検索アプリケーション
今Serverlessが面白いわけ v19.09
Azure Functions 2.0 Deep Dive - デベロッパーのための最新開発ガイド
Service Mesh Status Quo 2018: 2019年に向けたService Meshの現状課題の整理と考察
Azure Containers & Serverless Technology Options (After-Tech-Summit-2018 Edit...
Istioサービスメッシュ入門
コンテナ&サーバーレス:トレンドの考察と少し先の未来の展望
アプリケーション開発者のためのAzure Databricks入門
Azure Search 言語処理関連機能 〜 アナライザー、検索クエリー、辞書、& ランキング, etc
Kubernetes x PaaS – コンテナアプリケーションのNoOpsへの挑戦
Azure Functions&Logic Appではじめるサーバレスアプリケーション開発 - 応用編 -
Azure Functions&Logic Appではじめるサーバレスアプリケーション開発 - 入門編 -
Web App for Containers + Cosmos DBで コンテナ対応したMEANアプリを作ろう!
15分でお届けする Elastic Stack on Azure 設計・構築ノウハウ
Azure PaaSを活用したモダン E コマースソリューションの構築方法
PythonによるAzureサーバレスアプリケーション開発 / Serverless Application Development with Python
Web App for Containers + MySQLでコンテナ対応したPHPアプリを作ろう!
Web App for Containers + MySQLでコンテナ対応したRailsアプリを作ろう!
Azure サービスを活用して作るフルマネージドな全文検索アプリケーション

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPT
Teaching material agriculture food technology
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Advanced Soft Computing BINUS July 2025.pdf
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Machine learning based COVID-19 study performance prediction
Understanding_Digital_Forensics_Presentation.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
NewMind AI Weekly Chronicles - August'25 Week I
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Teaching material agriculture food technology
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Big Data Technologies - Introduction.pptx
Advanced Soft Computing BINUS July 2025.pdf

クラウドネイティブ時代の分散トレーシング - Distributed Tracing in a Cloud Native Age