Repository navigation
Commit 172bf14
Add session metrics API and per-session totals (#484)
* Add session metrics API and per-session totals
* Regenerate OpenAPI document and TypeScript SDK
* nit
* Regenerate OpenAPI document and TypeScript SDK
* move validation to zod layer
* nit
* nit
* Regenerate OpenAPI document and TypeScript SDK
* Include zero-turn and zero-duration sessions in metrics distributions.
Surface empty/in-flight sessions in min/avg/median meters so anomalies are visible; drop the >0 filter and active_sessions denominator.
Co-authored-by: Cursor <cursoragent@cursor.com>
* nit: say charts instead of chart catalog in changeset
Co-authored-by: Cursor <cursoragent@cursor.com>
* update storeContractSuite
* move metrics api to internal
* remove metrics folding from core
* register metrics under internal route
* register metrics route and wire in schema and apis
* nit
* Regenerate OpenAPI document and TypeScript SDK
* nit
* nit
* Regenerate OpenAPI document and TypeScript SDK
* nit
* resolve comments
* Regenerate OpenAPI after consolidating metrics unit schema.
Co-authored-by: Cursor <cursoragent@cursor.com>
* fix test
* nit
* Regenerate OpenAPI after removing unreachable metrics 404 responses.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: trueforge-dev-bot[bot] <trueforge-dev-bot[bot]@users.noreply.github.com>
Co-authored-by: Srajan Asthana <srajan@truefoundry.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent db0027c commit 172bf14
71 files changed
Lines changed: 3711 additions & 3 deletions
File tree
- .changeset
- .github/fern/openapi
- docs
- packages
- trueforge-core/src/agent-session/schemas
- trueforge-sdk
- src
- api
- resources/internal
- client
- resources
- metrics
- client
- requests
- types
- serialization/types
- tests/wire
- internal
- trueforge
- scripts
- src
- apis
- db
- postgres/session-metrics
- sqlite/session-metrics
- routes
- schemas
- tests
- db
- postgres/session-metrics
- session-metrics
- sqlite/session-metrics
- unit
- apis
- session-metrics
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments