Upgrade to Pro — share decks privately, control downloads, hide ads and more …

re:Growth 2016 サンプルコードで理解する X-Rayの使い方

sutetotanuki
December 13, 2016
1.2k

re:Growth 2016 サンプルコードで理解する X-Rayの使い方

re:Growth 2016 発表資料

sutetotanuki

December 13, 2016
Tweet

More Decks by sutetotanuki

Transcript

  1. ݱࡏ࢖͑Δ ϑϨʔϜϫʔΫ &YQSFTT /PEF  5PNDBU +BWB  4QSJOH#PPU +BWB

     $ /&5 ˞ +BWBͱ/PEF͸ࣗ෼Ͱ͔͚͹ରԠͰ͖Δ
  2. XRay.captureAsync('Page Render', function(seg) { res.render('index', { static_path: 'static', theme: process.env.THEME

    || 'flatly', flask_debug: process.env.FLASK_DEBUG || 'false' }); seg.close(); }); $BQUVSF ೚ҙͷॲཧΛΩϟϓνϟ͢Δ͜ͱ΋Ͱ͖·͢
  3. Processor: # Number of go routines used to push segments

    to AWS X-Ray service Routines: 8 খωλ ˞ ίϯϑΟάΈΔͱ93BZσʔϞϯ͸ (PMBOHͰͰ͖ͯΔͬΆ͍