dify/api/core/tools
GareArc 8fc0cbe20d
feat(enterprise): Add OTEL telemetry with slim traces, metrics, and structured logs
- 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
2026-02-02 15:50:43 -08:00
..
__base chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
builtin_tool chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
custom_tool chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
entities chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
mcp_tool chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
plugin_tool chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
utils fix: [xxx](xxx) render as xxx](xxx) (#30392) 2025-12-31 10:30:15 +08:00
workflow_as_tool feat(enterprise): Add OTEL telemetry with slim traces, metrics, and structured logs 2026-02-02 15:50:43 -08:00
__init__.py improve: generalize tool parameter converter (#4786) 2024-06-03 21:26:58 +08:00
errors.py fix: ssrf, add internal ip filter when parse tool schema (#29548) 2025-12-15 16:28:25 +08:00
signature.py refactor: generate_url to support scenario to build url (#30598) 2026-01-06 14:53:38 +08:00
tool_engine.py fix: remove _try_resolve_user_from_request (#31360) 2026-01-22 11:25:06 +08:00
tool_file_manager.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
tool_label_manager.py rm type ignore (#25715) 2025-10-21 11:26:58 +08:00
tool_manager.py perf(api): optimize tool provider list API with Redis caching (#29101) 2025-12-08 15:34:03 +09:00