StateEvents¶
- class gafaelfawr.events.StateEvents¶
Bases:
EventMaker
Event publishers for metrics about the current Gafaelfawr state.
- active_user_sessions¶
Event publisher for the count of active user sessions.
- active_user_tokens¶
Event publisher for the count of active user tokens.
Methods Summary
initialize
(manager)Create event publishers and assign to instance attributes.
Methods Documentation
- async initialize(manager)¶
Create event publishers and assign to instance attributes.
Use
manager.create_publisher
to assign event publishers to instance attributes.- Parameters:
manager (
EventManager
) – AnEventManager
to create event publishers- Return type: