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
食べログへのNewRelic導入の経緯と効果、運用効率化のための工夫
Search
Yosuke Zusa
December 19, 2021
Programming
810
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
食べログへのNewRelic導入の経緯と効果、運用効率化のための工夫
NRUG vol.1でLTしました。
Yosuke Zusa
December 19, 2021
Other Decks in Programming
See All in Programming
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
100
ActionController meets Protocol Buffers
sorah
1
790
Modernizing iOS Apps
seyfoyun
0
150
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
190
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
240
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
420
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
240
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
320
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
1.9k
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
190
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
630
Tell your own story through comics
letsgokoyo
1
1.1k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
A Tale of Four Properties
chriscoyier
163
24k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
650
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Utilizing Notion as your number one productivity tool
mfonobong
4
640
Color Theory Basics | Prateek | Gurzu
gurzu
1
510
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Transcript
⾷べログへのNewRelic導⼊の 経緯と効果 & 運⽤効率化のための⼯夫 2021. 12. 15
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ⾷べログって? n今年 17
年⽬になる、ガラケーの頃から続いているサービスです
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ⾷べログインフラをKubernetesに!! 来年2⽉末を⽬標にKubernetes化 すでに⼀部のシステムが本番稼働🎉
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ⾃⼰紹介 図左 洋介
(ずさ ようすけ) ⾷べログシステム本部 技術部 SREチーム マネージャー @Aramassa31 Qiita アドベントカレンダーもやっています! 🔎 ⾷べログ アドベントカレンダー 2021 🔎 https://qiita.com/advent-calendar/2021/tabelog
導⼊前にあった オブザーバビリティ上の課題
Copyright (c) Kakaku.com, Inc. All Rights Reserved. 課題① 課題① Grafana
& Prometheus & Thanos 運⽤コストの増⼤
Copyright (c) Kakaku.com, Inc. All Rights Reserved. クラスタ可視化領域の課題 ・Kubernetes Integration
・Prometheus Remote Write Integration のおかげでシンプルな Manifest になり、動作確認も楽に!! 導⼊で… 課題① Grafana & Prometheus & Thanos 運⽤コストの増⼤
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ⼿間のかかる仕組みで本番運⽤拡⼤するのは不安… 課題② OSSは使い勝⼿がいまいち
(特にフィルター)
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ⼿間のかかる仕組みで本番運⽤拡⼤するのは不安… ・Kibana ライクに
データソースにフィルターをかけられる ⽬的の情報にフォーカスして、⼈に優しいグラフになった 導⼊で… 課題② OSSは使い勝⼿がいまいち (特にフィルター)
Copyright (c) Kakaku.com, Inc. All Rights Reserved. This is やさしさ
必要な情報だけをフィルターしてちゃんと⾒れる!!
運⽤の効率化のために やっていること
Copyright (c) Kakaku.com, Inc. All Rights Reserved. terraform Alert関連の設定は terraformを利⽤しています
• 設定内容が明確化される • Mapを使って類似の設定を⼀括で投⼊できる • 設定に再現性が出る • Git管理されるので壊してもすぐに戻せる resource "newrelic_alert_policy" "cpu_usage_warning" { name = "${var.env_label} CPU使⽤状況 Warning" incident_preference = "PER_CONDITION_AND_TARGET" channel_ids = var.notify_channels.warning }
Copyright (c) Kakaku.com, Inc. All Rights Reserved. terraform Alert関連の設定は terraformを利⽤しています
• 設定内容が明確化される • Mapを使って類似の設定を⼀括で投⼊できる • 設定に再現性が出る • Git管理されるので壊してもすぐに戻せる resource "newrelic_nrql_alert_condition" "cpu_throttled" { for_each = var.target_containsers nrql { query = “SELECT * FROM … WHERE name = ‘${each.value}’; } }
Copyright (c) Kakaku.com, Inc. All Rights Reserved. terraform Alert関連の設定は terraformを利⽤しています
• 設定内容が明確化される • Mapを使って類似の設定を⼀括で投⼊できる • 設定に再現性が出る • Git管理されるので壊してもすぐに戻せる
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ダッシュボード画⾯ ( ゚д゚
) ……
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ダッシュボード画⾯ ( ゚д゚
) ……
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ダッシュボード画⾯ ( ゚д゚
) ……
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ダッシュボード画⾯ Σ(゚ロ゚;) オヤッ?
Copyright (c) Kakaku.com, Inc. All Rights Reserved. Base64 じゃないかコレ 【家訓】
⾒つけたBase64は全てデコードせよ ※ ※ドラクエの壺感覚。ちなみに図左は⾊の違う草むらもしらべます。
Copyright (c) Kakaku.com, Inc. All Rights Reserved. Base64 じゃないかコレ 【家訓】
⾒つけたBase64は全てデコードせよ ※ "nerdletId": "dashboards.detail", "useDefaultTimeRange": false, "selectedPage": "MzI0MjY0NXxWSVp8REFTSEJPQVJE……..", "isTemplateEmpty": false, "filters": "(`k8s.clusterName` IN ('tb-development-external-1_20', 'tb-development-internal-1_20') AND `k8s.deploymentName` LIKE ‘%application%')", "entityGuid": "MzI0MjY0NXxWSVp8REFTSEJPQVJEfGRhO………" デコード結果
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ⾊々でてきた中⾝ 項⽬ 考察
nerdletId 値 dashboards.detail 予想 ページの種別かな? useDefaultTimeRange 値 useDefaultTimeRange 予想 時間指定 ….? selectedPage 値 MzI0MjY0NXxWSVp8REFTSEJPQVJEfD…… 予想 ページの識別⼦ .. ? isTemplateEmpty 値 false 予想 ????? filters 値 (`k8s.clusterName` IN ….. 予想 NRQLっぽい検索条件 entityGuid 値 MzI0MjY0NXxWSVp8REFTSEJPQVJEfGRhOj……. 予想 ?????
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ⾊々でてきた中⾝ 項⽬ 考察
nerdletId 値 dashboards.detail 予想 ページの種別かな? useDefaultTimeRange 値 useDefaultTimeRange 予想 時間指定 ….? selectedPage 値 MzI0MjY0NXxWSVp8REFTSEJPQVJEfDIyODI3NzE 予想 ページの識別⼦ .. ? isTemplateEmpty 値 false 予想 ????? filters 値 (`k8s.clusterName` IN ….. 予想 NRQLっぽい検索条件 entityGuid 値 MzI0MjY0NXxWSVp8REFTSEJPQVJEfGRhOjIxODA5MQ 予想 ????? コレ!?
Copyright (c) Kakaku.com, Inc. All Rights Reserved. filters いじれば条件変更ができそう k8s.clusterName`
IN ('tb-development-external-1_20', 'tb-development-internal-1_20’) AND `k8s.deploymentName` LIKE ‘%application%') → パラメータを変更して動作確認 (あのハッシュは整合性チェック⽤、とかだとOUTなので) → できた!!🎉
Copyright (c) Kakaku.com, Inc. All Rights Reserved. 共有リンクページを作成 → YAML定義からMarkdown
出⼒するコードを書いて GitHub で共有!
Copyright (c) Kakaku.com, Inc. All Rights Reserved. ダッシュボードのリンク集が じゃんじゃん作れるようになりました🎉 システムが増えても⼤丈夫💪
何かあった時も素早くダッシュボードに アクセスできます🥳
Copyright (c) Kakaku.com, Inc. All Rights Reserved. チャート化したくない条件 にも対応できるので便利😏 New
Relic さんこの仕様なくさないで🙇
今後 New Relic でやりたいこと
Copyright (c) Kakaku.com, Inc. All Rights Reserved. NewRelic の導⼊したい機能 Synthetics
(Minion) APM Pixie → 現在の外形監視よりも多くのエンドポイントを対象としたい → ⾯⽩そう。HTTPトラフィックの観測に利⽤してみたい。 → 個別のアプリケーションのパフォーマンス改善 → エンドポイントごとのSLI/SLOの簡易的な観測
Copyright (c) Kakaku.com, Inc. All Rights Reserved. We are hiring!!!!
n⼀緒に⾷べログのサービスを強くしましょう! nSRE以外の職種も幅広く募集中!!※ nhttps://hrmos.co/pages/kakakucom/jobs/1011020 ※FE, データサイエンス, テストエンジニアなど 『カカクコム 採⽤ エンジニア』で検索してください!!
Copyright (c) Kakaku.com, Inc. All Rights Reserved. Thank you!! ご清聴
ありがとうございました