removing laminar (#3858)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
"""Utilities for collecting and formatting experiment data for Laminar tracing."""
|
||||
"""Utilities for collecting and formatting experiment data for tracing."""
|
||||
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
@@ -44,7 +44,7 @@ async def collect_experiment_metadata(
|
||||
experimentation_provider: The experimentation provider to use for fetching experiment data.
|
||||
|
||||
Returns:
|
||||
Dictionary containing experiment data that can be added to Laminar traces.
|
||||
Dictionary containing experiment data that can be added to traces.
|
||||
"""
|
||||
# Get the current context
|
||||
context = skyvern_context.current()
|
||||
|
||||
@@ -1465,7 +1465,7 @@ class WorkflowService:
|
||||
workflow_status="completed",
|
||||
)
|
||||
|
||||
# Add workflow completion tag to Laminar trace
|
||||
# Add workflow completion tag to trace
|
||||
TraceManager.add_task_completion_tag(WorkflowRunStatus.completed)
|
||||
|
||||
return await self._update_workflow_run_status(
|
||||
@@ -1487,7 +1487,7 @@ class WorkflowService:
|
||||
failure_reason=failure_reason,
|
||||
)
|
||||
|
||||
# Add workflow failure tag to Laminar trace
|
||||
# Add workflow failure tag to trace
|
||||
TraceManager.add_task_completion_tag(WorkflowRunStatus.failed)
|
||||
|
||||
return await self._update_workflow_run_status(
|
||||
@@ -1523,7 +1523,7 @@ class WorkflowService:
|
||||
failure_reason=failure_reason,
|
||||
)
|
||||
|
||||
# Add workflow terminated tag to Laminar trace
|
||||
# Add workflow terminated tag to trace
|
||||
TraceManager.add_task_completion_tag(WorkflowRunStatus.terminated)
|
||||
|
||||
return await self._update_workflow_run_status(
|
||||
@@ -1540,7 +1540,7 @@ class WorkflowService:
|
||||
workflow_status="canceled",
|
||||
)
|
||||
|
||||
# Add workflow canceled tag to Laminar trace
|
||||
# Add workflow canceled tag to trace
|
||||
TraceManager.add_task_completion_tag(WorkflowRunStatus.canceled)
|
||||
|
||||
return await self._update_workflow_run_status(
|
||||
@@ -1561,7 +1561,7 @@ class WorkflowService:
|
||||
workflow_status="timed_out",
|
||||
)
|
||||
|
||||
# Add workflow timed out tag to Laminar trace
|
||||
# Add workflow timed out tag to trace
|
||||
TraceManager.add_task_completion_tag(WorkflowRunStatus.timed_out)
|
||||
|
||||
return await self._update_workflow_run_status(
|
||||
|
||||
Reference in New Issue
Block a user