common.runtime.anon_tracker
dltHub telemetry using using anonymous tracker
track
def track(event_category: TEventCategory, event_name: str,
properties: DictStrAny) -> None
Tracks a telemetry event.
The tracker event name will be created as "{eventcategory}{event_name}
Arguments:
event_category
- Category of the event: pipeline or clievent_name
- Name of the event.properties
- Dictionary containing the event's properties.
before_send
def before_send(event: DictStrAny) -> Optional[DictStrAny]
Called before sending event. Does nothing, patch this function in the module for custom behavior
get_anonymous_id
def get_anonymous_id() -> str
Creates or reads a anonymous user id