Understand how GraphQL requests are grouped, named, and displayed in the Network Requests view.
BugSnag Performance automatically detects GraphQL requests from supported mobile SDKs and extracts the GraphQL operation type (query, mutation, or subscription) and operation name. Instead of grouping every request under a generic endpoint such as POST /graphql, BugSnag creates a separate GraphQL span category and groups requests by operation.
GraphQL operations are displayed alongside standard HTTP requests in the existing Network Requests view. No separate tab is required.
GraphQL span groups use the following display name format:
operation Type endpoint (operation Name)
query /graphql (GetUserProfile)mutation /api/graphql (CreatePost)query /graphql/graphql (GetUserProfile)/graphqlThis operation-level grouping makes it easier to identify which GraphQL operation is contributing to slow or failed requests.
For each GraphQL span group, the Network Requests view provides:
GraphQL Requests Breakdown is available for mobile applications using the Android or iOS Performance SDKs on Select, Preferred, and Enterprise plans with Performance monitoring enabled. This includes trials and supported on-premise releases. Phase 1 supports Android and iOS.
GraphQL span groups are included in BugSnag Performance monitoring alongside other network spans. You can create performance monitors that watch GraphQL Operations either across the whole GraphQL Operations category or for specific operation span groups (for example query /graphql (GetUserProfile)).
To create a performance monitor:
P90 over last 1h) and a span count minimum.GraphQL Operations category.The performance monitor UI shows the category GraphQL Operations alongside other categories (App Starts, Screen Loads, Outbound HTTP Requests).
Performance targets allow you to set default Warning and Critical thresholds for groups of spans. Targets can be configured at the category level (for example the GraphQL Operations category) and overridden per-span-group with custom targets.
BugSnag provides a Default targets view where you can set target values for each category. After adding a default for GraphQL Operations, those thresholds will appear as performance target markers on graphs and in span timelines for any span groups that do not have a custom target.
To set or customize targets:
GraphQL Operations category.Custom targets override the category default for the chosen span group. When a span group has a target configured you will see a performance target indicator in the span list and in the waterfall view for individual spans.
For more details on configuring performance monitors and targets see: Performance monitoring and Performance targets.