trace-cost-calculator

command
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

trace-cost-calculator connects to the Langfuse API and fetches usage statistics for the "devops-copilot" agent using the langfuse.Client from pkg/langfuse. It reads credentials from environment variables.

Usage:

# From repo root:
source .env && go run -mod=mod ./examples/trace-cost-calculator/main.go

# Or with a custom agent name:
source .env && go run -mod=mod ./examples/trace-cost-calculator/main.go reactree.adaptive_loop

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL