Skip to content

feat: add AI usage and rate limit monitoring - #157

Merged
insighta-cloud merged 5 commits into
mainfrom
feat/ai-usage-monitoring
Sep 27, 2026
Merged

insighta-cloud merged 5 commits into
mainfrom
feat/ai-usage-monitoring

Conversation

@forthfate

Copy link
Copy Markdown
Owner

Summary

  • record safe Azure OpenAI request metadata, token usage, latency, rate-limit headers, and failures in local telemetry
  • expose aggregated RPM, TPM, success rate, trends, and recent calls via AI usage APIs
  • add a Settings monitor with 15m/1h/24h filtering and no prompt/response text retention

Validation

  • PYTHONPATH=backend .venv/bin/python -m pytest backend/tests/test_api.py -q
  • pnpm --filter agent-improvement-console-ui run build

@insighta-cloud
insighta-cloud self-requested a review September 27, 2026 04:47

@insighta-cloud insighta-cloud left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found.

@insighta-cloud
insighta-cloud merged commit 4b013ab into main Sep 27, 2026
2 checks passed
@insighta-cloud
insighta-cloud deleted the feat/ai-usage-monitoring branch September 27, 2026 04:50
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.

2 participants