sentry-extensions / cyclops

Cyclops is meant to be a high performance barrier in front of Sentry (http://getsentry.com).
http://sentry-extensions.github.io/cyclops/
163 stars 15 forks source link

How to use it with on-premise Sentry? #17

Open hltbra opened 9 years ago

hltbra commented 9 years ago

Cyclops relies on a local database to inspect projects and I had a hard time figuring out how to set it up. But after all, I am not using the on-premise version of Sentry and it looks like cyclops depends on the sentry database.

I don't have a sentry database because I use the hosted version of Sentry.

Do you have any plans to integrate cyclops with hosted Sentry?

hltbra commented 9 years ago

This is probably a duplicate of #8

heynemann commented 9 years ago

No plans because we need to be able to access info on the projects to make sure a request is not malicious. If you can mock a database that contains the same info as sentry's it would work I think.

hltbra commented 9 years ago

No plans because we need to be able to access info on the projects to make sure a request is not malicious

In my case, every request comes from a VPC, not from the Internet. It would be nice if this feature of dropping the requests was something configurable in the settings. I will work on this if we start using cyclops at Yipit.

Also, I ran it locally and I had issues with the master version, it complained about not being able to serialize tornado's HTTPHeaders object (https://github.com/heynemann/cyclops/blob/07e6a38d9072ced15c7953ee64170819713e328b/cyclops/handlers/router.py#L44-L55). IIRC I converted that to a dict and it worked. Everything I did was in a fresh virtulaenv.