Skip to content

Instantly share code, notes, and snippets.

@mmcdaris
Last active August 29, 2015 14:06
Show Gist options
  • Save mmcdaris/c00e696698ca7dac03c4 to your computer and use it in GitHub Desktop.
Save mmcdaris/c00e696698ca7dac03c4 to your computer and use it in GitHub Desktop.
Some possibly useful endoints

getting your auth_token:
go to https://YOUR-SUBDOMAIN.airbrake.io/users
click you and your user and
your auth_token will be near the bottom of the page

https://airbrake.io/api/v3/projects/<ID>/groups/<ID>?key=<AUTH_TOKEN>

Here is an example group:

{
  "group": {
    "id": **********,
    "projectId": *****,
    "isGlobal": false,
    "resolved": false,
    "errors": [{
      "type": "ActiveRecord::ActiveRecordError",
      "message": "ActiveRecord::ActiveRecordError: ActiveRecord::ActiveRecordError",
      "backtrace": [{
        "file": "(pry)",
        "function": "\u003cmain\u003e",
        "line": 3,
        "column": 0
      }]
    }],
    "context": {
      "environment": "production"
    },
    "lastDeployId": *******,
    "lastDeployAt": "2222-22-22222:20:25.433789Z",
    "lastNoticeId": "*******************",
    "lastNoticeAt": "2222-22-22222:38:51.617593Z",
    "noticeCount": 1,
    "noticeTotalCount": 1,
    "noticeTotalCountSinceLastDeploy": 1,
    "createdAt": "2222-22-222222:38:51.617593Z",
    "environment": "production",
    "component": "",
    "action": ""
  }
}

I will let the team know about the lack of a total count of occurences since last deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment