Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
hltbra opened this issue Nov 5, 2015 · 3 comments
Open

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

hltbra opened this issue Nov 5, 2015 · 3 comments

Comments

@hltbra
Copy link

hltbra commented Nov 5, 2015

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
Copy link
Author

hltbra commented Nov 11, 2015

This is probably a duplicate of #8

@heynemann
Copy link
Member

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
Copy link
Author

hltbra commented Nov 11, 2015

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants