Skip to content

feat: log backend response telemetry - #8

Merged
phaedrus-on-git merged 1 commit into
devrail-dev:mainfrom
phaedrus-on-git:feat/upstream-telemetry
Sep 5, 2026
Merged

feat: log backend response telemetry#8
phaedrus-on-git merged 1 commit into
devrail-dev:mainfrom
phaedrus-on-git:feat/upstream-telemetry

Conversation

@phaedrus-on-git

Copy link
Copy Markdown
Collaborator

Summary

  • log completed backend responses with alias, target model, upstream model, status, duration, bytes, and OpenAI usage token counts when present
  • log backend proxy errors with alias/model and elapsed duration
  • add token usage to the mock backend and a unit test for telemetry logging

Validation

  • go test ./...
  • go run ./cmd/devrail-router check -config configs/router.example.yaml
  • make package-smoke GOOS=linux GOARCH=amd64
  • make docker-smoke
  • make check

@phaedrus-on-git
phaedrus-on-git merged commit 8d43761 into devrail-dev:main Sep 5, 2026
8 checks passed
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.

1 participant