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
Mackerel as Code
Search
papix
August 18, 2015
Technology
53
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mackerel as Code
papix
August 18, 2015
Transcript
20 slides
Mackerel as Code by papix (GaiaX Co., Ltd.)
papix (GaiaX Co., Ltd.) R&D Div. Technical Basis Gr. •
Infrastructure Engineer • “Reactio” Engineer • Technical Advanced Officer • Recruitment Officer • Perl Community Specialist • “Perl Entrance” headmaster PAPIX papix _̲_̲papix_̲_̲ takayuki.fukumoto.92 Masteries http://papix.hatenablog.com/ _̲_̲papix_̲_̲ papics (Free materials)
None
✕ Reactioのホストは全て Mackerelで管理理しています
監視も全て Mackerelに任せています
> 最強に便便利利 <
「監視」といえば…
None
ありがたい!!!!!
早速活⽤用してみた
• Mackerelの監視設定を「コード」で管理理 – リポジトリにpushするだけで⾃自動的に 適⽤用されるようにする • メリット – Pull Requestで監視設定を変更更できる – 監視設定の変更更履履歴が(Gitのログで)⾃自動的に 管理理される
Mackerel as Code
デモ
開発者 Reactio-‐‑‒HQ Amazon EC2 Amazon EC2 Amazon EC2 ……… Bitbucket
設定ファイル ①「設定ファイル」を push ②Jenkinsが pull ③「設定ファイル」に応じて Mackerelを操作 ④⾃自動的に監視の設定が 書き換えられる!
Q. MackerelのAPIはどう叩く?
「mkr」コマンドもありますが…
None
本⽇日リリースの0.03で対応!!!
• Reactioでは, 様々な操作をPerlで実装 – ステージング/本番へのデプロイとか… – AMIの作成とか… • なので, Mackerelの操作もPerlで実施 – Reactio本体もPerlなので, ⾔言語を統⼀一
– シェルスクリプトより書きやすい!!! WebSerivce::Mackerel
• 「APIによる監視項⽬目の変更更」はかなり便便利利 – まだまだ⼯工夫の余地がありそう • サービスメトリックの⾃自動スケール(?) • 急激な増加はアラートを出し, 緩やかな増加には アラートを出さない, とか…
• ReactioではまだまだMackerelを活⽤用中! – 時間がないので, 詳しい話は別の機会に… まとめ
✕ ご静聴ありがとうございました!
More Decks by papix
See All by papix
Houtou.pm #1
papix
0
2k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
800
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.7k
イベントの中の人 / Inside the Events
papix
0
380
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
670
ワーケーションに関する考察
papix
3
2.4k
(今更)Amplifyさっくり体験
papix
0
950
はてなにおけるGitHub Actions活用事例 / GitHub Actions in Hatena
papix
0
2.9k
ミススペルを発見するmisspellのご紹介 / Introduce misspell
papix
0
1.3k
Other Decks in Technology
See All in Technology
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
2k
データから見る AI時代のエンジニア転職と採用
junya_okura
4
1.3k
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
260
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
17
10k
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
450
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
110
攻撃と守りは何が変わり、何が変わらないのか~最近の不正アクセスから考える、リスク評価と標準の使いどころ
oidfj
2
330
Welcome JXL!
dynamis
0
130
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
200
Go でトランザクション、どう書いてますか?
knwoop
2
620
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
990
Kubernetes, Agones, WebRTC, GPU で作る クラウドゲーミング基盤を本番運用に乗せるまで
vivion
1
280
Featured
See All Featured
The untapped power of vector embeddings
frankvandijk
2
2k
Designing Experiences People Love
moore
143
24k
Producing Creativity
orderedlist
PRO
348
41k
Side Projects
sachag
456
43k
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Optimising Largest Contentful Paint
csswizardry
37
4k
Raft: Consensus for Rubyists
vanstee
143
7.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The SEO identity crisis: Don't let AI make you average
varn
0
630