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
830
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
「もしもデータ基盤開発で『強くてニューゲーム』ができたなら今の僕はどんなデータ基盤を作っただろう」
aeonpeople
0
270
It's Automatic〜7回目のベルでアラートを取った君へ〜/ignite-aks-automate
aeonpeople
0
480
"AKSのアップグレードに失敗しない漢"への道/failure-of-upgrade-is-not-an-option
aeonpeople
0
1.2k
Terraformのdrift(差分)を全部AIに任せた!...かった
aeonpeople
0
110
Azureコストと向き合った、4年半のリアル / Four and a half years of dealing with Azure costs
aeonpeople
1
410
Snowflakeで実現したスピード感あるデータ基盤開発 / rapid data infrastructure development achieved with Snowflake
aeonpeople
1
140
プラットフォーム転換期におけるGitHub Copilot活用〜Coding agentがそれを加速するか〜 / Leveraging GitHub Copilot During Platform Transition Periods
aeonpeople
2
620
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
660
2025年にHCP Vaultを学び直して見えた景色 / Lessons and New Perspectives from Relearning HCP Vault in 2025
aeonpeople
0
450
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
0
980
A designer walks into a library…
pauljervisheath
210
24k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
79
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
320
Odyssey Design
rkendrick25
PRO
0
450
Become a Pro
speakerdeck
PRO
31
5.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.8k
Bash Introduction
62gerente
615
210k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
260
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
36
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
81
Building the Perfect Custom Keyboard
takai
1
670
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!!!
以下、告知
告知
募集しています!