Skip to content

Add OpenAI usage metrics #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucemans
Copy link
Member

@lucemans lucemans commented Jun 6, 2025

Summary

  • add OpenTelemetry counters for OpenAI token usage
  • capture usage data in workshop prompts
  • record metrics for summaries and chat completions
  • expose metrics module
  • update dependencies

Testing

  • cargo fmt --all
  • cargo test --quiet --no-run (fails: command timed out)

https://chatgpt.com/codex/tasks/task_e_684339f13aa4832f9ce87547e6f084a6

@lucemans lucemans force-pushed the codex/implement-opentelemetry-metrics-for-openai-usage branch from 3e05336 to ef9af6a Compare June 6, 2025 21:36
@lucemans lucemans force-pushed the codex/implement-opentelemetry-metrics-for-openai-usage branch from ef9af6a to 063aafe Compare June 6, 2025 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant