mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 18:13:44 +00:00
chore(telemetry): more cleanup: remove apis.telemetry
# What does this PR do? ## Test Plan
This commit is contained in:
parent
63422e5b36
commit
ef9cb7519f
7 changed files with 403 additions and 451 deletions
|
|
@ -17,7 +17,8 @@ from datetime import UTC, datetime
|
|||
from functools import wraps
|
||||
from typing import Any, Self
|
||||
|
||||
from llama_stack.apis.telemetry import (
|
||||
from llama_stack.core.telemetry.telemetry import (
|
||||
ROOT_SPAN_MARKERS,
|
||||
Event,
|
||||
LogSeverity,
|
||||
Span,
|
||||
|
|
@ -47,7 +48,6 @@ if not _fallback_logger.handlers:
|
|||
INVALID_SPAN_ID = 0x0000000000000000
|
||||
INVALID_TRACE_ID = 0x00000000000000000000000000000000
|
||||
|
||||
ROOT_SPAN_MARKERS = ["__root__", "__root_span__"]
|
||||
# The logical root span may not be visible to this process if a parent context
|
||||
# is passed in. The local root span is the first local span in a trace.
|
||||
LOCAL_ROOT_SPAN_MARKER = "__local_root_span__"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue