Python: Remove duplicated workflow observability sample (#2357)

* Remove duplicated workflow observability sample

* Fix link
This commit is contained in:
Tao Chen
2025-11-20 13:06:12 -08:00
committed by GitHub
Unverified
parent e5b63a1041
commit 02af2bc0ef
4 changed files with 16 additions and 72 deletions
@@ -17,10 +17,25 @@ from typing_extensions import Never
"""
This sample shows the telemetry collected when running a Agent Framework workflow.
This simple workflow consists of two executors arranged sequentially:
1. An executor that converts input text to uppercase.
2. An executor that reverses the uppercase text.
The workflow receives an initial string message, processes it through the two executors,
and yields the final result.
Telemetry data that the workflow system emits includes:
- Overall workflow build & execution spans
- workflow.build (events: build.started, build.validation_completed, build.completed, edge_group.process)
- workflow.run (events: workflow.started, workflow.completed or workflow.error)
- Individual executor processing spans
- executor.process (for each executor invocation)
- Message publishing between executors
- message.send (for each outbound message)
Prerequisites:
- Basic understanding of workflow executors, edges, and messages.
- Basic understanding of OpenTelemetry concepts like spans and traces.
"""