Skip to content

Feat/metrics#291

Merged
MasterKenth merged 9 commits into
masterfrom
feat/metrics
Oct 21, 2025
Merged

Feat/metrics#291
MasterKenth merged 9 commits into
masterfrom
feat/metrics

Conversation

@MasterKenth

@MasterKenth MasterKenth commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Added metrics system and endpoint that returns data in OpenMetrics format (GET /api/metrics). Requires new "metrics.read" scope. The following metrics are added:

  • Total unique users
  • Daily Active Users (DAU)
  • Conversations per assistant
  • Assistants per model

Also includes sample setup for Prometheus + Grafana.

@MasterKenth MasterKenth requested a review from zilaei October 10, 2025 13:56
Comment thread backend/src/modules/metrics/GenericMetricsService.py Outdated
Comment thread backend/src/modules/conversations/MongoConversationService.py
Comment thread backend/src/modules/conversations/MongoConversationService.py
Comment thread backend/src/common/services/fastapi_get_services.py
@MasterKenth MasterKenth merged commit a5bbb31 into master Oct 21, 2025
2 checks passed
@MasterKenth MasterKenth deleted the feat/metrics branch October 21, 2025 11:56
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