@sentry/browser
@sentry/node
raven-js
raven-node
_(๋
ธ๋์ฉ ๋ ์ด๋ธ)_5.12.1
๋ค์๊ณผ ๊ฐ์ด fullstory ์ธ์ URL์ sentry์ ์ถ๊ฐ ๋ฐ์ดํฐ๋ก ๋ณด๋ด ์ ์ฒด ์คํ ๋ฆฌ๋ฅผ sentry์ ํตํฉํ๋ ค๊ณ ํฉ๋๋ค.
/**
* https://help.fullstory.com/hc/en-us/articles/360020828073-FS-getCurrentSessionURL-Retrieving-a-session-URL-at-time-of-recording
* https://help.fullstory.com/hc/en-us/articles/360020624234-Roll-Your-Own-Integration
*/
// eslint-disable-next-line no-underscore-dangle
window._fs_ready = () => {
Sentry.configureScope((scope) => {
scope.setExtra('fullstoryUrl', window.FS.getCurrentSessionURL());
});
};
Sentry ์น ์์ฉ ํ๋ก๊ทธ๋จ์์ fullstoryUrl
๊ฐ ๋ํ๋์ง๋ง ์๋์ ๊ฐ์ด PII creditcard:filter
๊ท์น์ ๋ฐ๋ผ ์ผ๋ถ ๋ถ๋ถ์ ํํฐ๋งํ์ต๋๋ค.
fullstoryUrl
๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
https://app.fullstory.com/ui/<accountId>/session/5472936014675968%3A4548674178482176"
์ผํธ๋ฆฌ๊ฐ ์ด ๋ถ๋ถ์ ์ธ์งํ ๊ฒ ๊ฐ๋ค.
์ ์ฉ์นด๋ ๋ฒํธ๋ก...
์ด๋ฌํ ํํฐ๋ง ๊ท์น์ ๋นํ์ฑํํ ์ ์๋ ๋ฐฉ๋ฒ์ด ์์ต๋๊น? ์๋๋ฉด ๋ค๋ฅธ ๋ฐฉ๋ฒ์ ์ฌ์ฉํ์ฌ ํด๋น URL์ ์ด๋ป๊ฒ๋ ๋ณด๋ด์ผ ํฉ๋๊น?
ํ๋ก์ ํธ ์ค์ ์์ ์์ ํ๋์ fullstoryUrl
๋ฅผ ์ถ๊ฐํ์ญ์์ค. ์๋ฒ ์ธก ์คํฌ๋ฌ๋น์ ๋ํ ์์ธํ ๋ด์ฉ์ https://docs.sentry.io/data-management/sensitive-data/#server -side-scrubbing์์ ์ฐพ์ ์ ์์ต๋๋ค.
๊ทธ๊ฒ์ด ๋น์ ์ ์ํด ์๋ํ๋์ง ์๋ ค์ฃผ์ญ์์ค. ๊ทธ๋ฌ๋ฉด ๋ค์ ์ด๊ฒ ์ต๋๋ค.
@untitaker ์ ๋ง ๊ฐ์ฌํฉ๋๋ค! ์๋ํฉ๋๋ค ๐ช
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
ํ๋ก์ ํธ ์ค์ ์์ ์์ ํ๋์
fullstoryUrl
๋ฅผ ์ถ๊ฐํ์ญ์์ค. ์๋ฒ ์ธก ์คํฌ๋ฌ๋น์ ๋ํ ์์ธํ ๋ด์ฉ์ https://docs.sentry.io/data-management/sensitive-data/#server -side-scrubbing์์ ์ฐพ์ ์ ์์ต๋๋ค.