rights reserved. Amazon Confidential and Trademark. 3 Unbounce (2019), “Think Fast: The Page Speed Report, Stats & Trends for Marketers,” https://unbounce.com/page-speed-report. Nearly 70% of consumers admit that page speed influences their likeliness to buy.
rights reserved. Amazon Confidential and Trademark. 14 今回、フロントは Nuxt で作成したシングルページアプリケーションです。 RUM Client 導⼊は Package に “aws-rum-web” を追加し、 マネジメントコンソールで表⽰された TypeScript コードスニペットのファイルを plugins 以下に作成するだけです。 Amazon CloudWatch RUM の導⼊ RUM イベントのセッションにユーザーを識別できるように ログイン情報から User ID (uid) をRUM セッション属性に追加しました。
rights reserved. Amazon Confidential and Trademark. 16 Amazon CloudWatch RUM(Errors) "unminifiedStack": ” TypeError: Cannot read properties of undefined (reading 'idʼ) at (../../../../pages/index.vue:172:0) at Object.r (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:692:15) at Proxy.<anonymous> (../../../../node_modules/vuetify/lib/components/VGrid/VCol.mjs:125:7) at Xo (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:6502:15) at renderComponentRoot (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm- bundler.js:5397:25) at Pi.run (../../../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js:225:18) at oe (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:5258:17) at updateComponent (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:5193:22) at n1 (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4701:12) at n1 (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:5598:10)" 2025年3⽉18⽇にリリースされたソースマップ対応を利⽤することで、圧縮前 のスタックトレースを確認可能 実際のソースコードと⾒⽐べることで、エラー発⽣箇所を素早く把握できる # pages/index.vue より抜粋 <v-col v-for="(picture, index) in pictures" :key="index”> <v-card link :to="`/pictures/${picture.id}`"> … </v-card> </v-col> picture がundefined なため エラーになって いると分かった
rights reserved. Amazon Confidential and Trademark. 18 Amazon CloudWatch RUM × AWS X-Ray CloudWatch RUM の トレースID で検索すると、 CloudWatch RUM を含む、リクエストの流れを把握できる
rights reserved. Amazon Confidential and Trademark. 26 [Appendix] 注意 ③ "unminifiedStack": ” TypeError: Cannot read properties of undefined (reading 'id’) at (../../../../pages/index.vue:172:0) UnminifyLineFailure: Source map file 0cec3b1/[as default] /_nuxt/DCLV2syQ.js.map not found at xxx-sorcemap for accountId XXX. at Proxy.<anonymous> (../../../../node_modules/vuetify/lib/components/VGrid/VCol.mjs:125:7) at Xo (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:6502:15) UnminifyLineFailure: Source map file 0cec3b1/[as fn] /_nuxt/DCLV2syQ.js.map not found at xxx-sorcemap for accountId XXX. at Pi.run (../../../../node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js:225:18) at oe (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:5258:17) at updateComponent (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:5193:22) at n1 (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4701:12) at n1 (../../../../node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:5598:10)" } • スタックトレースの内容によって、Unminified が正しく動作しない場合があります。 • この問題はすでにサービスチームにも共有し、対応を予定しています。 • もし問題を発⾒された場合は、ぜひ貴社担当のアカウントチームやサポートへご連絡ください。