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
590
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
PagerDuty×ポストモーテムで築く障害対応文化/Building a culture of incident response with PagerDuty and postmortems
aeonpeople
3
660
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
2.3k
【ITmedia DX Summit 23/基調講演】イオンが構築する超大規模データ基盤と、その活用戦略
aeonpeople
2
720
イオングループ プロダクト人材向け会社紹介資料 / AEON Product Talent Recruitment Deck
aeonpeople
0
840
DevOpsに向けたテスト方針/Testing Policy for DevOps
aeonpeople
1
160
HCP TerraformとAzure:イオンスマートテクノロジーのインフラ革新 / HCP Terraform and Azure AEON Smart Technology's Infrastructure Innovation
aeonpeople
3
1.6k
イオンスマートテクノロジーとTerraformの歩み、そしてPlaftorm Engineering/AEON Smart Technology with Terraform
aeonpeople
3
960
2025年に活用していきたいAzure関連のブラウザ拡張 / Azure-Related Browser Extensions to Leverage in 2025
aeonpeople
1
410
BizDevOps加速のカギ/the key to accelerating BizDevOps
aeonpeople
0
460
Featured
See All Featured
The Cult of Friendly URLs
andyhume
78
6.4k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Six Lessons from altMBA
skipperchong
28
3.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
Typedesign – Prime Four
hannesfritz
41
2.6k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Art, The Web, and Tiny UX
lynnandtonic
298
21k
Visualization
eitanlees
146
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.3k
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!!!
以下、告知
告知
募集しています!