chore(release): sync v9.6.0 from source#432
Merged
Merged
Conversation
…usage dashboard v9.6.0 turns the Claude Code and Cowork activity AxonFlow ingests into reporting. A new session-summary API rolls governed activity into per-session (or per-user-day) buckets, additively enriched with the developer and session usage metrics when the OpenTelemetry metrics ingest is wired; a new operator Grafana dashboard visualizes that usage; and the bundled Grafana datasources are provisioned with stable uids, closing a pre-existing bug that broke provisioned dashboards. One additive migration (core/141) applies automatically on startup. The session-summary API and the usage dashboard are Enterprise capabilities; in the Community edition the session-summary endpoint returns 501. The Grafana datasource fix and the migration apply to every edition. Highlights: - Session-summary reporting API (GET /api/v1/audit/session-summary): per-session or per-user-day buckets over the governed audit trail — request totals, an allow/block/redact breakdown, a per-tool usage breakdown, and session token/cost/latency totals, tenant-scoped with a bucket cap. When the OTLP /v1/metrics ingest is configured, each bucket is additively enriched with the Claude Code usage metrics (lines of code, active time, commits, pull requests, tool-permission decisions); the enrichment is best-effort and gracefully absent otherwise, so the base view always works from the audit trail alone. (Enterprise; Community returns 501.) - Claude Code usage Grafana dashboard: per-developer and per-session tokens, cost, lines of code, tool-permission decisions, and active time over the usage records, plus an ingest-health panel. It is an operator/admin reporting surface. (Enterprise.) - Grafana provisioned datasources now carry stable uids, fixing dashboards that resolved to "datasource not found" on a fresh deployed Grafana. Migration: additive — core/141 adds a (tenant_id, timestamp, session_id) composite index to audit_logs; it applies automatically on startup and requires no action. Full notes: https://docs.getaxonflow.com/docs/releases/v9-6-0 Co-authored-by: Greg <gzak@getaxonflow.com> Signed-off-by: AxonFlow Team <bot@getaxonflow.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sync from Enterprise Repository
This PR syncs changes from the enterprise repository to the Community repository.
Summary
Review Checklist
Auto-generated by sync-community-repo workflow (ADR-016)