api/core/telemetry/__init__.py
Rama main · réplica de lectura del repositorio original.
"""Telemetry facade.
Thin public API for emitting telemetry events. All routing logic
lives in ``core.telemetry.gateway`` which is shared by both CE and EE.
"""
from __future__ import annotations
from core.telemetry.events import (
AppCreatedEvent,
AppDeletedEvent,
AppUpdatedEvent,
DraftNodeExecutionTraceEvent,
FeedbackCreatedEvent,
PromptGenerationEvent,
PromptGenerationPayload,
TelemetryContext,
TelemetryEvent,
)
from core.telemetry.gateway import emit
__all__ = [
"AppCreatedEvent",
"AppDeletedEvent",
"AppUpdatedEvent",
"DraftNodeExecutionTraceEvent",
"FeedbackCreatedEvent",
"PromptGenerationEvent",
"PromptGenerationPayload",
"TelemetryContext",
"TelemetryEvent",
"emit",
]