Skip to content

Instantly share code, notes, and snippets.

@brianr
Created September 14, 2017 02:42
Show Gist options
  • Save brianr/a77bab093c8b5204e4cceddd18bf0595 to your computer and use it in GitHub Desktop.
Save brianr/a77bab093c8b5204e4cceddd18bf0595 to your computer and use it in GitHub Desktop.
rollbar custom fingerprinting config to group all javascript errors by message
[
{
"condition": {"all": [
{"path": "body", "contains": "message"},
{"path": "language", "eq": "javascript"}
]},
"fingerprint": "{{body.message.body}}"
},
{
"condition": {"all": [
{"path": "body", "contains": "trace"},
{"path": "language", "eq": "javascript"}
]},
"fingerprint": "{{body.trace.exception.class}}: {{body.trace.exception.message}}"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment