diff --git a/Error-reporting-to-sentry.md b/Error-reporting-to-sentry.md new file mode 100644 index 0000000..fa86a06 --- /dev/null +++ b/Error-reporting-to-sentry.md @@ -0,0 +1,13 @@ +Since [https://github.com/seaweedfs/seaweedfs/commit/953f5713490343f3cb4d36eb17bae9e8716068b4](probably 3.65) release will be possible to send errors to sentry. + +To enable reporting some environment variables must be set +* SENTRY_DSN (from project settings) +* SENTRY_ENVIRONMENT (production, prod, test or whatever is used in organization) +* SENTRY_RELEASE (weed@3.64) + +No other settings involved at this moment. + +SENTRY_DSN is the only required option and could be obtained from project settings. + +SENTRY_ENVIRONMENT and SENTRY_RELEASE may be empty or not set at all. +Assign it to what match your organization's flow. \ No newline at end of file