This file contains hidden or 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
select item.counter, item.title, count(*) | |
from item_occurrence | |
where timestamp >= unix_timestamp() - 86400 * 7 | |
group by 1 |
This file contains hidden or 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": {"path": "notifier.name", "eq": "rollbar-gem"}, | |
"fingerprint": "{{ default_fingerprint }}-{{level}}", | |
"title": "{{ default_title }} ({{level}})" | |
} | |
] |
This file contains hidden or 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": {"path": "client.javascript.browser", "contains": "FlipboardProxy"}, | |
"title": "FlipboardProxy JS error", | |
"fingerprint": "flipboardproxy js error" | |
}] |
This file contains hidden or 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": {"path": "notifier.name", "eq": "rollbar-browser-js"}, | |
"fingerprint": "{{default_fingerprint}}", | |
"title": "{{body.trace.exception.class}}: {{body.trace.exception.message}}" | |
} | |
] |
This file contains hidden or 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.trace.exception.class", "contains": "E_NOTICE"}, | |
{"path": "language", "eq": "php"} | |
]}, | |
"title": "{{body.trace.exception.class}}", | |
"fingerprint": "{{default_fingerprint}}-{{body.trace.exception.class}}" | |
}] |
This file contains hidden or 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
46c46,47 | |
< You retain your rights to any Content you submit, post or display on or through the Services. By submitting, posting or displaying Content on or through the Services, you grant us a worldwide, non-exclusive, royalty-free license (with the right to sublicense) to use, copy, reproduce, process, adapt, modify, publish, transmit, display and distribute such Content in any and all media or distribution methods (now known or later developed). | |
--- | |
> You retain your rights to any Content you submit, post or display on or through the Services. Except for Content we license to you, we don't claim ownership of any Content that is transmitted, stored, or processed in your account(s). Certain functions available through the Services enable you to grant others access to your Content. If you share your Content with others, they may have access to your Content. | |
> </p> | |
49c50,51 | |
< We may modify or adapt your Content in order to transmit, display or distribute it over computer networks and in various media and/or m |
This file contains hidden or 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": "request.user_ip", "in": ["101.102.103.0", "101.102.103.1", "101.102.103.2"]}, | |
{"path": "framework", "eq": "browser-js"} | |
]}, | |
"title": "Browser JS error on one of our IPs", | |
"fingerprint": "browser js error on one of our IPs" | |
} | |
] |
This file contains hidden or 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
angular.module('exceptionOverride', []).factory('$exceptionHandler', function() { | |
return function(exception, cause) { | |
Rollbar.error(exception, {cause: cause}); | |
throw exception; | |
}; | |
}); |
This file contains hidden or 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
var _rollbarConfig = { | |
// ... | |
transform: function(payload) { | |
var trace = payload.data.body.trace; | |
if (trace && trace.frames) { | |
for (var i = 0; i < trace.frames.length; i++) { | |
var filename = trace.frames[i].filename; | |
if (filename) { | |
// we have a frame with a filename | |
// 1. TODO - check if the filename looks like it's part of our app (and not some external js) |
This file contains hidden or 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
select * | |
from item_occurrence | |
where timestamp >= unix_timestamp() - 24 * 60 * 60 | |
and request.url like '%mydomain.com%' |