Sentry: Searching exception body

Created on 8 Mar 2016  路  5Comments  路  Source: getsentry/sentry

Hi all,

It looks like when searching with plaintext, Sentry does not search the exception associated with a given issue (this is somewhat confirmed by looking at what is indexed in Elastic Search (https://github.com/getsentry/sentry/blob/930cbca0e99db519edca117580680c5005b17b01/src/sentry/search/elastic_search/backend.py#L52)).

Is this intentional (I realize that not all events have this data)? Or would it be possible to also index the exception as well?

Thank you!

Most helpful comment

We're working towards expanding search, but today Sentry more or less only does:

  • exact matches on tags
  • partial matches on the canonical (most recent) "message" and "culprit"

The Elastic Search stuff actually was never used and was committed more as a prototype. Today everything is built on top of SQL, and because of the heaviness of events, and the complexity of good search we've chosen not yet to do extreme indexing on terms.

As part of an upcoming push you'll see the partial matches expand on what they include. Primarily we're going to at least be pushing towards indexing the exception type/value when available.

I'm going to close this, not because we won't do this, but because we're going to be actively improving this but we're not making commitments yet to what that means.

All 5 comments

We're working towards expanding search, but today Sentry more or less only does:

  • exact matches on tags
  • partial matches on the canonical (most recent) "message" and "culprit"

The Elastic Search stuff actually was never used and was committed more as a prototype. Today everything is built on top of SQL, and because of the heaviness of events, and the complexity of good search we've chosen not yet to do extreme indexing on terms.

As part of an upcoming push you'll see the partial matches expand on what they include. Primarily we're going to at least be pushing towards indexing the exception type/value when available.

I'm going to close this, not because we won't do this, but because we're going to be actively improving this but we're not making commitments yet to what that means.

@dcramer thank you for the additional context!

I also need this feature :)

any update?

This ticket was closed three years ago and search is drastically different than it was then. Locking this conversation to avoid house.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sul4bh picture sul4bh  路  3Comments

nickolaskraus-wf picture nickolaskraus-wf  路  3Comments

phiresky picture phiresky  路  3Comments

codekitchen picture codekitchen  路  3Comments

mattrobenolt picture mattrobenolt  路  3Comments