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
730
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
Snowflakeで実現したスピード感あるデータ基盤開発 / rapid data infrastructure development achieved with Snowflake
aeonpeople
1
19
プラットフォーム転換期におけるGitHub Copilot活用〜Coding agentがそれを加速するか〜 / Leveraging GitHub Copilot During Platform Transition Periods
aeonpeople
2
450
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
390
2025年にHCP Vaultを学び直して見えた景色 / Lessons and New Perspectives from Relearning HCP Vault in 2025
aeonpeople
0
290
イオン店舗一覧ページのパフォーマンスチューニング事例 / Performance tuning example for AEON store list page
aeonpeople
2
500
会社もクラウドも違うけど 通じたコスト削減テクニック/Cost optimization strategies effective regardless of company or cloud provider
aeonpeople
2
640
SREがコストセンターではないことを大きな声と実例で伝えたい/SRE Is Not a Cost Center: Real-World Stories That Prove True Value
aeonpeople
1
950
SREチームの越境と対話〜どのようにしてイオンスマートテクノロジーは横軸運用チームの廃止に至ったか〜/the-Cross-border-and-dialogue-of-SRE
aeonpeople
13
7.7k
PagerDuty×ポストモーテムで築く障害対応文化/Building a culture of incident response with PagerDuty and postmortems
aeonpeople
3
850
Featured
See All Featured
For a Future-Friendly Web
brad_frost
180
9.9k
How to Think Like a Performance Engineer
csswizardry
27
2k
Visualization
eitanlees
148
16k
Statistics for Hackers
jakevdp
799
220k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Mobile First: as difficult as doing things right
swwweet
224
10k
Bash Introduction
62gerente
615
210k
Site-Speed That Sticks
csswizardry
11
880
Unsuck your backbone
ammeep
671
58k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
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!!!
以下、告知
告知
募集しています!