Documentation Index
Fetch the complete documentation index at: https://docs.getnetra.ai/llms.txt
Use this file to discover all available pages before exploring further.
Custom views let you save filter configurations, column layouts, and sorting preferences for the Traces page. This is useful for creating role-specific dashboards, recurring debugging workflows, or team-shared analysis setups.
Why Use Custom Views?
Instead of reconfiguring filters every time you open the Traces page, create views for common scenarios:
- Production Errors - Filter to failed traces in production environment
- High Latency - Show traces exceeding a duration threshold
- Specific Agent - Focus on traces from a particular agent or workflow
- Cost Analysis - Sort by token usage with cost columns visible
Creating a Custom View
Start by setting up the filters you want to save:
- Navigate to Observability → Traces
- Use the filter bar to add conditions:
- Time range - Select a relative range like “Past 24 hours” or “Past 7 days”
- Status - Filter by success, error, or specific status codes
- Environment - Filter by production, staging, development
- Duration - Set minimum/maximum duration thresholds
- Custom attributes - Filter by any attribute you’ve added to spans
Customize which columns appear in the trace list:
- Click the Configure Columns button in the toolbar
- Toggle columns on/off:
Name - Trace/span name
Duration - Total execution time
Status - Success/error status
Tokens - Total token usage
Cost - Estimated cost
Environment - Deployment environment
Timestamp - When the trace started
- Custom attributes you’ve defined
- Drag columns to reorder them
Step 3: Set Sorting
Click on any column header to sort by that field. Click again to toggle between ascending and descending order.
Step 4: Save the View
- Click the Save View button (or the dropdown next to “Views”)
- Enter a name for your view (e.g., “Production Errors - Last 24h”)
- Optionally add a description
- Choose visibility:
- Private - Only you can see this view
- Team - All team members can access this view
- Click Save
Managing Views
Switching Between Views
- Click the Views dropdown in the toolbar
- Select from your saved views or team views
- The page updates with the saved configuration
Editing a View
- Load the view you want to edit
- Make your changes to filters, columns, or sorting
- Click Save View → Update Current View
Deleting a View
- Click the Views dropdown
- Hover over the view you want to delete
- Click the trash icon
- Confirm deletion
Setting a Default View
- Click the Views dropdown
- Click the star icon next to your preferred view
- This view will load automatically when you open the Traces page
Example Views
Here are some useful views to create for your team:
Production Errors
| Setting | Value |
|---|
| Filters | Environment = production, Status = error |
| Time Range | Past 24 hours |
| Columns | Name, Duration, Status, Error Message, Timestamp |
| Sort | Timestamp (descending) |
High Token Usage
| Setting | Value |
|---|
| Filters | Tokens > 5000 |
| Time Range | Past 7 days |
| Columns | Name, Tokens, Cost, Model, Duration |
| Sort | Tokens (descending) |
Slow Requests
| Setting | Value |
|---|
| Filters | Duration > 5s, Environment = production |
| Time Range | Past 24 hours |
| Columns | Name, Duration, Span Count, Status |
| Sort | Duration (descending) |
Agent Debugging
| Setting | Value |
|---|
| Filters | Span Type = agent, Name contains “support-agent” |
| Time Range | Past 1 hour |
| Columns | Name, Duration, Status, User ID, Session ID |
| Sort | Timestamp (descending) |
Sharing Views with Your Team
Team views are visible to all members of your Netra project:
- When saving a view, select Team visibility
- Team members will see it in their Views dropdown under “Team Views”
- Only the creator or project admins can edit/delete team views
This is useful for:
- Standardizing how your team investigates issues
- Onboarding new team members with pre-configured views
- Creating role-specific dashboards (e.g., “On-Call View”, “Cost Review”)
Tips for Effective Views
-
Use descriptive names - Include the key filter criteria in the name (e.g., “Prod Errors - 24h” not just “Errors”)
-
Keep views focused - Create multiple specific views rather than one complex view
-
Use relative time ranges - “Past 24 hours” stays relevant; fixed date ranges become stale
-
Document with descriptions - Add notes about when to use each view
-
Review periodically - Delete views that are no longer useful
Next Steps