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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Pierre Margueritte
May 23, 2018
Programming
77
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
85
Other Decks in Programming
See All in Programming
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
数行の変更でDockerビルドを最大91%高速化~GitLab CIの実行基盤を社内40リポジトリに展開するまで~
picopico
3
810
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
260
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
340
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
6.3k
Compiling Your Language to WasmGC & Friends
tanishiking
0
170
小さなアプリを作って公開するまで
onozaty
0
250
joyful-journey-spring-boot.pdf
hollycummins
0
120
Promiseの向こう側へコンテキストを届ける ― proposal-async-context
seriseri
0
180
AIエージェントの「テストは通るのに本番で壊れる」を減らす
shibuiwilliam
3
130
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
240
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Cult of Friendly URLs
andyhume
79
7.1k
Code Reviewing Like a Champion
maltzj
529
40k
Building Applications with DynamoDB
mza
96
7.3k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
350
Amusing Abliteration
ianozsvald
1
400
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
The Limits of Empathy - UXLibs8
cassininazir
2
800
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
630
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k