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
710
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
プラットフォーム転換期におけるGitHub Copilot活用〜Coding agentがそれを加速するか〜 / Leveraging GitHub Copilot During Platform Transition Periods
aeonpeople
0
17
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
220
2025年にHCP Vaultを学び直して見えた景色 / Lessons and New Perspectives from Relearning HCP Vault in 2025
aeonpeople
0
250
イオン店舗一覧ページのパフォーマンスチューニング事例 / Performance tuning example for AEON store list page
aeonpeople
2
430
会社もクラウドも違うけど 通じたコスト削減テクニック/Cost optimization strategies effective regardless of company or cloud provider
aeonpeople
2
620
SREがコストセンターではないことを大きな声と実例で伝えたい/SRE Is Not a Cost Center: Real-World Stories That Prove True Value
aeonpeople
1
900
SREチームの越境と対話〜どのようにしてイオンスマートテクノロジーは横軸運用チームの廃止に至ったか〜/the-Cross-border-and-dialogue-of-SRE
aeonpeople
13
7.5k
PagerDuty×ポストモーテムで築く障害対応文化/Building a culture of incident response with PagerDuty and postmortems
aeonpeople
3
830
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
2.8k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
A designer walks into a library…
pauljervisheath
207
24k
Side Projects
sachag
455
43k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Rails Girls Zürich Keynote
gr2m
95
14k
Optimizing for Happiness
mojombo
379
70k
Faster Mobile Websites
deanohume
309
31k
Being A Developer After 40
akosma
90
590k
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!!!
以下、告知
告知
募集しています!