Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i18n(ko-KR): add sentry.mdx #8596

Merged
merged 4 commits into from
Jun 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update sentry.mdx
  • Loading branch information
jsparkdev committed Jun 20, 2024
commit 165d4c1f1f458b6a1aa5f3dd2abc1b73900cabe8
27 changes: 21 additions & 6 deletions src/content/docs/ko/guides/backend/sentry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ i18nReady: true
---
import ReadMore from '~/components/ReadMore.astro';
import { Steps } from '@astrojs/starlight/components';
import PackageManagerTabs from '~/components/tabs/PackageManagerTabs.astro'

[Sentry](https://sentry.io)는 개발자가 실시간으로 문제를 식별, 진단 및 해결할 수 있도록 설계된 포괄적인 애플리케이션 모니터링 및 오류 추적 서비스를 제공합니다.

Expand All @@ -25,9 +26,23 @@ Sentry는 애플리케이션 런타임에서 SDK를 사용하여 데이터를

Astro CLI에서 선택한 패키지 관리자에 대해 다음 명령을 실행하여 SDK를 설치합니다.

```bash
npx astro add @sentry/astro
```
<PackageManagerTabs>
<Fragment slot="npm">
```shell
npx astro add @sentry/astro
```
</Fragment>
<Fragment slot="pnpm">
```shell
pnpm astro add @sentry/astro
```
</Fragment>
<Fragment slot="yarn">
```shell
yarn astro add @sentry/astro
```
</Fragment>
</PackageManagerTabs>

Astro CLI는 SDK 패키지를 설치하고 `astro.config.mjs` 파일에 Sentry 통합을 추가합니다.

Expand All @@ -52,8 +67,8 @@ export default defineConfig({
sentry({
dsn: 'https://[email protected]/0',
sourceMapsUploadOptions: {
project: 'example-project',
authToken: process.env.SENTRY_AUTH_TOKEN,
project: 'example-project',
authToken: process.env.SENTRY_AUTH_TOKEN,
},
}),
],
Expand All @@ -70,4 +85,4 @@ export default defineConfig({
<button onclick="throw new Error('This is a test error')">Throw test error</button>
```

[sentry.io](https://sentry.io/)에 로그인하여 프로젝트를 열어 기록된 오류를 확인하고 해결할 수 있습니다.
[sentry.io](https://sentry.io/)에 로그인하여 프로젝트를 열어 기록된 오류를 확인하고 해결할 수 있습니다.
Loading