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
AWS X-Ray @Akiba.aws LT大会 #14 番外編 AWS Update
Search
Taewoo Kim
July 17, 2019
Technology
0
1.3k
AWS X-Ray @Akiba.aws LT大会 #14 番外編 AWS Update
Akiba.aws というAWSに関する勉強会で発表させて頂いたスライドです。
Taewoo Kim
July 17, 2019
Tweet
Share
More Decks by Taewoo Kim
See All by Taewoo Kim
AWS Lambda 내부동작 파헤치기
twkiiim
1
2.6k
Amazon VPC Deep Dive: ENI 를 알면 VPC 가 보인다
twkiiim
2
5.4k
온라인 주문 서비스를 서버리스 아키텍쳐로 구축하기
twkiiim
0
390
Amplify Meetup #01
twkiiim
1
6.4k
Amazon EventBridge vs Amazon SNS
twkiiim
0
2.2k
活用パターンで学ぶGraphQL
twkiiim
0
1.3k
AWS 기반 서버리스 아키텍쳐 톺아보기
twkiiim
0
2k
AWS 기반 서버리스 아키텍쳐 톺아보기
twkiiim
1
3k
AppSync를 활용한 리얼타임 서버리스 아키텍쳐
twkiiim
0
4.4k
Other Decks in Technology
See All in Technology
FinJAWS_reinvent2024_recap_database
asahihidehiko
2
220
0→1事業こそPMは営業すべし / pmconf #落選お披露目 / PM should do sales in zero to one
roki_n_
PRO
2
3.4k
Mocking your codebase without cursing it
gaqzi
0
110
Godot Engineについて調べてみた
unsoluble_sugar
0
460
技術に触れたり、顔を出そう
maruto
1
170
タイミーのデータ活用を支えるdbt Cloud導入とこれから
ttccddtoki
2
390
JuliaTokaiとJuliaLangJaの紹介 for NGK2025S
antimon2
1
150
20250122_個人向けCopilotどうなん
ponponmikankan
0
160
いま現場PMのあなたが、 経営と向き合うPMになるために 必要なこと、腹をくくること
hiro93n
9
8.5k
プロダクト開発、インフラ、コーポレート、そしてAIとの共通言語としての Terraform / Terraform as a Common Language for Product Development, Infrastructure, Corporate Engineering, and AI
yuyatakeyama
2
210
Plants vs thieves: Automated Tests in the World of Web Security
leichteckig
0
130
コスト削減と精度維持を両立!類似画像検索システムの内製化成功事例
shutotakahashi
0
190
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Designing for Performance
lara
604
68k
Bash Introduction
62gerente
610
210k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Scaling GitHub
holman
459
140k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
970
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Adopting Sorbet at Scale
ufuk
74
9.2k
The Language of Interfaces
destraynor
156
24k
Transcript
͍ͬͯΔ͔ 93BZͷΞοϓσʔτΛʂʂ AKIBA.AWS #14 ൪֎ฤ AWS Update LT
େձ 2019/07/17
ࣗݾհ •Taewoo Kim (ΩϜς) •AWSࣄۀຊ෦ίϯαϧνϯά෦ •20196݄ೖࣾ •ೖࣾલʹΞϓϦɺΣϒɺόοΫΤϯυɺ ػցֶशͳͲ෯͍Ͱ։ൃ͠·ͨ͠
•ʢࠓͷͱ͜Ζʣ͖ͳAWSαʔϏε AppSyncͱLambda (ओʹGraphQL Serverlessܥ)
࣍ •ຊηογϣϯʹؔ͠·ͯ͠ •AWS X-Rayͱ •AWS X-Rayͷίϯηϓτ •AWS X-Ray
ίϯιϧ •·ͱΊ
ຊηογϣϯʹؔ͠·ͯ͠ •AWS X-Rayೖऀ͚ •AWS X-RayαʔϏεͷجຊతͳಛ •AWS X-RayαʔϏεͷجຊతͳػೳ •AWS
X-Rayͷίϯιϧ
"8493BZͱ •ΞϓϦέʔγϣϯ͕ॲཧ͢ΔϦΫΤετʹؔ͢ΔσʔλΛऩू ͢ΔαʔϏε •σʔλΛදࣔɺϑΟϧλϦϯάɺಎΛऔಘͯ͠ͷࣝผ ࠷దԽͷػձΛࣝผ͢ΔͨΊʹ༻͢ΔπʔϧΛఏڙ
จࣈͰ͔ΒΜʂ
"8493BZͱ
"8493BZͱ
"8493BZͱ
"8493BZͱ
"8493BZͷίϯηϓτ •Segment (ηάϝϯτ) •Subsegment (αϒηάϝϯτ) •Service Graph (αʔϏεάϥϑ)
•Trace (τϨʔε) •Sampling (αϯϓϦϯάʣ •Trace Header (τϨʔεϔομʔ) •Filter Expression (ϑΟϧλࣜ) •Group (άϧʔϓʣ •Annotations and Metadata (ऍͱϝλσʔλʣ •Error, Faults, and Exceptions (Τϥʔɺোɺٴͼྫ֎ʣ
"8493BZͷίϯηϓτ •Segment (ηάϝϯτ) •Subsegment (αϒηάϝϯτ) •Service Graph (αʔϏεάϥϑ)
•Trace (τϨʔε) •Sampling (αϯϓϦϯάʣ •Trace Header (τϨʔεϔομʔ) •Filter Expression (ϑΟϧλࣜ) •Group (άϧʔϓʣ •Annotations and Metadata (ऍͱϝλσʔλʣ •Error, Faults, and Exceptions (Τϥʔɺোɺٴͼྫ֎ʣ
5SBDF τϨʔεʣ֓ཁ Trace (τϨʔε) DynamoDB SQS Lambda Segment
(ηάϝϯτ) Subsegment (αϒηάϝϯτ)
4BNQMJOH αϯϓϦϯά •X-Ray SDKʹΑͬͯαϯϓϦϯάΞϧΰϦζϜ͕ద༻ •σϑΥϧτͰ1ඵ͝ͱʹ࠷ॳͷϦΫΤετΛه •ՃϦΫΤετͷ5%Λه
'JMUFS&YQSFTTJPO ϑΟϧλࣜ ͜͜ʹೖྗ
'JMUFS&YQSFTTJPO ϑΟϧλࣜ ྫ •responsetime > 0.1 •duration >
0.4 AND duration < 1 •http.status = 409 •!ok •http.url CONTAINS “/api/resA/resB” https://docs.aws.amazon.com/xray/latest/devguide/xray-console-filters.html?shortFooter=true#console-filters-syntax
"8493BZ$POTPMF ίϯιϧ ΫϦοΫͨ͠Β ը໘͕։͖·͢
"8493BZ$POTPMF ίϯιϧ
"8493BZ$POTPMF ίϯιϧ
"8493BZ$POTPMF ίϯιϧ
"8493BZ$POTPMF ίϯιϧ
"8493BZ$POTPMF ίϯιϧ εΫϩʔϧՄೳ
"8493BZ$POTPMF ίϯιϧ εΫϩʔϧՄೳ
"8493BZ$POTPMF ίϯιϧ εΫϩʔϧऴΘΓ
"8493BZ$POTPMF ίϯιϧ ͳΜͰ͜Μͳʹ͍ʁ
"8493BZ$POTPMF ίϯιϧ 1. ϚεͰ Drag 2. ࣗಈతʹϑΟϧλద༻ ̏.
ࣗಈత༰มߋ
"8493BZ$POTPMF ίϯιϧ ֤panel͝ͱʹΈ͍߲ͨબՄೳ
"8493BZ$POTPMF ίϯιϧ ͜ΕΫϦοΫͨ͠Β
"8493BZ$POTPMF ίϯιϧ ࣗಈతʹϑΟϧλ͕ࣜ
"8493BZ$POTPMF ίϯιϧ ෳͳϑΟϧλద༻Մೳ
"8493BZ$POTPMF ίϯιϧ
"8493BZ$POTPMF ίϯιϧ
·ͱΊ •AWS X-RayΤϯδχΞʹͱͬͯϥΠϑηΠόʔ •Analytics ػೳ͕Ͱ͖ͯɺΑΓ༗༻ʹͳͬͨ •AWS Lambda ผʹઃఆ͠ͳ͙ͯ͘͢ར༻Մೳ
•AWSΛར༻͢ΔͳΒศརͳπʔϧͰ͢ͷͰΨϯΨϯ ͍·͠ΐ͏ʂ
5)&&/%
None