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
Grafana datasource plugin
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
gree_tech
PRO
May 24, 2016
Technology
0
320
Grafana datasource plugin
gree_tech
PRO
May 24, 2016
Tweet
Share
More Decks by gree_tech
See All by gree_tech
変わるもの、変わらないもの :OSSアーキテクチャで実現する持続可能なシステム
gree_tech
PRO
0
3.6k
マネジメントに役立つ Google Cloud
gree_tech
PRO
0
43
今この時代に技術とどう向き合うべきか
gree_tech
PRO
3
2.5k
生成AIを開発組織にインストールするために: REALITYにおけるガバナンス・技術・文化へのアプローチ
gree_tech
PRO
0
280
安く・手軽に・現場発 既存資産を生かすSlack×AI検索Botの作り方
gree_tech
PRO
0
280
生成AIを安心して活用するために──「情報セキュリティガイドライン」策定とポイント
gree_tech
PRO
1
1.7k
あうもんと学ぶGenAIOps
gree_tech
PRO
0
410
MVP開発における生成AIの活用と導入事例
gree_tech
PRO
0
440
機械学習・生成AIが拓く事業価値創出の最前線
gree_tech
PRO
0
300
Other Decks in Technology
See All in Technology
楽しく学ぼう!ネットワーク入門
shotashiratori
1
460
SRE NEXT 2026 CfP レビュアーが語る聞きたくなるプロポーザルとは?
yutakawasaki0911
1
410
2026-03-11 JAWS-UG 茨城 #12 改めてALBを便利に使う
masasuzu
2
400
Zeal of the Convert: Taming Shai-Hulud with AI
ramimac
0
150
CyberAgentの生成AI戦略 〜変わるものと変わらないもの〜
katayan
0
260
Everything Claude Code を眺める
oikon48
11
6.8k
AI駆動AI普及活動 ~ 社内AI活用の「何から始めれば?」をAIで突破する
oracle4engineer
PRO
1
110
猫でもわかるKiro CLI(AI 駆動開発への道編)
kentapapa
0
250
最強のAIエージェントを諦めたら品質が上がった話 / how quality improved after giving up on the strongest AI agent
kt2mikan
0
190
僕、S3 シンプルって名前だけど全然シンプルじゃありません よろしくお願いします
yama3133
1
230
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
240
コンテキスト・ハーネスエンジニアリングの現在
hirosatogamo
PRO
3
420
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
WENDY [Excerpt]
tessaabrams
9
36k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
67
37k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
140
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
63
51k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Speed Design
sergeychernyshev
33
1.6k
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によりグラフ内でより詳細な分 析が可能