Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Metrics Monitoring in Go
Search
Pierre Margueritte
May 23, 2018
Programming
76
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Metrics Monitoring in Go
Pierre Margueritte
May 23, 2018
Transcript
28 slides
Metrics monitoring Paris MAY 23 2018 Pierre Margueritte Datadog @mfpierre
What’s on the menu Intro to metrics monitoring Push vs
Pull Go Tooling Visualization Questions
About Datadog Metrics monitoring in Go
Collecting data is cheap; not having it when you need
it can be expensive
The 3 pillars of observability Metrics monitoring in Go Logs
Traces Metrics
Anatomy of a metric Metrics monitoring in Go
It’s all about context Metrics monitoring in Go
The Internet Push doesn’t scale. Pull doesn’t scale.
The Push Model Metrics monitoring in Go monitoring client push
Application
The Push Model Metrics monitoring in Go • Service discovery:
know where to push • Retry policy: handle network interruption/delay • Backlog & backpressure: handle peaks & batches • Footprint bound to metric throughput
The Pull Model Metrics monitoring in Go monitoring exporter Application
scrape
The Pull model Metrics monitoring in Go • Service discovery:
know where to pull from • No events • Risk of losing outliers • Footprint bound to number of metrics
Go Tooling
Push: StatsD Metrics monitoring in Go
Push: StatsD Metrics monitoring in Go • Local daemon collecting/aggregating
• Metric types ◦ Counter ◦ Gauges ◦ Timers ◦ Sets • Tag support: DogstatsD
Push: StatsD Metrics monitoring in Go
Pull: Go expvar Metrics monitoring in Go
Pull: Go expvar Metrics monitoring in Go • Part of
the standard library • Metric types ◦ Int/Float ◦ String ◦ Map ◦ Func ◦ Custom types • Great for debugging at runtime
Pull: Go expvar Metrics monitoring in Go
Pull: Go expvar /debug/vars Metrics monitoring in Go
Pull: Prometheus Metrics monitoring in Go
Pull: Prometheus Metrics monitoring in Go • Becoming CNCF standard
• Metric types ◦ Counter ◦ Gauge ◦ Histogram/Summary • Push gateway • Supported by OpenCensus
Pull: Prometheus Metrics monitoring in Go
Pull: Prometheus Metrics monitoring in Go
Pull: Prometheus Metrics monitoring in Go
Visualization
Examples with Datadog Metrics monitoring in Go
Happy monitoring!
More Decks by Pierre Margueritte
See All by Pierre Margueritte
Introduction to Machine Learning
mfpierre
1
84
Other Decks in Programming
See All in Programming
小さなアプリを作って公開するまで
onozaty
0
170
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
170
PyConTW 2026 - AI Coding 不只是工具升級, 區域醫院醫療資訊系統協作開發與資訊團隊轉型實踐
cclai999
0
250
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
230
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
850
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
310
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
650
Next.js: The final boss of Web Performance
guaca
0
400
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
0
120
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
280
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2.1k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
590
Tell your own story through comics
letsgokoyo
1
1.1k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Utilizing Notion as your number one productivity tool
mfonobong
4
640
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
660
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
350
The Cult of Friendly URLs
andyhume
79
7.1k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
310