Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Grafana datasource plugin
Search
gree_tech
PRO
May 24, 2016
Technology
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Grafana datasource plugin
gree_tech
PRO
May 24, 2016
More Decks by gree_tech
See All by gree_tech
AI画像認識を活用したゲーム内決済処理検証の自動化
gree_tech
PRO
0
870
長期運営で肥大化したExcelマスターデータの解消に向けた移行事例
gree_tech
PRO
0
890
ゲームにおけるメディアミックス展開との向き合い方 -ヘブンバーンズレッドのメディアミックス企画の立て方-
gree_tech
PRO
0
930
課題発見から始めるプロダクト密着型TA組織立ち上げ 〜小規模TAチームが3Dアセットの生産性を倍にした方法〜
gree_tech
PRO
0
940
属人化を叩き割れ!「制作加速」と「安定化」の矛盾を打破する:8年目プロダクトが辿り着いた「ミスが起こり得ない」アセット制作フローの全貌
gree_tech
PRO
0
880
20年続く長寿タイトルが、15年目にして売上を伸ばせた理由
gree_tech
PRO
0
1.4k
我々はどう生きるか
gree_tech
PRO
2
1k
変わるもの、変わらないもの :OSSアーキテクチャで実現する持続可能なシステム
gree_tech
PRO
0
5.5k
マネジメントに役立つ Google Cloud
gree_tech
PRO
0
110
Other Decks in Technology
See All in Technology
安心して変更できるWebフロントエンドの作り方
pirosikick
4
2.1k
作品が生態系になった ─ Mini Tokyo 3D から世界へ
nagix
0
180
家のリアーキテクト・リファクタリング
suguruooki
0
140
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
160
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
8
790
絵ではじめるKubernetesセキュリティ
aoi1
3
360
Amazon Quick on DesktopがIAM Identity Centerで動かない理由
yukiogawa
0
180
Adaptive Warehouse を今すぐ導入すべき理由と迷ったときの判断基準
__allllllllez__
0
210
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
0
1.2k
AI時代だからこそ、スケールしないことをやろう
yutashigemura
1
170
AIに丸投げしないトイル削減 / Eliminating Toil Without Leaving It All to AI
kohbis
4
1.1k
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
4
1.6k
Featured
See All Featured
Tell your own story through comics
letsgokoyo
1
1.1k
YesSQL, Process and Tooling at Scale
rocio
174
15k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
WCS-LA-2024
lcolladotor
0
830
Accessibility Awareness
sabderemane
1
210
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
330
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
700
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
Chasing Engaging Ingredients in Design
codingconduct
0
310
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
420
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
670
Transcript
Grafana Datasource plugin
自己紹介 • 反田 光洋 • グリー株式会社 インフラストラクチャ部 • 2011年1月入社 •
AWSで運用しているサービスのモニタリング構築を担当
Grafana • 時系列データを可視化 • 多様なグラフ表示オプション • ダッシュボード作成 • Templatingによるグラフの動的生成 •
イベントのAnnotation表示
None
Graph panel Singlestat panel Table panel Elasticsearch plugin CloudWatch plugin
Prometheus plugin Plugin Architecture
Plugin Datasource • Graphite • OpenTSDB • InfluxDB • Elasticsearch
• Prometheus • CloudWatch Panel • Graph • Singlestat • Table • Text
Grafana 3.0 • Next release version • Plugin support! –
Datasource plugin • http://docs.grafana.org/v3.0/plugins/datasources/ – Panel plugin • http://docs.grafana.org/v3.0/plugins/panels/
Plugin Datasource • Graphite • OpenTSDB • InfluxDB • Elasticsearch
• Prometheus • CloudWatch • KairosDB • SimpleJson • TSV Panel • Graph • Singlestat • Table • Text • Pie Chart • Histogram
Datasource pluginの作成手順 • 各種クエリの実装 – query() • Datasourceからのデータ取得 – metricFindQuery()
• Templating用のデータ取得 – annotationQuery() • Annotation用のデータ取得 • クエリエディタのUI実装
Templating & Panel Repeat • 表示対象をドロップダウンで切り替え • メタデータからグラフを動的に生成 – production環境の全DBサーバのグラフ
– DCごとの負荷平均グラフ • モニタリング対象の増減に柔軟に対応 – グラフ追加/削除の設定作業が不要
CloudWatch plugin CloudWatch instance_id i-56787ef3 i-717d74d4 i-f8f2a95d Create graph panels
(Panel Repeat) ec2_instance_attribute(ap-northeast-1, InstanceId, {"tag:Environment": ["production"]})
Annotation • グラフ上にイベント発生の時系列を表示 – アラート発生時点のメトリクス確認 – デプロイ前後での負荷傾向の変化を確認
time instance_id metadata 1458121100000 i-56787ef3 { … } 1458122780000 i-56787ef3
{ … } 1458122840000 i-56787ef3 { … } Prometheus plugin load_one_minutes > bool 0.5 Show annotations
まとめ • Datasource plugin対応で、より汎用的な可 視化ツールとして使える • Templatingにより動的な環境にも対応 • Annotationによりグラフ内でより詳細な分 析が可能