The GoVisual dashboard provides a real-time view of HTTP requests flowing through your application.
By default, the dashboard is available at http://localhost:<your-port>/__viz. You can customize this path using the WithDashboardPath option:
handler := govisual.Wrap(
mux,
govisual.WithDashboardPath("/__debug"),
)The main view displays a table of recent HTTP requests with the following information:
- Method: HTTP method (GET, POST, PUT, etc.)
- Path: The request URL path
- Status: HTTP status code (color-coded)
- Time: Response time in milliseconds
- Timestamp: When the request was received
The table automatically updates as new requests come in.
Clicking on a request in the table reveals detailed information:
- Full URL (including query parameters)
- HTTP method
- Headers
- Request body (if enabled)
- Cookies
- Status code
- Headers
- Response body (if enabled)
- Content type
- Response size
- Total response time
- Time spent in each middleware
- Network latency
- Visual representation of middleware execution
- Time spent in each middleware
- Call hierarchy
The dashboard includes filtering capabilities:
- Filter by HTTP method (GET, POST, etc.)
- Filter by status code or status code range (2xx, 4xx, etc.)
- Search by URL path
- Filter by time range
- Clear All: Remove all requests from the view
- Auto-refresh: Toggle automatic updates
- Columns: Show/hide specific columns
- Export: Download request data as JSON
The GoVisual dashboard is compatible with all modern browsers:
- Chrome (recommended)
- Firefox
- Safari
- Edge
If you can't access the dashboard:
- Verify that the dashboard path is correct
- Check that your application is running
- Ensure no path conflict with your application's routes
- Check if any security middleware is blocking access
If requests aren't showing up:
- Ensure the routes are passing through the GoVisual middleware
- Check if the routes are in the ignored paths list
- Make sure you're sending requests to the instrumented handler
- Configuration Options - Configure dashboard behavior
- Request Logging - Control what gets logged
- Middleware Tracing - How middleware tracing works
