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
gree_tech
PRO
May 24, 2016
Technology
370
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
変わるもの、変わらないもの :OSSアーキテクチャで実現する持続可能なシステム
gree_tech
PRO
0
4.6k
マネジメントに役立つ Google Cloud
gree_tech
PRO
0
60
今この時代に技術とどう向き合うべきか
gree_tech
PRO
3
2.7k
生成AIを開発組織にインストールするために: REALITYにおけるガバナンス・技術・文化へのアプローチ
gree_tech
PRO
0
420
安く・手軽に・現場発 既存資産を生かすSlack×AI検索Botの作り方
gree_tech
PRO
0
420
生成AIを安心して活用するために──「情報セキュリティガイドライン」策定とポイント
gree_tech
PRO
1
2.2k
あうもんと学ぶGenAIOps
gree_tech
PRO
0
530
MVP開発における生成AIの活用と導入事例
gree_tech
PRO
0
560
機械学習・生成AIが拓く事業価値創出の最前線
gree_tech
PRO
0
440
Other Decks in Technology
See All in Technology
AI駆動開発を通して感じた、 AI時代のデザイナーの役割変化
whisaiyo
3
2k
日本 Fintech 未来予測レポート 2027〜2028年(オリジナル版)
8maki
0
2.1k
やさしいA2A入門
minorun365
PRO
12
1.8k
Bucharest Tech Week 2026 - Reinventing testing practices in the AI era
edeandrea
PRO
1
150
AAIFに入ってみた ~内から見えるコミュニティ動向~
sato4
0
190
白金鉱業Meetup_Vol.24_「AIエージェントは分けるほど良い」は本当か? / Is it true that “the more you divide AI agents, the better”?
brainpadpr
1
360
On-behalf-of Token exchange with AgentCore Identity
hironobuiga
2
160
"何を作るか"を任される エンジニアは、どう育つのか
yutaokafuji
1
660
RSA暗号を手計算したくなること、ありますよね?? (20260615_orestudy6_rsa)
thousanda
0
340
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.9k
気づかぬうちにセキュリティ負債を生むAPIキー運用
sgwrmctk
0
120
チームで進めるAI駆動アジャイル×ウォーターフォール
kumaiu
0
160
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.2k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
380
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Bash Introduction
62gerente
615
220k
Between Models and Reality
mayunak
4
330
Making Projects Easy
brettharned
120
6.7k
How to Talk to Developers About Accessibility
jct
2
230
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
360
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によりグラフ内でより詳細な分 析が可能