Proprietary software with code that's viewable is actively harmful. It's worse than being closed. If you read the source, and use it (or a very similar version derived from it) in your code, you're including a copyright violation into your code.
You can provide Sentry-as-a-service but you can't do so commercially.
You can use the Sentry code commercially but you can't use it to provide Sentry-as-a-service commercially.