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", "eq": "Error"}, | |
{"path": "framework", "eq": "node-js"} | |
]}, | |
"title": "{{default_title}}", | |
"fingerprint": "{{default_fingerprint}}-{{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
_rollbarConfig = { | |
accessToken: 'your token', | |
captureUncaught: true, | |
payload: { | |
environment: 'production', | |
}, | |
checkIgnore: function(isUncaught, args, payload) { | |
if (isUncaught && args[0] && args[0].indexOf('Script error') === 0) { | |
// ignore | |
return true; |
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": "body.trace.frames.*.filename", | |
"contains": "file://" | |
}, | |
"title": "Error on file://", | |
"fingerprint": "error-on-local-filesystem" | |
} | |
] |
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() - 86400 | |
and request.params.some_key LIKE '%some_value%' |
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 body.trace.exception.message, count(*) | |
from item_occurrence | |
where item.counter = 123456 | |
group by 1 | |
order by 2 desc |
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 = { | |
// force rollbar.js to load over HTTPS | |
rollbarJsUrl: 'https://d37gvrvc0wt4s1.cloudfront.net/js/v1.2/rollbar.min.js', | |
// force requests to api.rollbar.com to be made over HTTPS | |
endpoint: 'https://api.rollbar.com/api/1/', | |
// rest of your configuration here... | |
accessToken: "12c99de67a444c229fca100e0967486f", | |
captureUncaught: true, | |
payload: { |
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 all deploys | |
select * from deploy; | |
-- select main columns for all deploys of a specific revision | |
select id, timestamp, environment, comment from deploy | |
where revision = 'some git sha here' | |
-- deploys of 'production' by revision, and when they were first and last deployed |
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 code_version, min(timestamp) | |
from item_occurrence | |
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
<html> | |
<head> | |
<script> | |
var _rollbarConfig = { | |
// token for https://rollbar.com/rollbar/rollbar.js/ , a public project | |
accessToken: "12c99de67a444c229fca100e0967486f", | |
captureUncaught: true, | |
payload: { | |
environment: "test" | |
} |
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": "notifier.name", "eq": "rollbar-android"}, | |
{"path": "body.trace_chain.0.exception.class", "eq": "retrofit.RetrofitError"} | |
]}, | |
"fingerprint": "{{default_fingerprint}}-{{body.trace_chain.0.exception.message}", | |
"title": "{{default_title}}" | |
}] |