mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 13:22:36 +00:00
add tracing back to the lib cli
This commit is contained in:
parent
e2054d53e4
commit
84904914c2
5 changed files with 106 additions and 61 deletions
|
|
@ -259,10 +259,6 @@ class SpanContextManager:
|
|||
return wrapper
|
||||
|
||||
|
||||
def span(name: str, attributes: Dict[str, Any] = None):
|
||||
return SpanContextManager(name, attributes)
|
||||
|
||||
|
||||
def get_current_span() -> Optional[Span]:
|
||||
global CURRENT_TRACE_CONTEXT
|
||||
context = CURRENT_TRACE_CONTEXT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue