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-05 18:53:14 +01:00
2025-10-14 01:22:15 +02:00
2025-11-11 20:53:43 +01:00
2025-11-11 20:01:49 +01:00
2025-11-03 20:33:55 +01:00
2025-11-13 16:23:00 +01:00
2025-11-07 21:08:55 +01:00
2025-11-11 20:01:49 +01:00
2025-11-11 20:35:08 +01:00
2025-11-11 20:01:49 +01:00
2025-11-07 21:08:55 +01:00
2025-11-04 03:34:53 +01:00
2025-11-13 16:23:00 +01:00
2025-11-11 20:01:49 +01:00
2025-11-11 20:01:49 +01:00
2025-11-13 16:23:00 +01:00
2025-11-11 23:07:44 +01:00
2025-11-11 20:53:43 +01:00