[Feature] Sglang Tracing: Fine-Grained Tracking for Request Latency - Part 2 (#10804)

Signed-off-by: Feng Su <sufeng@linux.alibaba.com>
This commit is contained in:
Feng Su
2025-10-28 01:25:46 -07:00
committed by GitHub
parent b1e13e7cea
commit ea96106000
19 changed files with 824 additions and 60 deletions
+2 -2
View File
@@ -299,7 +299,7 @@ class ServerArgs:
enable_request_time_stats_logging: bool = False
kv_events_config: Optional[str] = None
enable_trace: bool = False
oltp_traces_endpoint: str = "localhost:4317"
otlp_traces_endpoint: str = "localhost:4317"
# API related
api_key: Optional[str] = None
@@ -2340,7 +2340,7 @@ class ServerArgs:
help="Enable opentelemetry trace",
)
parser.add_argument(
"--oltp-traces-endpoint",
"--otlp-traces-endpoint",
type=str,
default="localhost:4317",
help="Config opentelemetry collector endpoint if --enable-trace is set. format: <ip>:<port>",