Created
September 14, 2017 02:42
-
-
Save brianr/a77bab093c8b5204e4cceddd18bf0595 to your computer and use it in GitHub Desktop.
rollbar custom fingerprinting config to group all javascript errors by message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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