์ค์
์ด API๋ฅผ ์ฌ์ฉํ๋ ค๋ฉด ๋ธ๋ผ์ฐ์ ์์ด์ ํธ์ Browser Pro+SPA ๋ฒ์ ์ด ํ์ํฉ๋๋ค.
ํต์ฌ๋ก
newrelic.interaction().ignore()
๋ค๋ฅธ SPA save()
ํธ์ถ์ ์ฌ์ ์ํฉ๋๋ค. ์ํธ ์์ฉ์ ๋ฌด์ํ๋ฏ๋ก New Relic์ ์ ์ฅ๋๊ฑฐ๋ ์ ์ก๋์ง ์์ต๋๋ค.
์๊ตฌ ์ฌํญ
์์ด์ ํธ ๋ฒ์ nr-963 ์ด์์ ๋๋ค.
์ค๋ช
์ด SPA ๋ฐฉ๋ฒ์ ์ฌ์ฉํ๋ฉด ์ํธ ์์ฉ์ด ๋ฌด์๋ฉ๋๋ค. New Relic์ ์ ์ฅ๋๊ฑฐ๋ ์ ์ก๋์ง ์์ต๋๋ค. ์ด ๋ฉ์๋๋ save()
์ ๋ํ ์ด์ ๋๋ ์ดํ์ ํธ์ถ์ ์ฌ์ ์ํฉ๋๋ค.
๋ฐํ ๊ฐ
์ด ๋ฉ์๋๋ interaction()
์์ ์์ฑํ ๊ฒ๊ณผ ๋์ผํ API ๊ฐ์ฒด๋ฅผ ๋ฐํํฉ๋๋ค.
์
router.addRoute('/uninteresting-route', () => { newrelic.interaction() // Get handle to current interaction. .ignore(); // Ignore this interaction to ensure it will not be saved. renderUninterestingRoute(); // Render route.});