Skip to main content
Untrace Go SDK Light

Overview

The Untrace Go SDK provides zero-latency LLM observability with automatic instrumentation for all major LLM providers. Built on OpenTelemetry standards, it captures comprehensive trace data and routes it to your chosen observability platforms.

Quick Start

Start tracing LLM calls in minutes

Framework Support

Gin, Echo, Fiber, and microservices

Performance

High-performance, low-overhead tracing

Examples

Real-world examples and best practices

Installation

Install the Untrace Go SDK using go get:

Quick Start

Basic Setup

Manual Instrumentation

Configuration

Configuration Options

Environment Variables

The SDK supports configuration via environment variables:

Configuration from Environment

Framework Integration

Gin Framework

Echo Framework

Fiber Framework

gRPC Integration

Advanced Usage

Workflow Tracking

Metrics Collection

Custom Attributes

Error Handling

Examples

OpenAI Integration

Batch Processing

Middleware for HTTP Handlers

Performance

Sampling

Batching

Best Practices

1. Use Context Propagation

2. Handle Errors Properly

3. Use Semantic Attributes

4. Initialize Early

Troubleshooting

Common Issues

API Reference

Core Types

Client Methods

Support

Next Steps

Dashboard Guide

Learn to use the Untrace dashboard

Configuration

Configure your observability setup

Examples

Browse Go example implementations

API Reference

Complete API documentation