Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cloudy with a Chance of Insights:
Search
Posedio
PRO
January 18, 2024
Programming
0
22
Cloudy with a Chance of Insights:
Demystifying Observability in the Cloud
Posedio
PRO
January 18, 2024
Tweet
Share
More Decks by Posedio
See All by Posedio
API First revisited - where did we take a left turn?
posedio
PRO
0
27
Solving Multi-Tenant Challenges: Apache Airflow and Cloud Composer in Action
posedio
PRO
0
16
Contract testing with Java
posedio
PRO
0
12
Flink in two nutshells
posedio
PRO
0
15
Taming the Codebase: Strategies for Refactoring Legacy Code
posedio
PRO
0
11
Access & Usage Policies and Enforcement: Challenges and Solutions
posedio
PRO
0
11
The Future of Data Sharing
posedio
PRO
0
49
Is your spring boot application in Kubernetes secure?
posedio
PRO
0
58
Zero trust architecture with Keycloak
posedio
PRO
0
150
Other Decks in Programming
See All in Programming
Modular Monolith Monorepo ~シンプルさを保ちながらmonorepoのメリットを最大化する~
yuisakamoto
9
1.5k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
130
我々のデザインシステムは Chakra v3 にアップデートします
shunya078
2
350
聞き手から登壇者へ: RubyKaigi2024 LTでの初挑戦が 教えてくれた、可能性の星
mikik0
1
140
카카오페이는 어떻게 수천만 결제를 처리할까? 우아한 결제 분산락 노하우
kakao
PRO
0
120
みんなでプロポーザルを書いてみた
yuriko1211
0
290
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
6
1.7k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
110
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
230
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.2k
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
120
RubyLSPのマルチバイト文字対応
notfounds
0
120
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
265
13k
4 Signs Your Business is Dying
shpigford
180
21k
Designing for Performance
lara
604
68k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
140
Optimising Largest Contentful Paint
csswizardry
33
2.9k
BBQ
matthewcrist
85
9.3k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Rails Girls Zürich Keynote
gr2m
94
13k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Transcript
None
2 ?
“CLOUDY, WITH A CHANCE OF INSIGHTS” Demystifying Observability in the
Cloud PHILIPP SEIFERT-KEHRER 4 July 2024
4 WHAT ABOUT ME? • Developer for 7+ years •
@ Posedio since 2022 • Blood type AB- • Love cats, crocheting & crocheting cats • Monoliths: hehe • Shared libs: not hehe Philipp Seifert-Kehrer
ROADMAP 1. Debugging like it’s 1999 2. Observability Xs and
Os 3. Tracing 101 4.Introducing OpenTelemetry 5. Where benefits?
6 SO, WHAT TO EXPECT FROM THIS TALK? (Re)Gain confidence
to deploy…
DEBUGGING LIKE IT’S 1999 1
8 CLASSICAL DEBUGGING PHD in domain knowledge Sherlock gene
9 LONGEST EMPLOYEE = BEST DEBUGGER? I haven’t moved away
from here in 15 years
10 READING THE TEA LEAVES
11 MONITORING = BYOC Bring Your Own Context
12 BUT, BUT, BUT RUNBOOKS • No documentation > wrong
documentation
13 HELLO CLOUD
14 BUT WHY MONITORING NOT CUTTIN’ IT? Built upon assumptions
Only useful for known unknowns Purely reactive Linear increase of cost Uptime is so 2001
2 OBSERVABILITY XS AND OS
16 WHAT ARE WE TALKIN’ ABOUT? “How well internal states
of a system can be inferred from knowledge of its external outputs”
17 PLATO WAS RIGHT
18 BUT FOR SOFTWARE? Understand inner workings of application Understand
any system state Understand only by observing/external tools Understand without need to ship new code
19 GANG OF 3 Centralized Logging Metrics & Dashboards Distributed
Tracing
20 LET THEM WITHOUT SIN CAST THE FIRST STONE Every
transaction No issues with cardinality Proportional growth of cost Centralized Logging ✅ ✅ 🙅 Metrics & Dashboards ✅ 🙅 ✅ Distribruted Tracing 🙅 ✅ ✅
21 GANG OF 3 GANG OF 3 Centralized Logging Metrics
& Dashboards Distributed Tracing
22 GIMME SOME EXPLORABILITY
TRACING 3
24 SERVICE GRAPH
25 TRACING EXAMPLE
26 ONE TRACE TO RULE ‘EM ALL
27 ANATOMY OF A SPAN
28 EVENTS
29 IT’S ALL ABOUT THE CONTEXT Context propagation Baggage Marshall
Context matters (… even after the 14th blunt)
OPENTELEMETRY 4
31 OTEL OFFERING … that you can’t refuse Open specification
Instrumentation APIs & SDKs Semantic conventions Agent to collect telemetry Optimized protocol OTLP
32 COLLECTOR
33 SEMANTIC CONVENTIONS
34 INSTRUMENTATION Black vs White box Application vs System Distributed
vs Monolith
35 DO’S AND DON’TS Do Don’t Feature flags Be aware
of PII Verbocity level Start off with automatic instrumentation Ignore potential resource overhead Non-standard format Too high default resolution
WHERE BENEFITS 5
37 WHY ALL OF THIS? Less interpretation = less discussion
Foster proactive debugging Reliability Good for application, organization & employee (mental) health No more manual, mental joins Learning opportunity instead of learning prerequisite Link anomalies to distinct version
38 A NEW NON-FUNCTIONAL REQUIREMENT Maintainability Availability Scalability Observability in
the cloud
39 BUT IT’S SO MUCH OVERHEAD, RIGHT?
40 SAMPLING
41 WHAT IF I JUST KEEP LOGGING EVERYTHING?
42 WRAPPING IT UP? Maintainability Availability Scalability Sustainability Better understanding
of architecture More accessible debugging Not all can be fixed… and also should not! Benefits without too much effort possible No panacea
43 Failure is inevitable … so when the shit goes
down, you better be ready
THANK YOU! POSEDIO GMBH +43 660 9154419
[email protected]
Weyringergasse 1-3,
1040 Wien, Millenium Park 4, 6980 Lustenau www.posedio.com Dilly dilly!