Skip to main content

emit

Method
This is a method of the ObservabilityHooks class in the observability module.
Emit an event.

Signature

Parameters

EventType
required
Type of event
Optional
Event data
Optional[float]
Optional duration

Returns

Any
The result of the operation.

Uses

  • ObservabilityEvent
  • time.time
  • handler
  • logger.warning

Used By

Source

View on GitHub

praisonaiagents/escalation/observability.py at line 175