Skip to main content

Module collectors

Module collectors 

Source
Expand description

Metrics collectors for various authentication framework components

This module provides atomic counters that can be incremented from anywhere in the framework, and collector structs that read from those counters to produce metrics.

Structs§

AuthMetricsCollector
Collector for authentication metrics.
SessionMetricsCollector
Collector for session metrics.
TokenMetricsCollector
Collector for token metrics.

Statics§

AUTH_FAILED_REQUESTS
Failed authentication requests.
AUTH_SUCCESSFUL_REQUESTS
Successful authentication requests.
AUTH_TOTAL_REQUESTS
Total authentication requests processed.
SESSION_ACTIVE_COUNT
Currently active sessions.
SESSION_CREATED_TOTAL
Cumulative sessions created (used to derive creation rate).
SESSION_EXPIRED_COUNT
Sessions that have expired.
TOKEN_CREATION_COUNT
Tokens created.
TOKEN_EXPIRATION_COUNT
Tokens expired.
TOKEN_VALIDATION_COUNT
Tokens validated.