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
How to probe prometheus & grafana. What is helm
Search
threetreeslight
November 17, 2018
Technology
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to probe prometheus & grafana. What is helm
How to probe prometheus & grafana. What is helm on shinjuku mokumoku programming vol.20
threetreeslight
November 17, 2018
More Decks by threetreeslight
See All by threetreeslight
実録 採用一投入魂
threetreeslight
0
52
Bottleneck is You
threetreeslight
0
140
Japan Office Society オフィスはスタートアップの成長を助長するのか?阻害するのか?
threetreeslight
0
140
スタートアップは見極められたくない
threetreeslight
0
65
VPoEの責務とは
threetreeslight
0
110
CiecleCIでもくもく会を支える技術
threetreeslight
0
70
Ego vs higher self
threetreeslight
0
54
Performance Hack 101
threetreeslight
0
120
複数のスタートアップを 通して得た失敗と学び
threetreeslight
0
95
Other Decks in Technology
See All in Technology
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
180
これだけは抑えておきたい!後悔しない re:Invent の過ごし方 / AWS re:Invent 2026 prestudy
kinunori
2
590
バイブコーディングの特徴と「コケて直す」ループ
happysamurai294
0
130
なぜ東京にいる私が、新潟の技術コミュニティを運営するのか by 八雲慎之助
yakumo
0
160
ドメインエキスパートは いかにして AI を使って プロダクト開発をするか
tatsuyashiraishi
1
240
基本から分かる!AWSセキュリティ運用の考え方と任せ方
cmusudakeisuke
1
270
Vue.jsのGitHubから学ぶ意思決定
yut0naga1_fa
1
340
200人の配信コメント、 全部Jevが仕分けます 〜 マサカリガードを作ってみた 〜
katayamatg
1
470
Autonomous AI Lakehouse - Live AI Hubから始めるセキュアなAIデータ活用 -
oracle4engineer
PRO
2
180
[FECONF-2026] 신대륙을 향한 카카오페이증권 프론트엔드 항해기 (이주승)
l1ghthouse
0
330
Flutter Webを「SDK」として配る — 50以上のゲームを支える埋め込みアーキテクチャ
masayukisuda
0
160
AIテスト自動化と評価駆動開発EDD
happysamurai294
0
110
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
900
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
880
How to Ace a Technical Interview
jacobian
280
24k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
440
First, design no harm
axbom
PRO
2
1.4k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
510
Art, The Web, and Tiny UX
lynnandtonic
304
22k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
610
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
960
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
290
Transcript
How to probe prometheus & grafana What is helm @threetreeslight
on shinjuku mokumoku programming #20 1 / 19
Who VP of Engineering at Event Organizer おじさん Repro 2
/ 19
今⽇やること blog 監視のgrafana において外形監視が落ちるを解決す る Istio のchart を基にprometheus とgrafana の設定⾒直す
3 / 19
できたこと blog 監視のgrafana において外形監視が落ちるを解決 する Istio のchart を基にprometheus とgrafana の設定⾒直す
あわせて helm chart の構成理解 istio の正常(多分)稼働 4 / 19
迷ったこと 1. すでにPrometheus, Grafana でcluster 監視している場 合、Istio に同梱されているchart は使わないよね? 2.
istio は個別のnamespace に分けたほうがつかやすかった りするのか? 3. helm を複数のservice account, 複数のcluster で使う場合 どうするのか? 5 / 19
せっかくなので いくつかtips ご紹介 6 / 19
healthcheck Prometheus Grafana 7 / 19
Prometheus helth check CNCF graduagted project のprometheus 、health check endpoint
実装されてた https://github.com/prometheus/prometheus/blob/47a673c3 router.Get("/-/healthy", func(w http.ResponseWriter, r *http.Request) w.WriteHeader(http.StatusOK) fmt.Fprintf(w, "Prometheus is Healthy.\n") }) router.Get("/-/ready", readyf(func(w http.ResponseWriter, r *http.Req w.WriteHeader(http.StatusOK) fmt.Fprintf(w, "Prometheus is Ready.\n") })) 8 / 19
思ったより? 揉めずにサクッとはいっていた模様。/-/ready が 先にあったからかな? Add /-/healthy and /-/ready endpoints #2831
9 / 19
Prometheus Probe こんな感じ シンプルになった livenessProbe: httpGet: path: /-/healthy port: 9090
readinessProbe: httpGet: path: /-/ready port: 9090 10 / 19
Grafana health check で /api/health endpoint が提供されて いた。 Grafana 4.3
https://github.com/grafana/grafana/blob/e78c1b4abc7eda7 func (hs *HTTPServer) healthHandler(ctx *macaron.Context) { notHeadOrGet := ctx.Req.Method != http.MethodGet && ctx.Req.Method != if notHeadOrGet || ctx.Req.URL.Path != "/api/health" { return } data := simplejson.New() data.Set("database", "ok") data.Set("version", setting.BuildVersion) data.Set("commit", setting.BuildCommit) 11 / 19
ぼちぼちコメントが それなりにこまっていたということだろうか?ぼち ぼちコメントが有る。 grafana のicon が帰ってくるかどうかでwork around しているひともいるぐらい。 アクセスすると認証前だったらlogin 画⾯に⾶ばされ
たり、そもそもそのログイン画⾯がちょいと重かっ たりするから欲しい気持ちめっちゃわかる。 Monitoring Grafana #3302 12 / 19
Grafana Probe こんな感じ シンプルになった readinessProbe: httpGet: path: /api/health port: 3000
13 / 19
health check の仕組み が提供されているとよい よね 14 / 19
helm chart 15 / 19
What is helm helm ( ) とは、CNCF ( ) でhosting
されている kubernetes 上のpackage manager 。 https://helm.sh/ https://www.cncf.io/ 16 / 19
stop the copy-and- paste madness. この表現がなされるほどのyaml wall 1. Helm は単純にkubernetes
のresource をGo templating し ているだけ 2. local にchart をおいて複数cluster に展開することもでき るので便利だったりする 細かい話はblog にあげていく 17 / 19
Tips 終わり 18 / 19
頑張っていく 19 / 19