mirror of https://github.com/langgenius/dify.git
Prevents CE users from enqueueing EE-only events (all METRIC_LOG cases) to non-existent enterprise_telemetry Celery queue. - Add _should_drop_ee_only_event() check in emit() before routing - Remove redundant check from _emit_trace() - Single guard at gateway level protects both trace and metric/log paths |
||
|---|---|---|
| .. | ||
| entities | ||
| __init__.py | ||
| contracts.py | ||
| draft_trace.py | ||
| enterprise_trace.py | ||
| event_handlers.py | ||
| exporter.py | ||
| gateway.py | ||
| id_generator.py | ||
| metric_handler.py | ||
| telemetry_log.py | ||