ActiveUserTokensEvent#

class gafaelfawr.events.ActiveUserTokensEvent(**data)#

Bases: EventPayload

Current count of the number of active user tokens.

Notes

This is really a proper metric that is measured periodically, not an event. For now, Gafaelfawr uses the event system to log this metric since that’s the system we have in place. If we later have a proper metrics system for storing measurements, this should move to that.

Parameters:

data (Any)

Attributes Summary

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Attributes Documentation

model_config: ClassVar[ConfigDict] = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].