From 7d86df6f2cfc3b299055fc22933f01ff1c6952ee Mon Sep 17 00:00:00 2001 From: Nikita Korolev <66738864+doc-sheet@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:27:26 +0300 Subject: [PATCH] Created Error reporting to sentry (markdown) --- Error-reporting-to-sentry.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Error-reporting-to-sentry.md 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