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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
gree_tech
PRO
May 24, 2016
Technology
420
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
多彩なデータに負けないデータ分析パイプライン構築
gree_tech
PRO
0
8
AI駆動で挑むプロダクト刷新 ── アーキテクチャ設計とワークフロー最適化の実践事例 ──
gree_tech
PRO
0
6
『ヘブンバーンズレッド』のリグレッションテストにおけるストーリーの自動プレイ
gree_tech
PRO
0
7
REALITYにTAチームができるまでの軌跡〜ミッション:ガチャ本数5倍に対応せよ!〜
gree_tech
PRO
0
8
イベント続きでもミスらないライブサービスゲーム公式サイト運用システム開発
gree_tech
PRO
0
8
20年間 SNS サービス「GREE」 を支えた技術の刷新と、長期運用サービスの Kubernetes へのリアーキテクト
gree_tech
PRO
0
30
グラフ基盤ワークフローで実現するLLMによる自動ゲームプレイ
gree_tech
PRO
0
9
AIエージェントに脆弱性診断の仕事を奪われかけた ークローリングからコード全診断までの限界突破ー
gree_tech
PRO
0
16
アバター使っておもろいものを作り続けたい
gree_tech
PRO
0
5
Other Decks in Technology
See All in Technology
Snapshot Testing in Practice: Predictable and Reliable SwiftUI Views
fespinoza
0
190
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
130
Kiro Crewをはじめよう
kizawa2020
1
140
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
360
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
860
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
690
USB PDを使ってスマホを労わりたい
raspython3
0
160
ビジネスを止めない技術的負債の返済のための戦略とその手法 - 技術的負債と向き合う / Complexity and Simplicity
soudai
PRO
3
700
パッチ更新でterraform initが落ちた日
grimoh
1
120
日本語に強いオープンな大規模言語モデル「LLM-jp」
odashi
2
470
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
130
全人類(ほぼ)AWS Organizations の上でAWSを利用している、その世界を知る話
htan
1
140
Featured
See All Featured
Claude Code のすすめ
schroneko
67
230k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
620
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Balancing Empowerment & Direction
lara
6
1.3k
A designer walks into a library…
pauljervisheath
211
25k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
560
4 Signs Your Business is Dying
shpigford
187
23k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Deep Space Network (abreviated)
tonyrice
0
360
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
320
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
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によりグラフ内でより詳細な分 析が可能