Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
generative-computing
/
mellea
Public
Notifications
You must be signed in to change notification settings
Fork
145
Star
1.8k
Code
Issues
155
Pull requests
16
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
feat: add token usage metrics with OpenTelemetry integration
- #563
#563
Merged
ajbozarth
merged 19 commits into
generative-computing:main
generative-computing/mellea:main
from
ajbozarth:feat/token-usage-metrics-v2
ajbozarth/mellea:feat/token-usage-metrics-v2
Copy head branch name to clipboard
Mar 10, 2026
Conversation
Commits
19
(19)
Checks
Files changed
Merged
feat: add token usage metrics with OpenTelemetry integration
#563
ajbozarth
merged 19 commits into
generative-computing:main
generative-computing/mellea:main
from
ajbozarth:feat/token-usage-metrics-v2
ajbozarth/mellea:feat/token-usage-metrics-v2
Copy head branch name to clipboard
Commits
Commits on Feb 26, 2026
feat: add token usage counter metrics
Show description for 50f0aa6
ajbozarth
committed
50f0aa6
View commit details
Copy full SHA for 50f0aa6
Browse repository at this point
feat: integrate token metrics into OpenAI, Ollama, WatsonX, and LiteLLM backends
Show description for 8159466
ajbozarth
committed
8159466
View commit details
Copy full SHA for 8159466
Browse repository at this point
feat: add token metrics to HuggingFace backend
Show description for 8dc02c1
ajbozarth
committed
8dc02c1
View commit details
Copy full SHA for 8dc02c1
Browse repository at this point
test: add token metrics integration tests for all backends
Show description for 061242a
ajbozarth
committed
061242a
View commit details
Copy full SHA for 061242a
Browse repository at this point
fix: use module-scoped fixture to prevent tracer provider reinitialization
Show description for 4c9788e
ajbozarth
committed
4c9788e
View commit details
Copy full SHA for 4c9788e
Browse repository at this point
docs: add token usage metrics documentation and examples
Show description for 2fb96b7
ajbozarth
committed
2fb96b7
View commit details
Copy full SHA for 2fb96b7
Browse repository at this point
fix: lazy import is_metrics_enabled in backends
Show description for 03e3663
ajbozarth
committed
03e3663
View commit details
Copy full SHA for 03e3663
Browse repository at this point
Commits on Feb 27, 2026
test: add streaming token metrics test and document timing
Show description for 5bb388c
ajbozarth
committed
5bb388c
View commit details
Copy full SHA for 5bb388c
Browse repository at this point
Commits on Mar 3, 2026
refactor: consolidate duplicate get_value function
Show description for 9e5a8f7
ajbozarth
committed
9e5a8f7
View commit details
Copy full SHA for 9e5a8f7
Browse repository at this point
feat: add streaming token usage metrics support
Show description for dde2dca
ajbozarth
committed
dde2dca
View commit details
Copy full SHA for dde2dca
Browse repository at this point
Commits on Mar 4, 2026
Merge branch 'main' into feat/token-usage-metrics-v2
ajbozarth
committed
940e86d
View commit details
Copy full SHA for 940e86d
Browse repository at this point
test: update to non-deprecated Granite 4 hybrid models
Show description for 9724db3
ajbozarth
committed
9724db3
View commit details
Copy full SHA for 9724db3
Browse repository at this point
style: apply ruff formatting to test signatures
Show description for b2df82c
ajbozarth
committed
b2df82c
View commit details
Copy full SHA for b2df82c
Browse repository at this point
Commits on Mar 5, 2026
test: skip HuggingFace test in CI (requires model download)
Show description for 53ccefe
ajbozarth
committed
53ccefe
View commit details
Copy full SHA for 53ccefe
Browse repository at this point
Merge branch 'main' into feat/token-usage-metrics-v2
ajbozarth
committed
8e0c567
View commit details
Copy full SHA for 8e0c567
Browse repository at this point
Commits on Mar 6, 2026
Merge branch 'main' into feat/token-usage-metrics-v2
ajbozarth
committed
a3aa12f
View commit details
Copy full SHA for a3aa12f
Browse repository at this point
Commits on Mar 7, 2026
test: add unit tests and reorganize telemetry tests
Show description for b2fe9aa
ajbozarth
committed
b2fe9aa
View commit details
Copy full SHA for b2fe9aa
Browse repository at this point
Commits on Mar 9, 2026
Merge branch 'main' into feat/token-usage-metrics-v2
jakelorocco
authored
efa1e4e
View commit details
Copy full SHA for efa1e4e
Browse repository at this point
doc: addressed review comments
Show description for 29f2c15
ajbozarth
committed
29f2c15
View commit details
Copy full SHA for 29f2c15
Browse repository at this point
You can’t perform that action at this time.