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

API to make analysing logs much easier #2351

Closed
mlowicki opened this issue Nov 22, 2015 · 1 comment
Closed

API to make analysing logs much easier #2351

mlowicki opened this issue Nov 22, 2015 · 1 comment

Comments

@mlowicki
Copy link

We're using Sentry heavily to log uncaught exceptions and while debugging various things (for Django, Twisted and standalone applications) to get besides traceback also various data passed through extra parameter to logger's methods.

Many times we need to analyse gathered data beyond what is provided out of the box like filters based on User-Agent strings but f.ex. data passed in extra.

We've implemented separate tool called sentryanal which talks directly to database to extract data and provides mechanics to filter or group data. Unfortunately such integration via database has many obvious drawbacks (basically each change in schema breaks our tool).

My proposal is to expose API which gives an access to gathered data so we can avoid connecting directly to database. Basic support would be to provide an option to get all samples from particular group.

Let me know what do you think. If this makes useful to push upstream we'll try to organise resources on our side to implement it.

@dcramer
Copy link
Member

dcramer commented Nov 22, 2015

There is a web API that would let you crawl all events for a given group. We wouldn't do this on the server as it has unbounded response time, but the web API has basic pagination. This is the same API that's used to render the page these days, which means everything that is available there is available in the API.

@dcramer dcramer closed this as completed Nov 22, 2015
@github-actions github-actions bot locked and limited conversation to collaborators Dec 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants