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
34
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
Modern data observability
posedio
PRO
0
1
Lost Jobs, Zombie Tasks and AirFlow Nightmares: A debugging Deep Dive
posedio
PRO
0
20
Designing Zero Trust Systems
posedio
PRO
0
23
Platform user's remorse
posedio
PRO
0
120
Go KonMari on your SQL
posedio
PRO
0
21
Rolling out digital receipts on GCP infrastructure
posedio
PRO
0
16
API First revisited - where did we take a left turn?
posedio
PRO
0
62
Solving Multi-Tenant Challenges: Apache Airflow and Cloud Composer in Action
posedio
PRO
0
52
Contract testing with Java
posedio
PRO
0
43
Other Decks in Programming
See All in Programming
JetBrainsのAI機能の紹介 #jjug
yusuke
0
110
Streamlitで実現できるようになったこと、実現してくれたこと
ayumu_yamaguchi
2
230
Reactの歴史を振り返る
tutinoko
1
140
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
660
Prompt Engineeringの再定義「Context Engineering」とは
htsuruo
0
110
テスターからテストエンジニアへ ~新米テストエンジニアが歩んだ9ヶ月振り返り~
non0113
2
240
リッチエディターを安全に開発・運用するために
unachang113
1
270
AI Ramen Fight
yusukebe
0
120
What's new in Adaptive Android development
fornewid
0
120
[SRE NEXT] 複雑なシステムにおけるUser Journey SLOの導入
yakenji
0
810
MCPを使ってイベントソーシングのAIコーディングを効率化する / Streamlining Event Sourcing AI Coding with MCP
tomohisa
0
190
QA x AIエコシステム段階構築作戦
osu
0
210
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
Facilitating Awesome Meetings
lara
54
6.5k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Designing for humans not robots
tammielis
253
25k
Bash Introduction
62gerente
613
210k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Building an army of robots
kneath
306
45k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
1k
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!