Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.
TypeScript agent-harnessagent-harness-engineeringai-engineeringai-observabilityamd-gpuclaude-codeclickhousecodexcoding-agentcoding-agentscursorgenaigpu-monitoringllm-observabilityllmopsnvidia-smiobservabilityopen-sourceopenaiopentelemetry
Changelog
All notable changes to the OpenLIT Go SDK will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.0] - 2026-03-25
Added
EvaluateRule()— Rule Engine SDK function to evaluate trace attributes against OpenLIT rules and retrieve matching contexts, prompts, and evaluation configsRuleEntityTypeconstants:RuleEntityContext,RuleEntityPrompt,RuleEntityEvaluationEvaluateRuleOptionsandEvaluateRuleResulttypes for structured request/response- Environment variable fallbacks:
OPENLIT_URLandOPENLIT_API_KEY - Standalone HTTP call — does not require
openlit.Init() - Unit tests with
httptestfor all success/error/timeout paths - Documentation in README with usage examples and parameter reference
[0.1.0] - 2026-02-26
Added
- Initial release of the OpenLIT Go SDK
- OpenTelemetry-native instrumentation for OpenAI (chat completions, streaming, embeddings, image generation)
- OpenTelemetry-native instrumentation for Anthropic (messages, streaming, tool use)
- Automatic token usage tracking with
gen_ai.client.token.usagehistogram - Operation duration metric
gen_ai.client.operation.duration - Streaming metrics:
gen_ai.server.time_to_first_token,gen_ai.server.time_per_output_token,gen_ai.client.operation.time_to_first_chunk,gen_ai.client.operation.time_per_output_chunk,gen_ai.server.request.duration - Error-path metrics with
error.typedimension on all non-streaming operations - Automatic cost calculation using built-in pricing data
- Prompt cache token tracking for Anthropic (
cache_creation_input_tokens,cache_read_input_tokens) DisableCaptureMessageContentflag for privacy-sensitive workloads- Configurable OTLP endpoint, headers, export interval, and timeouts
openlit.sdk.versionresource attribute on all telemetry- OTel semantic conventions alignment with Python and TypeScript SDKs