Skip to content

AMPR-140 #439 expose per-call telemetry in EventService#444

Merged
wow-miley merged 1 commit intomainfrom
email/ampr-140-ampere-expose-per-call-token-telemetry-through-public
Mar 1, 2026
Merged

AMPR-140 #439 expose per-call telemetry in EventService#444
wow-miley merged 1 commit intomainfrom
email/ampr-140-ampere-expose-per-call-token-telemetry-through-public

Conversation

@wow-miley
Copy link
Contributor

Closes #439

Adds public provider-call telemetry events, a stable EventStreamFilter.TELEMETRY subscription path on EventService, and a public TokenUsage model so external consumers can observe per-call LLM usage through the API. Threads workflow, phase, agent, and routing metadata through the reasoning stack, emits started and completed telemetry for routed and custom-provider calls, and keeps the CLI event stream/significance handling in sync with the new events. Adds tests for telemetry filtering, routing metadata, external-consumer API shape, and success/failure telemetry emission, with ./gradlew jvmTest passing in this workspace. ./gradlew ktlintFormat still fails on unrelated pre-existing ktlint issues in the Android MCP connection files.

@wow-miley wow-miley merged commit 04737bc into main Mar 1, 2026
2 checks passed
@wow-miley wow-miley deleted the email/ampr-140-ampere-expose-per-call-token-telemetry-through-public branch March 1, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ampere] Expose per-call token telemetry through public EventService API

1 participant