Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

765 B
Raw Blame
"""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",
]