This example demonstrates GoVisual integration with OpenTelemetry.
- Docker and Docker Compose for running Jaeger
- Start Jaeger:
docker-compose up -d- Run the example:
go run main.goThis will start a server on port 8080 with OpenTelemetry instrumentation enabled.
/- Home page with links to API endpoints/api/users- Returns user data with nested spans/api/search?q=test- Search endpoint with query parameter as a span attribute/api/health- Health check endpoint (not traced due to ignore path)
- GoVisual Dashboard: http://localhost:8080/__viz
- Jaeger UI: http://localhost:16686
- GoVisual integration with OpenTelemetry
- Creating custom spans and nested spans
- Adding attributes to spans
- Path-based span filtering
- Viewing traces in Jaeger
- Correlating requests between GoVisual and Jaeger