eventtracking.processors

eventtracking.processors.whitelist

Filter out events whose names aren’t on a pre-configured whitelist

class eventtracking.processors.whitelist.NameWhitelistProcessor(whitelist=None, **_kwargs)[source]

Bases: object

Filter out events whose names aren’t on a pre-configured whitelist.

whitelist is an iterable collection containing event names that should be allowed to pass.

eventtracking.processors.exceptions

Custom exceptions that are raised by this package

exception eventtracking.processors.exceptions.EventEmissionExit[source]

Bases: Exception

Raising this exception indicates that no further processing of the event should occur and it should be dropped.

This should only be raised by processors.

exception eventtracking.processors.exceptions.NoBackendEnabled[source]

Bases: Exception

Raise this exception when there is no backend enabled for an event.

exception eventtracking.processors.exceptions.NoTransformerImplemented[source]

Bases: Exception

Raise this exception when there is no transformer implemented for an event.