File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -30,27 +30,6 @@ cargo build --release
3030
3131Refer to ` ./server/vss-server-config.toml ` to see available configuration options.
3232
33- ### Sentry Integration (Optional)
34-
35- VSS supports [ Sentry] ( https://sentry.io ) for error tracking and monitoring. To enable Sentry:
36-
37- 1 . ** Via Configuration File** : Add the following to your ` vss-server-config.toml ` :
38- ``` toml
39- [sentry_config ]
40- dsn = " https://your-sentry-dsn@sentry.io/project-id"
41- environment = " production" # Optional: e.g., "production", "staging", "development"
42- sample_rate = 1.0 # Optional: Value between 0.0 and 1.0 (default: 1.0)
43- ```
44-
45- 2 . ** Via Environment Variables** (recommended for production):
46- - ` SENTRY_DSN ` : Your Sentry DSN
47- - ` SENTRY_ENVIRONMENT ` : Environment name (e.g., "production")
48- - ` SENTRY_SAMPLE_RATE ` : Sample rate for error events (0.0 to 1.0)
49-
50- Environment variables take precedence over configuration file values.
51-
52- If no DSN is provided or the ` sentry_config ` section is omitted, Sentry will not be initialized.
53-
5433### Support
5534
5635If you encounter any issues or have questions, feel free to open an issue on
You can’t perform that action at this time.
0 commit comments