GET]:
| Endpoint | Description |
|---|---|
| /api/[app_id]/graphs.json | Returns graph data |
| Param | Type | Description |
|---|---|---|
| kind | string | Aggregate of provided namespace (web, background, or your own) |
| action_name | string | Example: BlogPostsController-hash-show |
| from | string (ISO8601) | Defaults to 1 day ago if nil |
| to | string (ISO8601) | Defaults to now if nil |
| timeframe | string | Can be: [hour, day, month, year] |
| fields | array | Can be: [mean, count, ex_count, ex_rate, pct] |
action_name or kind parameter.
You can either specify the from an to values, or the timeframe value.
Valid timeframes are: hour, day, month and year
Valid fields are:
| Field | Description |
|---|---|
| mean | mean response time |
| count | throughput |
| ex_count | exception count |
| ex_rate | exception rate (percentage of exceptions from count) |
| pct | 90 percentile (for slow requests only) |
:|: as a separator
So BlogPostsController#show with Mongoid::RecordNotFound becomes:
BlogPostsController-hash-show:|:Mongoid::RecordNotFound"
Example request:
Shell