mirror of
https://github.com/langgenius/dify.git
synced 2026-02-10 04:54:30 +08:00
- Add EnterpriseOtelTrace handler with span emission for workflows and nodes - Implement minimal-span strategy: slim spans + detailed companion logs - Add deterministic span/trace IDs for cross-workflow trace correlation - Add metric collection at 100% accuracy (counters & histograms) - Add event handlers for app lifecycle and feedback telemetry - Add cross-workflow trace linking with parent context propagation - Add OTEL exporter with configurable sampling and privacy controls - Wire enterprise telemetry into workflow execution pipeline - Add telemetry configuration in enterprise configs
5 lines
127 B
Python
5 lines
127 B
Python
from blinker import signal
|
|
|
|
# sender: MessageFeedback, kwargs: tenant_id
|
|
feedback_was_created = signal("feedback-was-created")
|