BugSnag: List Span Groups
bugsnag_list_span_groupsList and filter span groups for performance monitoring. Sort by duration metrics to find slow operations, or filter by starred groups for quick access.
Instructions
List span groups (operations) tracked for performance monitoring
Toolset: Performance
Parameters:
projectId (string): Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools.
sort (enum): Field to sort by
direction (enum): Sort direction for ordering results (default: "desc")
perPage (number): How many results to return per page. (default: 30)
starredOnly (boolean): Show only starred span groups
nextUrl (string): URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually.
filters (record<string, array>): Apply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). (default: {"span.since":[{"type":"eq","value":"7d"}]})
Use Cases: 1. View all operations being tracked for performance 2. Find slow operations by sorting by duration metrics 3. Filter to starred/important span groups
Examples:
List slowest operations
{
"sort": "duration_p95",
"direction": "desc",
"perPage": 10
}Expected Output: Array of span groups sorted by 95th percentile duration
List starred span groups with filtering
{
"starredOnly": true,
"filters": {
"span_group.category": [
{
"type": "eq",
"value": "full_page_load"
}
]
}
}Expected Output: Array of starred span groups filtered by category
Hints: 1. Span groups represent different operation types (page loads, API calls, etc.) 2. Use sort by duration_p95 or duration_p99 to find the slowest operations 3. Star important span groups for quick access 4. Use nextUrl for pagination
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Field to sort by | |
| filters | No | Apply filters to narrow down the span group list. Use the List Trace Fields tool to discover available filter fields. Time filters support extended ISO 8601 format (e.g. 2018-05-20T00:00:00Z) or relative format (e.g. 7d, 24h). | |
| nextUrl | No | URL for retrieving the next page of results. Use the value in the previous response to get the next page when more results are available. Only values provided in the output from this tool can be used. Do not attempt to construct it manually. | |
| perPage | No | How many results to return per page. | |
| direction | No | Sort direction for ordering results | desc |
| projectId | No | Unique identifier of the project. This is optional if a current project is set and is used to set the current project for BugSnag tools. | |
| starredOnly | No | Show only starred span groups |