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
49
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mackerel as Code
papix
August 18, 2015
More Decks by papix
See All by papix
Houtou.pm #1
papix
0
2k
Perl歴約10年のエンジニアがフルスタックTypeScriptに出会ってみた
papix
1
790
YAPC::Kyotoの「全て」 / All of "YAPC::Kyoto"
papix
0
1.7k
イベントの中の人 / Inside the Events
papix
0
380
2022年に始めるPerlでWebサービス開発(趣味)
papix
0
660
ワーケーションに関する考察
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
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
0
370
「作れる」と「リリースできる」の間にあったもの── PdMを外して見えた、PdMがやるべき仕事/Buildable ≠ Shippable: What Removing the PM Taught Me About the PM’s Job
yappli_developers
0
440
200人の配信コメント、 全部Jevが仕分けます 〜 マサカリガードを作ってみた 〜
katayamatg
1
530
複雑な業務システムを高速でつくるため、チーム全員をつくれる人へ
ayakurabuchi
0
130
Agent 活用環境の構築・運用のための AWS サービスのご紹介/agentcore-for-building-and-operating-agents
ren8k
1
320
素人でもできた!AIを使った短編小説創作入門
delhi09
PRO
0
300
Don't write the architecture only in the prompt.
neohsu
0
310
re:Inventで、人生は変わったのか? / growth-builders-hub-1-reinvent-2026
mhrtech
2
300
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
150
eBPF 簡介 2026 版
shunghsiyu
0
170
2026 Apache Flink Community Checkpoint
rmetzger
0
140
1週間、Opus封印でお願いします
kintotechdev
1
440
Featured
See All Featured
How to make the Groovebox
asonas
2
2.5k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.2k
From π to Pie charts
rasagy
1
430
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
The Curse of the Amulet
leimatthew05
3
16k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
490
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Chasing Engaging Ingredients in Design
codingconduct
0
380
Abbi's Birthday
coloredviolet
4
11k
The agentic SEO stack - context over prompts
schlessera
0
1k
Transcript
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を活⽤用中! – 時間がないので, 詳しい話は別の機会に… まとめ
✕ ご静聴ありがとうございました!