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
NerdGraph APIに入門する/Getting Started with the Ner...
Search
AEON
December 20, 2024
1
700
NerdGraph APIに入門する/Getting Started with the NerdGraph API
New Relic User Group Vol.12 3周年&アドカレLT祭り (
https://nrug.connpass.com/event/334268/
)のLT発表資料です。
AEON
December 20, 2024
Tweet
Share
More Decks by AEON
See All by AEON
2025年にHCP Vaultを学び直して見えた景色 / Lessons and New Perspectives from Relearning HCP Vault in 2025
aeonpeople
0
59
イオン店舗一覧ページのパフォーマンスチューニング事例 / Performance tuning example for AEON store list page
aeonpeople
2
380
会社もクラウドも違うけど 通じたコスト削減テクニック/Cost optimization strategies effective regardless of company or cloud provider
aeonpeople
2
600
SREがコストセンターではないことを大きな声と実例で伝えたい/SRE Is Not a Cost Center: Real-World Stories That Prove True Value
aeonpeople
1
880
SREチームの越境と対話〜どのようにしてイオンスマートテクノロジーは横軸運用チームの廃止に至ったか〜/the-Cross-border-and-dialogue-of-SRE
aeonpeople
13
7.3k
PagerDuty×ポストモーテムで築く障害対応文化/Building a culture of incident response with PagerDuty and postmortems
aeonpeople
3
820
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
2.7k
【ITmedia DX Summit 23/基調講演】イオンが構築する超大規模データ基盤と、その活用戦略
aeonpeople
2
970
イオングループ プロダクト人材向け会社紹介資料 / AEON Product Talent Recruitment Deck
aeonpeople
0
1.6k
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
830
Practical Orchestrator
shlominoach
190
11k
Agile that works and the tools we love
rasmusluckow
330
21k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
284
13k
RailsConf 2023
tenderlove
30
1.2k
Building an army of robots
kneath
306
46k
A better future with KSS
kneath
239
17k
Transcript
NerdGraph APIに⼊⾨する イオンスマートテクノロジー株式会社 DevSecOps Div. SREチーム 齋藤光 2024年12⽉20⽇ New Relic
User Group Vol.12 3周年&アドカレLT祭り
自己紹介
⾃⼰紹介 齋藤光( @hikkie13 ) イオンスマートテクノロジー株式会社(AST) DevSecOps Div SREチーム所属 (2022/5⼊社) ⼊社以来、SREを組織にインストールすることに従事
直近の登壇: - PagerDuty on Tour TOKYO 2024 - HashiConf Global 2024 趣味:ヨガ(RYT200)
イオンスマートテクノロジーとNew Relic
今⽇はNerdGraph APIの話をします
NerdGraph APIとは • GraphQL形式のAPI • NRDB内の情報を取得 • 各機能の設定(ユーザ設定、アラート設定) • 利⽤するためには、User
API Keyが必要 https://docs.newrelic.com/jp/docs/apis/nerdgraph/get-started/introduction-new-relic-nerdgraph/
NerdGraph APIとは • NerdGraph API Explorerやcurlから実⾏可能 (NerdGraph API Explorerでの実⾏イメージ)
弊社の活⽤事例(1) Full Platform Userの棚卸ししないとなぁ‧‧‧ 最終アクセスがn週間以上前のユーザを問答無⽤で basicに降格したいなぁ‧‧‧
弊社の活⽤事例(1) そんな時にNerdGraph API!!
弊社の活⽤事例(1) 最終アクセス⽇の取得、ユーザータイプの変更が可能!!!! https://docs.newrelic.com/jp/docs/apis/nerdgraph/examples/nerdgraph-manage-users/#user-type https://docs.newrelic.com/jp/docs/apis/nerdgraph/examples/nerdgraph-manage-users/#update-users
弊社の活⽤事例(2) 余計なデータをNew Relicに送っちゃっている‧‧‧ アプリの変更は時間がかかるが、すぐに転送を⽌めたい‧‧‧ ※個⼈情報ではないです。
弊社の活⽤事例(2) そんな時にNerdGraph API!!
弊社の活⽤事例(2) NerdGraph APIでデータ保管前にdropすることが可能! https://docs.newrelic.com/jp/docs/data-apis/manage-data/drop-data-using-nerdgraph/
弊社の活⽤事例(3) ダッシュボードはあるけれど、データを集計して数値として csvか何かに保存しておきたい。
弊社の活⽤事例(3) そんな時にNerdGraph API!!
弊社の活⽤事例(3) スクリプトからNerdGraph APIを実⾏してデータの加⼯をしよう! 詳細は明⽇公開のAdvent Calendarで
Happy New Relic Life!!!
以下、告知
告知
募集しています!