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
26
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
29
Solving Multi-Tenant Challenges: Apache Airflow and Cloud Composer in Action
posedio
PRO
0
18
Contract testing with Java
posedio
PRO
0
18
Flink in two nutshells
posedio
PRO
0
17
Taming the Codebase: Strategies for Refactoring Legacy Code
posedio
PRO
0
13
Access & Usage Policies and Enforcement: Challenges and Solutions
posedio
PRO
0
13
The Future of Data Sharing
posedio
PRO
0
54
Is your spring boot application in Kubernetes secure?
posedio
PRO
0
63
Zero trust architecture with Keycloak
posedio
PRO
0
190
Other Decks in Programming
See All in Programming
Effective Signals in Angular 19+: Rules and Helpers
manfredsteyer
PRO
0
130
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
180
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
290
DevFest - Serverless 101 with Google Cloud Functions
tunmise
0
130
Jakarta EE meets AI
ivargrimstad
0
280
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
300
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.8k
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
150
Spatial Rendering for Apple Vision Pro
warrenm
0
150
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Making Projects Easy
brettharned
116
6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Being A Developer After 40
akosma
87
590k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
RailsConf 2023
tenderlove
29
940
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!