Skip to content

chore(release): sync v9.6.0 from source#432

Merged
saurabhjain1592 merged 1 commit into
mainfrom
sync/enterprise-20260707-145051-28875547770
Jul 7, 2026
Merged

chore(release): sync v9.6.0 from source#432
saurabhjain1592 merged 1 commit into
mainfrom
sync/enterprise-20260707-145051-28875547770

Conversation

@saurabhjain1592

Copy link
Copy Markdown
Member

Sync from Enterprise Repository

This PR syncs changes from the enterprise repository to the Community repository.

Summary

  • Commits synced: 7
  • Files changed: 19

Review Checklist

  • Changes look correct
  • No enterprise-only content included
  • CI checks pass

Auto-generated by sync-community-repo workflow (ADR-016)

…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>
@saurabhjain1592 saurabhjain1592 added the community-sync Sync from enterprise repository label Jul 7, 2026
@saurabhjain1592 saurabhjain1592 added this pull request to the merge queue Jul 7, 2026
Merged via the queue into main with commit cc1a156 Jul 7, 2026
35 checks passed
@saurabhjain1592 saurabhjain1592 deleted the sync/enterprise-20260707-145051-28875547770 branch July 7, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-sync Sync from enterprise repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants