Created Error reporting to sentry (markdown)

Nikita Korolev
2024-03-22 17:27:26 +03:00
parent b350242fcc
commit 7d86df6f2c
+13
@@ -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.