Skip to content

Feature/analytics module#71

Merged
BigBen-7 merged 3 commits intoLead-Studios:mainfrom
Cybermaxi7:feature/analytics-module
Feb 22, 2026
Merged

Feature/analytics module#71
BigBen-7 merged 3 commits intoLead-Studios:mainfrom
Cybermaxi7:feature/analytics-module

Conversation

@Cybermaxi7
Copy link
Contributor

  • Create SQLAlchemy models for ticket scans, transfers, and invalid attempts
  • Implement analytics service with database storage functionality
  • Add /stats endpoint that returns counts per event
  • Implement structured logging for all analytics operations
  • Add comprehensive unit tests for analytics functionality
  • Create documentation for analytics module
  • Store data in PostgreSQL with SQLite fallback
  • Include indexes for optimized queries
  • Add pre-calculated statistics table for performance"

closes #38

- Implement JSON structured logging with request ID tracking
- Add Prometheus metrics for HTTP requests, WebSockets, and business operations
- Create /metrics endpoint for Prometheus scraping
- Add comprehensive monitoring dashboard configuration
- Update all services to use structured logging
- Add logging and metrics tests
- Rename types.py to types_custom.py to avoid Python module conflict
…hares

- Implement revenue calculation service with smart contract rules
- Create Pydantic models for stakeholders, revenue rules, and calculations
- Add API endpoints for revenue share calculations
- Implement validation for event ID and sales data
- Create comprehensive test suite
- Add documentation for revenue sharing functionality
- Integrate with structured logging system
- Support batch calculations for multiple events
…invalid attempts

- Create SQLAlchemy models for ticket scans, transfers, and invalid attempts
- Implement analytics service with database storage functionality
- Add /stats endpoint that returns counts per event
- Implement structured logging for all analytics operations
- Add comprehensive unit tests for analytics functionality
- Create documentation for analytics module
- Store data in PostgreSQL with SQLite fallback
- Include indexes for optimized queries
- Add pre-calculated statistics table for performance
@BigBen-7 BigBen-7 merged commit 8a0b8cf into Lead-Studios:main Feb 22, 2026
3 of 6 checks passed
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.

Issue 6: Ticket usage analytics

2 participants