Chris Coutinho
c97f12d47e
feat: Add OAuth token and database metrics (Phases 3-4)
Complete Prometheus instrumentation for OAuth token operations
and additional database operations to populate empty dashboard panels.
OAuth Token Metrics (Phase 4):
- unified_verifier.py:
* Token validation cache hits/misses
* JWT verification success/failure/error
* Introspection validation results
* Audience validation failures
- context_helper.py:
* Token exchange cache hits/misses
* RFC 8693 exchange success/error
Database Metrics (Phase 3 completion):
- storage.py:
* get_refresh_token() with timing
* delete_refresh_token() with timing
* All operations record duration and success/error status
These metrics populate the following dashboard panels:
- Token Validations (by method and result)
- Token Cache Hit Rate
- Token Exchange Operations
- Database Operations (refresh token CRUD)
- Database Operation Duration
Part of PR #295 - Complete metrics instrumentation
2025-11-13 16:23:00 +01:00
..
2025-11-13 16:23:00 +01:00
2025-11-11 20:35:08 +01:00
2025-10-18 22:02:19 +02:00
2025-11-05 15:19:55 +01:00
2025-11-12 02:46:30 +01:00
2025-11-09 05:53:53 +01:00
2025-11-13 11:49:20 +01:00
2025-11-13 11:49:20 +01:00
2025-10-25 19:52:45 +02:00
2025-11-13 16:14:38 +01:00
2025-05-04 23:24:55 +02:00
2025-11-13 16:14:38 +01:00
2025-11-11 20:35:08 +01:00
2025-11-11 23:19:37 +01:00
2025-11-05 21:44:04 +01:00