thunderbird_accounts.telemetry.api

Functions

capture_frontend_event(request, *args, **kwargs)

This function simply takes the log event, checks it against acceptable values and if it's valid then we log it.

Classes

AnalyticsThrottle()

class thunderbird_accounts.telemetry.api.AnalyticsThrottle[source]

Bases: UserRateThrottle

thunderbird_accounts.telemetry.api.capture_frontend_event(request, *args, **kwargs)

This function simply takes the log event, checks it against acceptable values and if it’s valid then we log it.

This is a fire and forget function, it’s not vital that they actually capture but this function should not block the frontend either.