アクセス数5倍の急拡大サービスと共に成長するチーム / Accelerate product and team growth with Datadog
by
Kaga
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
ΞΫηε5ഒͷٸ֦େαʔϏε ͱڞʹ͢ΔνʔϜ 2021/04/14 Datadog Observability Day Takashi Kaga @ CAMPFIRE
Slide 2
Slide 2 text
ࣗݾհ ɾՃզ وࢤ (͔͕ ͔ͨ͠)ɹ@TAKA_041 1 ɾגࣜձࣾCAMPFIRE ϓϩμΫτ։ൃ෦ ɹSREνʔϜॴଐ ɾ202010݄ʹCAMPFIREೖࣾ ɹझຯDatadogΛ͍͡Δ͜ͱ
Slide 3
Slide 3 text
ΞδΣϯμ 1. CAMPFIREͷհ 2. αʔϏεͷͱݟ͖͑ͯͨ՝ 3. DatadogಋೖʹΑΔվળͷτϥΠ 4. ܦӦ՝ʹ׆༻͢ΔDatado g 5. ͞ΒͳΔαʔϏεվળʹ͚ͯ
Slide 4
Slide 4 text
ΞδΣϯμ 1. CAMPFIREͷհ 2. αʔϏεͷͱݟ͖͑ͯͨ՝ 3. DatadogಋೖʹΑΔվળͷτϥΠ 4. ܦӦ՝ʹ׆༻͢ΔDatado g 5. ͞ΒͳΔαʔϏεվળʹ͚ͯ
Slide 5
Slide 5 text
CAMPFIREͷհ
Slide 6
Slide 6 text
CAMPFIREͷհ
Slide 7
Slide 7 text
CAMPFIREͷհ
Slide 8
Slide 8 text
CAMPFIREͷհ
Slide 9
Slide 9 text
CAMPFIREͷ։ൃνʔϜ
Slide 10
Slide 10 text
CAMPFIREͷΠϯϑϥߏ
Slide 11
Slide 11 text
CAMPFIREͷΠϯϑϥߏ
Slide 12
Slide 12 text
CAMPFIREͷΠϯϑϥߏ
Slide 13
Slide 13 text
CAMPFIREͷΠϯϑϥߏ
Slide 14
Slide 14 text
CAMPFIREͷΠϯϑϥߏ ECS on EC2͔Β ECS FargateʹҠߦத
Slide 15
Slide 15 text
CAMPFIREͷαʔϏε
Slide 16
Slide 16 text
CAMPFIREͷαʔϏε ϦΫΤετ 4ഒ ϦΫΤετ 5ഒ
Slide 17
Slide 17 text
ΞδΣϯμ 1. CAMPFIREͷհ 2. αʔϏεͷͱݟ͖͑ͯͨ՝ 3. DatadogಋೖʹΑΔվળͷτϥΠ 4. ܦӦ՝ʹ׆༻͢ΔDatado g 5. ͞ΒͳΔαʔϏεվળʹ͚ͯ
Slide 18
Slide 18 text
CAMPFIREͷαʔϏε
Slide 19
Slide 19 text
CAMPFIREͷαʔϏε
Slide 20
Slide 20 text
࣌ͷରԠ ɾΠϯελϯεͷͱεϖοΫͷݟ͠ ɾεϩʔΫΤϦͷղফ ɾϞχλϦϯάͷݟ͠ ɾϏδωεαΠυͱີͳίϛϡχέʔγϣϯ
Slide 21
Slide 21 text
࣌ͷରԠ Ұϲ݄ͰΞΫηε͕4ഒʹͳͬͨ https://note.com/campfire_dev/n/n99fba1c86328
Slide 22
Slide 22 text
࣌ͷରԠΛৼΓฦͬͯ Πϯϑϥ͚ͩͰͳ͘ ΞϓϦέʔγϣϯ͔Β վળΛߦ͍͖͍ͬͯͨ
Slide 23
Slide 23 text
ΞϓϦέʔγϣϯ͔Βͷվળ վળʹ͋ͨͬͯͷݱঢ়ཧ ɹɾΠϯϑϥͷϝτϦΫεऔಘͰ͖͍ͯΔ ɹɾΞϓϦέʔγϣϯͷϩάS3ʹอଘͰ͖͍ͯΔ
Slide 24
Slide 24 text
ΞϓϦέʔγϣϯ͔Βͷվળ վળʹ͋ͨͬͯͷݱঢ়ཧ ɹɾΠϯϑϥͷϝτϦΫεऔಘͰ͖͍ͯΔ ɹɾΞϓϦέʔγϣϯͷϩάS3ʹอଘͰ͖͍ͯΔ ɹɾΞϓϦέʔγϣϯͷৄࡉͳಈ͖ΛѲͰ͖͍ͯͳ͍
Slide 25
Slide 25 text
ΞϓϦέʔγϣϯ͔Βͷվળ ΞϓϦέʔγϣϯͷ ΦϒβʔόϏϦςΟ
Slide 26
Slide 26 text
ΦϒβʔόϏϦςΟʁ ɾObservability = Մ؍ଌੑ ɹɾγεςϜͷ෦ঢ়ଶΛ؍ଌ͢ΔͨΊͷೳྗ
Slide 27
Slide 27 text
ΦϒβʔόϏϦςΟʁ ɾObservability = Մ؍ଌੑ ɹɾγεςϜͷ෦ঢ়ଶΛ؍ଌ͢ΔͨΊͷೳྗ ɹɹɾͦͷγεςϜԿ͕Ͳ͏ಈ͍͍ͯΔ͔
Slide 28
Slide 28 text
ϞχλϦϯάͱΦϒβʔόϏϦςΟ “ϞχλϦϯάνʔϜ͕γεςϜͷঢ়ଶΛࢹͯ͠ѲͰ͖ΔΑ͏ʹ͢Δπʔ ϧٕज़తͳιϦϡʔγϣϯͰ͢ɻϞχλϦϯάͰɺࣄલʹఆٛͨ͠ࢦඪϩ άͷऩूΛߦ͍·͢ɻ ΦϒβʔόϏϦςΟνʔϜ͕γεςϜͷσόοάΛੵۃతʹߦ͑ΔΑ͏ʹ͢Δ πʔϧٕज़తͳιϦϡʔγϣϯͰ͢ɻΦϒβʔόϏϦςΟͰɺࣄલʹఆٛ͞ Ε͍ͯͳ͍ϓϩύςΟͱύλʔϯͷௐࠪΛߦ͍·͢ɻ” DevOps ଌఆ: ϞχλϦϯάͱΦϒβʔόϏϦςΟ https://cloud.google.com/solutions/devops/devops-measurement-monitoring-and-observability
Slide 29
Slide 29 text
ϗϫΠτϘοΫε ϞχλϦϯά “࠷Ұൠతͳཁૉͱͯ͠ɺࢦඪɺϩάɺτϨʔεͷ 3 ͕ͭ͋Γ·͢ɻҰ෦ͷ ϞχλϦϯά γεςϜͰΠϕϯτΛͯ͠ใࠂ͠·͢ɻΠϕϯτɺγες ϜͰͷϢʔβʔͷૢ࡞γεςϜࣗମͷঢ়ଶͷมԽΛද͠·͢ɻ ʢதུʣ ࢦඪɺϩάɺτϨʔεΛଌఆରͷαʔόʔ·ͨྡ͢ΔΤʔδΣϯτ͔ΒϞ χλϦϯά γεςϜʹૹ৴͠ɺγεςϜͷঢ়ଶΛ֬ೝ·ͨਪଌͰ͖·͢ɻ ” DevOps ଌఆ: ϞχλϦϯάͱΦϒβʔόϏϦςΟ https://cloud.google.com/solutions/devops/devops-measurement-monitoring-and-observability
Slide 30
Slide 30 text
CAMPFIREͱΦϒβʔόϏϦςΟ CloudWatchʹΑΓ ϝτϦΫεΛऔಘ ֤छϩά S3ʹอଘ ͜͜ͰτϨʔεΛ ୲ͤ͞Δ
Slide 31
Slide 31 text
ΞϓϦέʔγϣϯͷτϨʔε ɾAPM(Application Performance Monitoring)Λ༻͍Δ ɹɾDatadogNewRelicɺSplunkͳͲ͕ఏڙ ɹɹɾಋೖαʔϏεܦݧऀ͕ϦʔυͰ͖ͨํ͕ྑ͍ ɹɹɾSREνʔϜʹDatadogར༻ܦݧऀ͕2໊(ؚࣗΉ)
Slide 32
Slide 32 text
ΞϓϦέʔγϣϯͷτϨʔε ɾAPM(Application Performance Monitoring)Λ༻͍Δ ɹɾDatadogNewRelicɺSplunkͳͲ͕ఏڙ ɹɹɾಋೖαʔϏεܦݧऀ͕ϦʔυͰ͖ͨํ͕ྑ͍ ɹɹɾSREνʔϜʹDatadogར༻ܦݧऀ͕2໊(ؚࣗΉ)
Slide 33
Slide 33 text
ΞδΣϯμ 1. CAMPFIREͷհ 2. αʔϏεͷͱݟ͖͑ͯͨ՝ 3. DatadogಋೖʹΑΔվળͷτϥΠ 4. ܦӦ՝ʹ׆༻͢ΔDatado g 5. ͞ΒͳΔαʔϏεվળʹ͚ͯ
Slide 34
Slide 34 text
DatadogಋೖʹΑΔվળͷτϥΠ վળͷΰʔϧ ɹɾDatadog APMʹΑΓγεςϜͷ෦ঢ়ଶΛ؍ଌͰ͖Δ ɹɾ؍ଌ݁Ռ͔ΒΑΓྑ͍ϞχλϦϯά͕ߦ͍͑ͯΔ
Slide 35
Slide 35 text
DatadogಋೖͷྲྀΕ ɾΓ͍ͨ͜ͱ ɹɾAPMಋೖʹΑΔΞϓϦέʔγϣϯͷτϨʔγϯά
Slide 36
Slide 36 text
DatadogಋೖͷྲྀΕ ɾΓ͍ͨ͜ͱ ɹɾAPMಋೖʹΑΔΞϓϦέʔγϣϯͷτϨʔγϯά ɾͬͨ͜ͱ ɹɾDatadogಋೖͷॾʑ(APMɺμογϡϘʔυɺLogs ) ɹɾυΩϡϝϯτͷඋ ɹɾϨΫνϟʔձͷ։࠵
Slide 37
Slide 37 text
Datadogಋೖલ
Slide 38
Slide 38 text
Datadogಋೖޙ αΠυΧʔͰDatadog AgentίϯςφΛஔ fluentdίϯςφ͔Β Datadog Logsʹసૹ
Slide 39
Slide 39 text
DatadogಋೖͷྲྀΕ ɾΓ͍ͨ͜ͱ ɹɾAPMಋೖʹΑΔΞϓϦέʔγϣϯͷτϨʔγϯά ɾͬͨ͜ͱ ɹɾDatadogಋೖͷॾʑ(APMɺμογϡϘʔυɺLogs ) ɹɾυΩϡϝϯτͷඋ ɹɾϨΫνϟʔձͷ։࠵
Slide 40
Slide 40 text
υΩϡϝϯτ&ϨΫνϟʔ ɾಋೖͯ͠ऴΘΓʹͨ͘͠ͳ͍ ɹɾͦͦDatadogͰԿ͕Ͱ͖Δͷ͔Λڭ͢Δ ɹɾಋೖ͢ΔϝϦοτ͕͋ΔࣄΛڭ͢Δ ɹɾAPMͷ͢͝͞ͱศར͞Λڭ͢Δ ɹɾՃզ͕࣭૭ޱΛ୲͢Δ
Slide 41
Slide 41 text
υΩϡϝϯτ&ϨΫνϟʔ ɾಋೖͯ͠ऴΘΓʹͨ͘͠ͳ͍ ɹɾͦͦDatadogͰԿ͕Ͱ͖Δͷ͔Λڭ͢Δ ɹɾಋೖ͢ΔϝϦοτ͕͋ΔࣄΛڭ͢Δ ɹɾAPMͷ͢͝͞ͱศར͞Λڭ͢Δ ɹɾՃզ͕࣭૭ޱΛ୲͢Δ ࣾͰͷΤόϯδΣϦετ తͳಈ͖Ͱαϙʔτ
Slide 42
Slide 42 text
DatadogಋೖͷྲྀΕ Datadog APMͷ׆༻Ͱരվળͷר https://note.com/campfire_dev/n/ne027713b8a61
Slide 43
Slide 43 text
Datadog APM “Datadog APM ͱࢄܕτϨʔγϯάɺWeb αʔϏεɺΩϡʔɺσʔλϕʔε͕ ϦΫΤετɺΤϥʔɺϨΠςϯγʔΛࢹ͢ΔͨΊͷඪ४ͷύϑΥʔϚϯεμο γϡϘʔυΛ༻ͯ͠ɺΞϓϦέʔγϣϯΛৄࡉʹՄࢹԽ͠·͢ɻࢄܕτϨʔε ɺϗετɺίϯςφɺϓϩΩγɺαʔόʔϨεػೳશମͰɺϒϥβηογϣϯɺ ϩάɺsynthetic νΣοΫɺωοτϫʔΫɺϓϩηεɺΠϯϑϥετϥΫνϟʔͷϝ τϦΫεʹγʔϜϨεʹؔ࿈͚ΒΕ·͢ɻ” APMͱࢄܕτϨʔγϯά https://docs.datadoghq.com/ja/tracing/
Slide 44
Slide 44 text
Datadog APMͰग़དྷΔ͜ͱ ɾϦΫΤετʙϨεϙϯεͷྲྀΕΛՄࢹԽ ɹɾspanͱ͍͏ཧతͳ࡞ۀ୯ҐͰ·ͱΊΒΕΔ ɹɹɾnginx, rails, redis, mysqlͳͲͷҰ௨Γͷॲཧ ɹɹɾ࣮ߦ͞ΕͨSQLͷΫΤϦ·ͰՄࢹԽ
Slide 45
Slide 45 text
Datadog APMͰग़དྷΔ͜ͱ
Slide 46
Slide 46 text
Datadog APMͰग़དྷΔ͜ͱ
Slide 47
Slide 47 text
Datadog APMͰग़དྷΔ͜ͱ
Slide 48
Slide 48 text
DatadogಋೖʹΑΔվળͷτϥΠ վળͷΰʔϧ ɹɹDatadog APMʹΑΓγεςϜͷ෦ঢ়ଶΛ؍ଌͰ͖Δ ɹɾ؍ଌ݁Ռ͔ΒΑΓྑ͍ϞχλϦϯά͕ߦ͍͑ͯΔ
Slide 49
Slide 49 text
DatadogಋೖʹΑΔվળͷτϥΠ վળͷΰʔϧ ɹɹDatadog APMʹΑΓγεςϜͷ෦ঢ়ଶΛ؍ଌͰ͖Δ ɹɾ؍ଌ݁Ռ͔ΒΑΓྑ͍ϞχλϦϯά͕ߦ͍͑ͯΔ ɹɹ(in progress)
Slide 50
Slide 50 text
ϞχλϦϯάͷઃܭ ɾΑΓޮՌతͳϞχλϦϯάΛߟ͑Δ
Slide 51
Slide 51 text
ϞχλϦϯάͷઃܭ ɾΑΓޮՌతͳϞχλϦϯάΛߟ͑Δ ɹɾϢʔβʔମݧʹӨڹ͕͋Δͷ ɹɾϏδωεཁ݅ʹӨڹ͕͋Δͷ
Slide 52
Slide 52 text
ϞχλϦϯάͷઃܭ ɾΑΓޮՌతͳϞχλϦϯάΛߟ͑Δ ɹɾϢʔβʔମݧʹӨڹ͕͋Δͷ ɹɾϏδωεཁ݅ʹӨڹ͕͋Δͷ ΠϯϑϥدΓͷϞχλϦϯά͔Β ΞϓϦέʔγϣϯدΓͷϞχλϦϯά
Slide 53
Slide 53 text
Datadog͕ͨΒͨ͠ͷ νʔϜͷ։ൃྗ্
Slide 54
Slide 54 text
νʔϜͷ։ൃྗ্ ɾಉ͡ਓͰ͞Βʹଟ͘ͷࣄ͕Ͱ͖ΔΑ͏ʹ ɹɾૣظͷΤϥʔݕ ɹɾஅଓతʹൃੜ͍ͯ͠ΔΤϥʔͷղফ ɹɾఆྔతͳύϑΥʔϚϯεվળ ɹɾΑΓ౿ΈࠐΜͩΞϥʔτରԠͷٞ
Slide 55
Slide 55 text
νʔϜͷ։ൃྗ্ ɾಉ͡ਓͰ͞Βʹଟ͘ͷࣄ͕Ͱ͖ΔΑ͏ʹ ɹɾૣظͷΤϥʔݕ ɹɾஅଓతʹൃੜ͍ͯ͠ΔΤϥʔͷղফ ɹɾఆྔతͳύϑΥʔϚϯεվળ ɹɾΑΓ౿ΈࠐΜͩΞϥʔτରԠͷٞ
Slide 56
Slide 56 text
அଓతΤϥʔͷղফ ɾAPMಋೖޙɺஅଓతʹൃੜ͍ͯ͠Δ5XXΤϥʔ͕ՄࢹԽ ɹɾ։ൃνʔϜͱSREνʔϜͱͰ͜ΕΛௐࠪ ɹɾதʹݪҼ໌ & σϓϩΠʹͯղফ ɹɾDev🤝Ops
Slide 57
Slide 57 text
அଓతΤϥʔͷղফ
Slide 58
Slide 58 text
அଓతΤϥʔͷղফ
Slide 59
Slide 59 text
Datadog͕ͨΒͨ͠ͷ Datadog͕ νʔϜͷΛՃͤ͞Δ
Slide 60
Slide 60 text
ΞδΣϯμ 1. CAMPFIREͷհ 2. αʔϏεͷͱݟ͖͑ͯͨ՝ 3. DatadogಋೖʹΑΔվળͷτϥΠ 4. ܦӦ՝ʹ׆༻͢ΔDatado g 5. ͞ΒͳΔαʔϏεվળʹ͚ͯ
Slide 61
Slide 61 text
ܦӦ՝ʹ׆༻͢ΔDatadog ɾτοϓϖʔδͷվળ͕ܦӦ՝ʹ ɹɾ͜Ε·Ͱܧଓͯ͠ௐࠪΛ࣮ࢪ͖ͯͨ͠
Slide 62
Slide 62 text
ܦӦ՝ʹ׆༻͢ΔDatadog ɾτοϓϖʔδͷվળ͕ܦӦ՝ʹ ɹɾ͜Ε·Ͱܧଓͯ͠ௐࠪΛ࣮ࢪ͖ͯͨ͠ ɹɹɾ֎ܗࢹʹΑΔԠͷௐࠪ ɹɹɾίʔυϦʔσΟϯάʹΑΔௐࠪ
Slide 63
Slide 63 text
ܦӦ՝ʹ׆༻͢ΔDatadog Ͳ͏ͤͳΒDatadogΛ ׆༻ͯ͠Έ·ͤΜ͔ʁ
Slide 64
Slide 64 text
ܦӦ՝ʹ׆༻͢ΔDatadog ɾτοϓϖʔδͷվળ͕ܦӦ՝ʹ ɹɾ͜Ε·Ͱܧଓͯ͠ௐࠪΛ࣮ࢪ͖ͯͨ͠ ɹɹɾ֎ܗࢹʹΑΔԠͷௐࠪ ɹɹɾίʔυϦʔσΟϯάʹΑΔௐࠪ ɹɹɾDatadog APMʹΑΔΤϯυϙΠϯτ୯ҐͰͷௐࠪ ɹɹɾμογϡϘʔυͰͷܧଓతͳϝτϦΫενΣοΫ
Slide 65
Slide 65 text
ܦӦ՝ʹ׆༻͢ΔDatadog ಛఆͷׂ߹ͷϢʔβʔʹର͠ վળͷϦϦʔεΛ࣮ࢪ ఆͨ͠ޮՌ͕֬ೝͰ͖ͨͷͰ ඍௐͨ͠ޙʹ࠶ϦϦʔε
Slide 66
Slide 66 text
ܦӦ՝ʹ׆༻͢ΔDatadog ɾτοϓϖʔδͷվળ͕ܦӦ՝ʹ ɹɾ͜Ε·Ͱܧଓͯ͠ௐࠪΛ࣮ࢪ͖ͯͨ͠ ɹɹɾDatadogʹΑΓৄࡉ͔ͭఆྔతͳݕূ͕Մೳʹ
Slide 67
Slide 67 text
ΞδΣϯμ 1. CAMPFIREͷհ 2. αʔϏεͷͱݟ͖͑ͯͨ՝ 3. DatadogಋೖʹΑΔվળͷτϥΠ 4. ܦӦ՝ʹ׆༻͢ΔDatado g 5. ͞ΒͳΔαʔϏεվળʹ͚ͯ
Slide 68
Slide 68 text
͞ΒͳΔαʔϏεվળʹ͚ͯ ɾϑϩϯτΤϯυ͔ΒͷαʔϏεվળ ɾίʔυϨϕϧͰͷϘτϧωοΫௐࠪ ɾDatadogͰͷSLI/SLOඋ
Slide 69
Slide 69 text
͞ΒͳΔαʔϏεվળʹ͚ͯ ɾϑϩϯτΤϯυ͔ΒͷαʔϏεվળ ɾίʔυϨϕϧͰͷϘτϧωοΫௐࠪ ɾDatadogͰͷSLI/SLOඋ
Slide 70
Slide 70 text
ϑϩϯτΤϯυ͔ΒͷαʔϏεվળ ɾDatadog RUM(Real User Monitoring)ͷಋೖ
Slide 71
Slide 71 text
ϑϩϯτΤϯυ͔ΒͷαʔϏεվળ ɾDatadog RUM(Real User Monitoring)ͷಋೖ ɹɾΑΓϢʔβʔʹ͍ۙҐஔ͔ΒͷϞχλϦϯά ɹɹɾϢʔβʔମݧʹӨڹ͕͋Δͷ
Slide 72
Slide 72 text
͞ΒͳΔαʔϏεվળʹ͚ͯ ɾϑϩϯτΤϯυ͔ΒͷαʔϏεվળ ɾίʔυϨϕϧͰͷϘτϧωοΫௐࠪ ɾDatadogͰͷSLI/SLOඋ
Slide 73
Slide 73 text
ίʔυϨϕϧͰͷϘτϧωοΫௐࠪ ɾDatadog Continuous Profilerͷಋೖ
Slide 74
Slide 74 text
ίʔυϨϕϧͰͷϘτϧωοΫௐࠪ ɾDatadog Continuous Profilerͷಋೖ ɹɾίʔυϨϕϧͰͷϘτϧωοΫௐࠪ ɹɹɾ։ൃऀ͕ΑΓߴ࣭ͳίʔυΛॻ͚ΔΑ͏ʹ ɹɹɾطଘͷίʔυͷϦϑΝΫλϦϯάΛࢧԉ
Slide 75
Slide 75 text
͞ΒͳΔαʔϏεվળʹ͚ͯ ɾϑϩϯτΤϯυ͔ΒͷαʔϏεվળ ɾίʔυϨϕϧͰͷϘτϧωοΫௐࠪ ɾDatadogͰͷSLI/SLOඋ
Slide 76
Slide 76 text
DatadogͰͷSLI/SLOඋ ɾDatadogͰͷSLI/SLOཧ
Slide 77
Slide 77 text
DatadogͰͷSLI/SLOඋ ɾDatadogͰͷSLI/SLOཧ ɹɾαʔϏεͷ࣭ΛఆΊɺҡ࣋͢Δ ɹɹɾϨΠςϯγͳͲͷύϑΥʔϚϯεόδΣοτ ɹɹɾ5XXΤϥʔͳͲͷΤϥʔόδΣοτ
Slide 78
Slide 78 text
·ͱΊ
Slide 79
Slide 79 text
·ͱΊ ɾ1ؒͰΞΫηε5ഒʹαʔϏε͕ ɾͦΕʹ͍ϞχλϦϯάͷվળ͕ٸʹ ɾDatadog APMͷಋೖͰΦϒβʔόϏϦςΟΛ࣮ݱ ɾDatadog͕༷ʑͳ՝ղܾΛޙԡ͠ ɾࠓޙܧଓతͳαʔϏεվળʹDatadogΛ׆༻
Slide 80
Slide 80 text
ʲએʳ
Slide 81
Slide 81 text
ҰਓͰଟ͘ҰԁͰଟ͘ɺ ͍ͱ͓͕ۚΊ͙ΔੈքΛͭ͘Δɻ