-
Notifications
You must be signed in to change notification settings - Fork 3
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
is kent useful to you? #3
Comments
I created something similar in JavaScript for testing the Sentry Electron SDK e2e tests: It works but my main concern has been that this is not actually testing against real Sentry endpoints. To improve on this I've been trying to get Sentry's Relay server working as a test server. Fortunately, it already had mode that did something similar so the change required were minimal. I've got this PR which exposes an http endpoint for querying the latest events: I then created a minimal node.js library that wrap the server process and polls for events: If I can get the Relay changes merged, you could wrap the server process in Python too! |
I don't necessarily need something written in Python. If it's a service, then I can stick it in a Docker container and it doesn't really matter what it's written in as long as it exposes an API that I can query and assert statements against. I looked at Relay and thought about having Kent sit on the receiving end of Relay. So then you could have a Docker container running Relay and Kent and your application would set the SENTRY_DSN to point to Relay and Relay would point to Kent. I didn't end up going with that because I don't need to test and verify the sentry-sdk is working. I only needed to test whether the sentry-sdk is set up in my application correctly to capture errors and send them to a sentry instance and whether the data in the error events is being sanitized correctly. I'll keep tabs on your changes, though. It's definitely interesting. |
FWIW I just successfully used kent to debug Real testing will be against an actual Sentry server, but this was perfect for development. In the past I had set up a full onpremises Sentry instance and while that worked, it was a lot more time consuming. |
This project is very useful! We use Sentry in production and having a lightweight fake Sentry server for local development is very useful. It's not for collection of any exceptions but more so that our code can be written with more of a guarantee that some form of Sentry will exist. |
I'm going to try it :) |
This is great project, thanks for maintaining it! Was super simple to get up and running and makes debugging sentry stuff a breeze. Might I suggest publishing a docker image to docker hub via Github actions on each release (I'd be happy to open a PR with the required workflows), would make it even easier to run as part of a docker-compose stack. EDIT: PR made here: #47 |
I made a docker image release for myself, hopefully it will be useful for others as well! |
I get zero signal for the work I do and have no idea if it's generally positive or negative in the world. I do a lot of work, so this is weird.
I'm experimenting with ways to get some signal with the least amount of effort for you.
If you have some positive feeling about Kent (it's useful! you think it's a cool idea! you with you named your project Kent!), add a 😄 or a +1 or something with the thing in the upper right hand corner.
If you have some negative feeling about Kent, add a :frown: or a -1.
The text was updated successfully, but these errors were encountered: