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
マネージドクラウドでのPrometheusなどの活用 /managed-cloud-with-...
Search
KONDO Uchio
October 30, 2017
Technology
2
2.2k
マネージドクラウドでのPrometheusなどの活用 /managed-cloud-with-prometheus
Geeks Who Drink in Fukuoka @Nulab
https://nulab.connpass.com/event/68737/
KONDO Uchio
October 30, 2017
Tweet
Share
More Decks by KONDO Uchio
See All by KONDO Uchio
大規模レガシーテストを 倒すための CI基盤の作り方 / #CICD2023
udzura
5
2.3k
Ruby x BPF in Action / RubyKaigi 2022
udzura
0
200
Narrative of Ruby & Rust
udzura
0
180
開発者生産性指標の可視化 / pepabo-four-keys
udzura
3
1.6k
Talk of RBS
udzura
0
400
Re: みなさん最近どうですか? / FGN tech meetup in 2021
udzura
0
720
Dockerとやわらかい仮想化 - ProSec-IT/SECKUN 2021 edition -
udzura
2
680
Device access filtering in cgroup v2
udzura
1
790
"Story of Rucy" on RubyKaigi takeout 2021
udzura
0
740
Other Decks in Technology
See All in Technology
TypeScript開発にモジュラーモノリスを持ち込む
sansantech
PRO
2
720
AWS環境におけるランサムウェア攻撃対策の設計
nrinetcom
PRO
0
190
AWS re:Invent 2024 recap
hkoketsu
0
200
3年でバックエンドエンジニアが5倍に増えても破綻しなかったアーキテクチャ そして、これから / Software architecture that scales even with a 5x increase in backend engineers in 3 years
euglena1215
10
3.9k
Opcodeを読んでいたら何故かphp-srcを読んでいた話
murashotaro
0
330
DUSt3R, MASt3R, MASt3R-SfM にみる3D基盤モデル
spatial_ai_network
2
290
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
290
[Oracle TechNight#85] Oracle Autonomous Databaseを使ったAI活用入門
oracle4engineer
PRO
1
150
「完全に理解したTalk」完全に理解した
segavvy
1
140
組み込みアプリパフォーマンス格闘記 検索画面編
wataruhigasi
1
170
サーバーなしでWordPress運用、できますよ。
sogaoh
PRO
0
130
成果を出しながら成長する、アウトプット駆動のキャッチアップ術 / Output-driven catch-up techniques to grow while producing results
aiandrox
0
400
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Why Our Code Smells
bkeepers
PRO
335
57k
Code Reviewing Like a Champion
maltzj
521
39k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
180
Designing for Performance
lara
604
68k
Transcript
ۙ౻͏͓ͪ(.01FQBCP *OD (FFLT8IP%SJOL ίϯςφࢹͷجຊ
ۙ౻͏͓ͪ(.01FQBCP *OD (FFLT8IP%SJOL ίϯςφࢹͷجຊ ❌
ϚωʔδυΫϥυݱใࠂ 1ZUIBHPSB4XJUDIFTäJO.POJUPSJOH ۙ౻͏͓ͪ(.01FQBCP *OD (FFLT8IP%SJOL
ΤϯδχΞ ۙ౻͏͓ͪ!VE[VSB ίϯςφͷࣥண·ΔͰͰ͋Γɺ։ൃऀҰಉᛉͨ͠ํ͕͍͍ͱࢥ͍·͢ IUUQIBDPOJXBNSVCZPSH
ΞδΣϯμ wϩϦϙοϓʂϚωʔδυΫϥυͷίϯςφࢹ֓ཁ wίϯςφࢹͷίπ w͍ͬͯΔϛυϧ wϐλΰϥεΠονäʹΑΓίϯςφͷෛՙΛ͍͍ײ͡ʹϢʔβ༷ʹݟ ͤΔ༷ࢠ
ΞδΣϯμ wϩϦϙοϓʂϚωʔδυΫϥυͷίϯςφࢹ֓ཁ wίϯςφࢹͷίπ w͍ͬͯΔϛυϧ wϐλΰϥεΠονäʹΑΓίϯςφͷෛՙΛ͍͍ײ͡ʹϢʔβ༷ʹݟ ͤΔ༷ࢠ ࡶʹߦ͖·͢ʂ ࠷ۙͬͯΔ͜ͱΛී௨ʹ͠·͢ʂ
ϩϦϙοϓʂ ϚωʔδυΫϥυ
ϩϦϙοϓʂϚωʔδυΫϥυ wίϯςφʢ࡞)BDPOJXBʣϕʔεͷϗεςΟϯάαʔϏε wΊͪΌ͍͠ɺͱࢥΘΕ͕ͪͳΫϥυΒ͍͠ػೳΛ؆୯ʹ wΦʔτεέʔϧɺηΩϡϦςΟόʔδϣϯΞοϓରԠͳͲ w1)1ͷ΄͔ɺ3VCZPO3BJMTͷରԠ։࢝ wϕʔλʹ͚Ӷҙ᱕ਐத
ίϯςφϕʔε
ϚωΫϥͷίϯςφࢹ
͜Μͳײ͡ wલఏ ӡ༻ͷࢹͰͳ͍ɻϢʔβ༷ʹࢹঢ়گΛఏڙ͢ΔͨΊͷΈɻ $PNQVUF ίϯςφ͕Δ 8FCQSPYZ 1SPNFUIFVT $PSF"1* શମཧ"1* Ϣʔβ༷
μογϡϘʔυ 1PTUHSF42- NUBJM D"EWJTPS ϝτϦοΫͷྲྀΕ ίϯςφͷϦΫΤετ "MFSUNBOBHFS /HJOYͷϩά DHSPVQ QSPD
ίϯςφΛࢹ͢Δ
͜ͷลΛऔΔ w$16ɺϝϞϦˠDHSPVQ wωοτϫʔΫˠQSPDOFUEFW w8FCϦΫΤετʢεϧʔϓοτɺεςʔλείʔυɺ࣮ࡍͷσʔλస ૹྔʣˠ/HJOYMPHNUBJM
ݱͷDHSPVQͷ༷ࢠ wྫ͑DQVBDDUTUBU root@compute-1:~# cat /sys/fs/cgroup/cpu/$CID/cpu.stat nr_periods 45609 nr_throttled 99 throttled_time
4583736837 w͜ΕUISPUUMFEͱݴ͏TUBUͷྫ wଞʹɺϢʔβ࣌ؒɺγεςϜ࣌ؒͳͲ͕Θ͔Δ
ݱͷQSPDOFUEFWͷ༷ࢠ w3Y5YͦΕͧΕΘ͔ͬͯศར wͲͷίϯςφͷ௨৴ͳͷ͔ύοͱΘ͔Βͳ͍ͷͰɺඥ͚ඞཁ
':*%PDLFSͳͲͰΑ͋͘ΔΞϨ FUI EPDLFS WFUIIPTU WFUIHVFTU WFUIIPTU WFUIHVFTU WFUIIPTU WFUIHVFTU FH
FH ඞཁʹԠ͡/"5ͳͲ /FUXPSL/BNFTQBDFͰִ͢Δ͕ɺ ҰํωοτϫʔΫ͔ΒͳͣϗετଆͷσόΠεΛ௨Δ ͻͱͭͷ)PTU CSJEHF
͍ͬͯΔϛυϧ
D"EWJTPS wલड़ͨ͠DHSPVQɺQSPDͷԼ͔Βίϯςφ͝ͱͷΛऔಘͰ͖Δ w(PPHMFπʔϧ w%PDLFS͚ͩͰͳ͘ʢͱ͍͑ɺ%PDLFSͷରԠਐΜͰ͍Δʣɺ -JOVYతʹ͏͍͢͜͠ػೳ͔Βऔͬͯ͘ΕΔͷͰศརʹͬͯ ͍Δɻ࣮ࢀߟʹͳΔɻ
NUBJM wߏతʹɺ/HJOY͕શͯͷίϯςφͷલஈʹஔ͞ΕΔͷͰɺͦ͜ͷ ϩάΛύʔε͢Δͱ༗ӹͳใ͕ͨ͘͞ΜऔΕΔ w%4-ϕʔεʹϩάύʔε͢Δ܅͕NUBJM w͜Ε(PPHMF wਖ਼نදݱͳͲɺےྗΛײ͡Δ
ͦͯ͠1SPNFUIFVT
"MFSUNBOBHFS w1SPNFUIFVTͱ࿈ܞͯ͠ΞϥʔτΛ֎෦8FCIPPLʹૹͬͯ͘ΕΔ wΞϥʔτͷใࣗମ1SPNFUIFVTͷϧʔϧͰཷΊࠐ·Ε͍ͯ͘ wͲ͏͍͏ϧʔϧ͕͋Δ͔1SPNFUIFVTͷμογϡϘʔυͰݟΒΕΔͷ Ͱศར
"MFSUNBOBHFSXFCIPPL wXFCIPPLʹΑΓɺҙͷαʔϏεʹΞϥʔτͷใΛͤΔ wΞϥʔτൃੜղܾɺؔ͢ΔϨʔϕϧͳͲͦͷ··Ξϥʔτͷ ใʹܧঝ͞ΕΔͷͰɺՃ͍͍ͯ͠ײ͡ʹ wͳ͓ɺXFCIPPLͰड͚औΓʹ͏ߏମBMFSUNBOBHFSͷͷΛ ͦͷ··ྲྀ༻͢Δͱศརͩͬͨʢ(PͳΒʣ
ෛՙ্͕͕ͬͨ͜ͱ͕ Ϣʔβ༷ͷμογϡϘʔυʹ ࡌΔ·Ͱͷྫ
֓ཁ $PNQVUF ίϯςφ͕Δ 8FCQSPYZ 1SPNFUIFVT $PSF"1* શମཧ"1* Ϣʔβ༷ μογϡϘʔυ 1PTUHSF42-
NUBJM D"EWJTPS "MFSUNBOBHFS
ίϯςφผ$16ར༻࣌ؒΛܭࢉ͢Δ $PNQVUF ίϯςφ͕Δ 8FCQSPYZ 1SPNFUIFVT $PSF"1* શମཧ"1* Ϣʔβ༷ μογϡϘʔυ 1PTUHSF42-
NUBJM D"EWJTPS "MFSUNBOBHFS ίϯςφͷ ੜͷ$16౷ܭΛ͏ 1SPNͷSVMFͰ ʢΞϥʔτͰҾֻ͚ͬ ͍͢Α͏ʣ࠶ूܭ
Ξϥʔτ্͕͕Δ $PNQVUF ίϯςφ͕Δ 8FCQSPYZ 1SPNFUIFVT $PSF"1* શମཧ"1* Ϣʔβ༷ μογϡϘʔυ 1PTUHSF42-
NUBJM D"EWJTPS "MFSUNBOBHFS ूܭޙͷΛϕʔεʹ Ҿֻ͚ͬΔ
8FCIPPLΛୟ͘ $PNQVUF ίϯςφ͕Δ 8FCQSPYZ 1SPNFUIFVT $PSF"1* શମཧ"1* Ϣʔβ༷ μογϡϘʔυ 1PTUHSF42-
NUBJM D"EWJTPS "MFSUNBOBHFS ෦"1*ʹ ઐ༻ͷ8FCIPPLΛ ࣮͢Δ
$.%#ʹೖ͍ͬͯ͘ $PNQVUF ίϯςφ͕Δ 8FCQSPYZ 1SPNFUIFVT $PSF"1* શମཧ"1* Ϣʔβ༷ μογϡϘʔυ 1PTUHSF42-
NUBJM D"EWJTPS "MFSUNBOBHFS +40/ܕ͕ ΊͪΌศར
͋ͱ"1*Ͱࢀরͯ͠ग़͢ $PNQVUF ίϯςφ͕Δ 8FCQSPYZ 1SPNFUIFVT $PSF"1* શମཧ"1* Ϣʔβ༷ μογϡϘʔυ 1PTUHSF42-
NUBJM D"EWJTPS "MFSUNBOBHFS ϑϩϯτͰ Θ͔Γ͍͢Α͏Ճ $PSF"1*Ͱ ͋ΔఔΩϟογϡ
ͳΜͱ͍͏ ϐλΰϥεΠονä
1SPNFUIFVTBTB ϐλΰϥεΠονä 1MBUGPSN
1BB11
None
ઈࢍ։ൃதʂ
͕࣌ؒ༨Δͱࢥ͏ͷͰ ϑϦʔτʔΫ
ฉ͖͍ͨͳ͋ʙ w 1SPNFUIFVTͬͯΔʁ͍ͬͯ͏͔Ͳ͏͍͏ҹʁ w 1SPN2-ׂͱେม͡Όͳ͍͔ͬ͢ʁ w "MFSUNBOBHFS͍Ζ͍ΖͰ͖ͦ͏Ͱ͚͢Ͳɺ ɹͲΜͳײ͡Ͱͬͯ·͢ʁ wओʹ!NBUTVNBOB͞Μʹฉ͖͍ͨͰ͢ʂʂʢ໊ࢦ͠ʣ
པΉʂʂҰॹʹαʔϏεΛ࡞ͬͯ͘Εʂʂ̍ ࠷৽ͷ࠾༻ใΛνΣοΫˠ !QC@SFDSVJU