Skip to content

Instantly share code, notes, and snippets.

@christemple
Last active August 29, 2015 14:26
Show Gist options
  • Save christemple/67dffa7604540a070482 to your computer and use it in GitHub Desktop.
Save christemple/67dffa7604540a070482 to your computer and use it in GitHub Desktop.
Show the total faults that have occurred in production only between <start> & <stop>
# Show the total faults that have occurred in production only between <start> & <stop>
# - sorted by: fault with most occurrences in the time period
# Last week
# https://app.honeybadger.io/projects/42287/faults/top?resolved=f&environment=production&start=2015-07-23&stop=2015-07-30&ignored=f&auth_token=<auth_token>
{
"project_id": 1717,
"faults": [
{
"id": 3151009,
"message": "NameError: undefined local variable or method `asdf' for main:Object",
"total": 210
},
{
"id": 3151010,
"message": "NoMethodError: undefined method `blooper' for []:Array",
"total": 130
},
{
"id": 31510001,
"message": "NoMethodError: undefined method `foo' for {}:Hash",
"total": 20
}
]
}
# Last month
# https://app.honeybadger.io/projects/42287/faults/top?resolved=f&environment=production&start=2015-06-30&stop=2015-07-30&ignored=f&auth_token=<auth_token>
{
"project_id": 1717,
"faults": [
{
"id": 3151009,
"message": "NameError: undefined local variable or method `asdf' for main:Object",
"total": 2100
},
{
"id": 3151010,
"message": "NoMethodError: undefined method `blooper' for []:Array",
"total": 1300
},
{
"id": 31510001,
"message": "NoMethodError: undefined method `foo' for {}:Hash",
"total": 200
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment