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

Configure status-go to use Sentry #21656

Open
igor-sirotin opened this issue Nov 20, 2024 · 0 comments
Open

Configure status-go to use Sentry #21656

igor-sirotin opened this issue Nov 20, 2024 · 0 comments
Labels
feature feature requests

Comments

@igor-sirotin
Copy link
Contributor

igor-sirotin commented Nov 20, 2024

Feature Request

What's need to be done:

  1. When building status-go, set these environment variables:
    • SENTRY_CONTEXT_NAME="status-mobile"
    • SENTRY_CONTEXT_VERSION=<mobile-version-here>
  2. Set requests.InitializeApplication.sentryDSN parameter to the value stored in SENTRY_DSN_STATUS_MOBILE environment variable.
    It will be provided by CI in release builds.
    You can use any other env var variable name, but let infra team know in Setup Sentry secrets on CI status-go#6114.

User Story

As a developer, I want to receive Sentry crash reports for the panics in status-go.

Acceptance Criteria

  1. Run status-mobile
  2. Make some action that leads to a panic in status-go (just hardcode something for testing purposes)
    NOTE: for now only these panics are reported:
    • In /mobile/status.go endpoints
    • In any goroutines
  3. Able to see the crash report at sentry.infra.status.im

Notes

  1. Sentry is integrated here (not merged yet):
  2. Desktop example here:
  3. CI is not yet configured to provide environment variables. We're doing it.
  4. To get access to Sentry, ping @markoburcul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature feature requests
Projects
Status: No status
Development

No branches or pull requests

1 participant