mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Remove task index
This commit is contained in:
@@ -171,7 +171,6 @@ class Telemetry:
|
|||||||
created_span = tracer.start_span("Task Created")
|
created_span = tracer.start_span("Task Created")
|
||||||
|
|
||||||
self._add_attribute(created_span, "crew_id", str(crew.id))
|
self._add_attribute(created_span, "crew_id", str(crew.id))
|
||||||
self._add_attribute(created_span, "task_index", crew.tasks.index(task))
|
|
||||||
self._add_attribute(created_span, "task_id", str(task.id))
|
self._add_attribute(created_span, "task_id", str(task.id))
|
||||||
|
|
||||||
if crew.share_crew:
|
if crew.share_crew:
|
||||||
@@ -188,7 +187,6 @@ class Telemetry:
|
|||||||
span = tracer.start_span("Task Execution")
|
span = tracer.start_span("Task Execution")
|
||||||
|
|
||||||
self._add_attribute(span, "crew_id", str(crew.id))
|
self._add_attribute(span, "crew_id", str(crew.id))
|
||||||
self._add_attribute(span, "task_index", crew.tasks.index(task))
|
|
||||||
self._add_attribute(span, "task_id", str(task.id))
|
self._add_attribute(span, "task_id", str(task.id))
|
||||||
|
|
||||||
if crew.share_crew:
|
if crew.share_crew:
|
||||||
|
|||||||
Reference in New Issue
Block a user