Save 37% off PRO during our Black Friday Sale! »

Ruby on Rails x Kubernetes におけるObservability / Rails x Kubernetes Observability

46839cf590a549efe13547c17a6b2fde?s=47 Isao Shimizu
September 15, 2021

Ruby on Rails x Kubernetes におけるObservability / Rails x Kubernetes Observability

2021年9月15日(水) 16:00-18:00
NRUG : New Relic User Group
Nerd Life Talk

46839cf590a549efe13547c17a6b2fde?s=128

Isao Shimizu

September 15, 2021
Tweet

Transcript

  1. 3VCZPO3BJMTY,VCFSOFUFT ʹ͓͚Δ0CTFSWBCJMJUZ Isao Shimizu NRUG : New Relic User Group

    Nerd Life Talk (LT) 2021.9.15
  2. mixi, Inc. ࣗݾ঺հ ਗ਼ਫ ܄ !JTBPTIJNJ[V ˔ ೥ʙ גࣜձࣾϛΫγΟ ˓

    ೥ʙ೥ 4/4NJYJ ӡ༻ΤϯδχΞ ˓ ೥ʙ೥ ϞϯελʔετϥΠΫ 43& ˓ ೥ʙݱࡏ Ո଒ΞϧόϜ ΈͯͶ 43& ˔ 43&/&95*/5PLZPొஃ ˔ "844VNNJU5PLZP  ొஃ ˔ "84%FW%BZ5PLZP-5େձ ϕετεϐʔΧʔ ˔ 4PGUXBSF%FTJHOಛूهࣄدߘ ͳͲ
  3. mixi, Inc. શੈք ສਓҎ্ͷར༻ऀ ˞ ג ϛΫγΟௐ΂ɻ J04ɾ"OESPJEΞϓϦొ࿥ऀ਺ɺϒϥ΢β൛ొ࿥ऀ਺ͷ߹ܭ Ո଒ΞϧόϜ ΈͯͶ

    ଟࠃޠରԠɺੈք͔ࠃҎ্ͰαʔϏεఏڙ ೔ຊޠɺӳޠɺதࠃޠʢൟମࣈʣɺؖࠃޠɺϑϥϯεޠ υΠπޠɺεϖΠϯޠʹରԠ
  4. mixi, Inc. ʮՈ଒ΞϧόϜ ΈͯͶʯͷγεςϜ͕ఏڙ͢ΔػೳͷҰྫ ˔ εϚϗͰࡱͬͨࣸਅɾಈըͷอଘͱڞ༗ ˓ Ϣʔβʔͷ୺຤͔Β"NB[PO4΁ͷΞοϓϩʔυΛτϦΨʔʹɺը૾ͷαϜωΠϧੜ੒΍ಈըͷΤϯίʔυΛ࣮ߦ ˔ ϑΥτϒοΫɺϑΥτϓϦϯτɺ%7%ͷੜ੒

    ˓ Ϣʔβʔ͕બΜͩࣸਅɾಈըΛ΋ͱʹ૊൛σʔλɺϓϦϯτσʔλɺ%7%޲͚ಈըͷΤϯίʔυɺ*40Πϝʔδͷੜ੒ɺ ޻৔ͱͷ࿈ܞ ˔ ඵಈըͷੜ੒ ˓ Ξοϓϩʔυ͞Εͨಈը΍ࣸਅΛ૊Έ߹Θͤͯɺظؒ͝ͱʹ੒௕ΛৼΓฦΔ͜ͱ͕Ͱ͖ΔΑ͏ʹͨ͠μΠδΣετಈը Λࣗಈੜ੒ ˓ ͞·͟·ͳػցֶशٕज़ΛԠ༻
  5. ຊ೔͓఻͍͑ͨ͜͠ͱ

  6. ,VCFSOFUFTͰ3BJMTΞϓϦέʔγϣϯΛ ӡ༻͢Δࡍͷ՝୊ͱղܾ๏

  7. mixi, Inc. ,VCFSOFUFTͰ3BJMTΞϓϦέʔγϣϯΛӡ༻͢Δࡍͷ՝୊ ˔ ΞϓϦέʔγϣϯΤϥʔ΍ϨεϙϯεѱԽʹ͍ͪૣ͘ؾ͚ͮΔ͔ ˔ Φʔτεέʔϧ͕૝ఆ௨Γʹػೳ͍ͯ͠Δ͔ ˔ 1VNB͕҆ఆͯ͠ಈ࡞͍ͯ͠Δ͔ ˔

    $16΍ϝϞϦΛޮ཰Α͘ར༻Ͱ͖͍ͯΔ͔ ˔ 00. 0VUPG.FNPSZ ΍$SBTI-PPQ#BDLPGG͕ൃੜ͍ͯ͠ͳ͍͔ ˔ ႈ౳ੑΛ࣋ͨͳ͍ʢϦτϥΠ͠ʹ͍͘ʣόονॲཧ͕ਖ਼ৗ͔Ͳ͏͔ ͜ΕΒΛ0CTFSWBCJMJUZϓϥοτϑΥʔϜͰ͋Δ/FX3FMJDΛ࢖ͬͯͲ͏ղܾ͢Δ͔
  8. mixi, Inc. ΞϓϦέʔγϣϯΤϥʔ΍ϨεϙϯεѱԽʹ͍ͪૣ͘ؾ͚ͮΔ͔ ˔ /FX3FMJD"1. "QQMJDBUJPO1FSGPSNBODF.POJUPSJOH Ͱղܾ ˔ HFNͰͷಋೖͱ͍͏͜ͱ΋͋ͬͯίϯςφͱͷ૬ੑ͕ྑ͍ʢ༨෼ͳϓϩηεෆཁʣ ˔

    ؀ڥม਺Ͱͷઃఆ͕Մೳɻ$POGJH.BQ4FDSFUT͔Β"1.ͷઃఆ͕Ͱ͖Δ ˔ ίϯςφ͕େྔͰ΋ҰݩతʹϝτϦΫε΍ΤϥʔϩάͳͲΛѻ͑Δͷ͕ඇৗʹศར
  9. mixi, Inc. Φʔτεέʔϧ͕૝ఆ௨Γʹػೳ͍ͯ͠Δ͔ ˔ /FX3FMJD,VCFSOFUFTJOUFHSBUJPOͰղܾ ˔ %FQMPZNFOU୯ҐͰ1PE਺͕ͲͷΑ͏ʹ૿ݮ͍ͯ͠Δ͔೺ѲͰ͖Δ ˔ ΦʔτεέʔϧͷτϦΨʔͱͳΔϝτϦΫεͷ೺Ѳ ˓

    ͨͩ͠ɺର৅ͱͳΔϝτϦΫε͕$16΍ϝϞϦ͚ͩͰ͸ͳ͍έʔε͕͋Δ ˔ 1SPNFUIFVTΛར༻ͯ͠δϣϒΩϡʔͷαΠζͳͲΛऩू͍ͯ͠Δ৔߹ ˓ )1"ͱ,&%"Λ࿈ܞͤͯ͞1SPNFUIFVTͷϝτϦΫεΛϕʔεʹΦʔτεέʔϧ ˓ 1SPNFUIFVTଆͰอ࣋͢ΔϝτϦΫε͸͋͘·ͰΦʔτεέʔϧͷͨΊʢ୹ظͷอ࣋Ͱྑ͍ʣ ˓ ϝτϦΫεΛ௕ظͰอ࣋ͤ͞ΔͨΊʹɺ1SPNFUIFVT͔Β/FX3FMJD΁SFNPUFXSJUF͢Δ ˓ ͜ΕʹΑͬͯҰ௨ΓͷϝτϦΫε͕΋Εͳ͘/FX3FMJDͷμογϡϘʔυͰ֬ೝͰ͖Δ
  10. mixi, Inc. 1VNB͕҆ఆͯ͠ಈ࡞͍ͯ͠Δ͔ ˔ 1VNBͷঢ়ଶΛ೺Ѳ͢Δ ˓ ZBCFEBͱ͍͏HFNΛར༻ IUUQTHJUIVCDPNZBCFEBSCZBCFEB ˓ ͞Βʹ1VNBͷεςʔλεऔಘ͢ΔϓϥάΠϯͱɺ1SPNFUIFVT&YQPSUFSͷϓ

    ϥάΠϯΛར༻ ˓ 1VNBͷϫʔΧʔ਺ɺεϨου਺ɺόοΫϩάͳͲͷϝτϦΫεΛऔಘͯ͠μ ογϡϘʔυʹ൓ө
  11. mixi, Inc. $16΍ϝϞϦΛޮ཰Α͘ར༻Ͱ͖͍ͯΔ͔ ˔ /FX3FMJD,VCFSOFUFTJOUFHSBUJPOͰղܾ ˔ ίϯςφ͝ͱͷ$16ɺϝϞϦར༻཰͕ཁٻ SFRVFTUT ʹରͯ͠Ͳͷఔ౓ར༻͞Ε͍ͯ Δ͔Λ೺ѲͰ͖Δ

  12. mixi, Inc. 00. 0VUPG.FNPSZ ΍$SBTI-PPQ#BDLPGG͕ൃੜ͍ͯ͠ͳ͍͔ ˔ /FX3FMJD,VCFSOFUFTJOUFHSBUJPOͰղܾ ˔ ,VCFSOFUFT಺ͷ͞·͟·ͳϦιʔεʹؔ͢ΔσʔλΛऩू ˔

    00.ͷൃੜ ˠϦιʔεௐ੔ ˔ $SBTI-PPQ#BDLPGGͷൃੜ ˠ ΤϥʔϩάͳͲΛ֬ೝͯ͠ରॲ
  13. mixi, Inc. ႈ౳ੑΛ࣋ͨͳ͍ʢϦτϥΠ͠ʹ͍͘ʣόονॲཧ͕ਖ਼ৗ͔Ͳ͏͔ ˔ /FX3FMJD"1. "QQMJDBUJPO1FSGPSNBODF.POJUPSJOH Ͱղܾ ˔ όονॲཧʹ͓͍ͯࣗಈϦτϥΠͰ͖Δ΋ͷɾͰ͖ͳ͍΋ͷ͕͋Δ ˓

    ႈ౳ੑ͕ͳ͍΋ͷɺ௕࣮࣌ؒߦ͞ΕΔ΋ͷͳͲ͸ϦτϥΠ͠ʹ͍͘ ˓ XIFOFWFS DSPOUBC ͔Β$SPO+PCʹҠߦͨ͠΋ͷͷதʹ͍͔ͭ͋ͬͨ͘ ˔ ΞϓϦέʔγϣϯଆͰΤϥʔϋϯυϦϯάΛ͔ͬ͠Γߦ͏͜ͱͰ"1.ͰҟৗΛݕ஌ ˔ ద੾ʹΞϥʔτͯ͠ਓ͕ؒରॲ͢Δ΋ͷ΋
  14. ͬ͘͟Γͱߏ੒ਤ

  15. mixi, Inc. Kubernetes Pod Prometheus New Relic Pod Rails (Puma)

    Pod KEDA Pod New Relic Kubernetes integration newrelic_rpm Grafana Pod Exporter Internet Internet yebeda
  16. ·ͱΊ

  17. mixi, Inc. ·ͱΊ ˔ 3BJMTΛ,VCFSOFUFTͰӡ༻࢝͠ΊΔࡍͷ՝୊Λ঺հ͠·ͨ͠ ˔ 0CTFSWBCJMJUZͱ͍͏఺Ͱ͸ɺ3BJMT͔ͩΒۤ࿑ͱ͍͏఺͸΄ͱΜͲ͋Γ·ͤΜ Ͱͨ͠ʢ"1.͕͔͋ͬͨΒ҆৺Ͱ͖ͨʣ ˔ /FX3FMJD,VCFSOFUFTJOUFHSBUJPO͸ඇৗʹศར

    ˔ 1SPNFUIFVTͱ/FX3FMJDͷ࿈ܞʢSFNPUFXSJUFʣͷػೳʹॿ͚ΒΕͨ ˓ (SBGBOB͔Β1SPNFUIFVTͷϓϩτίϧʢ0QFO.FUSJDT Λ௨ͯ͡άϥϑඳըՄೳ ˔ ଟ͘ͷϝτϦΫεΛऔಘ͓ͯ͘͠ͱτϥϒϧγϡʔςΟϯά͠΍͍͢ ˔ Ϧιʔεޮ཰ΛՄࢹԽ͢Δ͜ͱͰίετ࡟ݮʹ΋ͭͳ͛ΒΕͨ
  18. mixi, Inc. WE ARE HIRING!! ֤ϙδγϣϯੵۃ࠾༻த team.mitene.us

  19. mixi, Inc. ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ