BugSnag: Get Span Group
bugsnag_get_span_groupRetrieve detailed performance metrics for a specific span group, including percentile statistics (p50-p99) and performance target information. Apply filters to narrow results by device or time.
Instructions
Get detailed performance metrics for a specific span group
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.
spanGroupId (string) required: ID of the span group
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 detailed statistics (p50, p75, p90, p95, p99) for an operation 2. Check if performance targets are configured 3. Monitor span count to understand operation volume
Examples:
Get details for an API endpoint span group
{
"spanGroupId": "[HttpClient]GET-api.example.com"
}Expected Output: Statistics, category, and performance target info
Get span group details with device filtering
{
"spanGroupId": "[HttpClient]GET-api.example.com",
"filters": {
"device.browser_name": [
{
"type": "eq",
"value": "Chrome"
}
]
}
}Expected Output: Statistics filtered for Chrome browser only
Hints: 1. Use List Span Groups first to discover available span group IDs 2. IDs are automatically URL-encoded - provide the raw ID 3. Statistics include p50, p75, p90, p95, p99 percentiles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). | |
| 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. | |
| spanGroupId | Yes | ID of the span group |