mirror of
https://github.com/langgenius/dify.git
synced 2026-03-28 17:40:53 +08:00
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com> Co-authored-by: Yunlu Wen <yunlu.wen@dify.ai> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
22 lines
700 B
Python
22 lines
700 B
Python
"""
|
|
OpenTelemetry node parsers for workflow nodes.
|
|
|
|
This module provides parsers that extract node-specific metadata and set
|
|
OpenTelemetry span attributes according to semantic conventions.
|
|
"""
|
|
|
|
from extensions.otel.parser.base import DefaultNodeOTelParser, NodeOTelParser, safe_json_dumps, should_include_content
|
|
from extensions.otel.parser.llm import LLMNodeOTelParser
|
|
from extensions.otel.parser.retrieval import RetrievalNodeOTelParser
|
|
from extensions.otel.parser.tool import ToolNodeOTelParser
|
|
|
|
__all__ = [
|
|
"DefaultNodeOTelParser",
|
|
"LLMNodeOTelParser",
|
|
"NodeOTelParser",
|
|
"RetrievalNodeOTelParser",
|
|
"ToolNodeOTelParser",
|
|
"safe_json_dumps",
|
|
"should_include_content",
|
|
]
|