[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:
@@ -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>",
|
||||
|
||||
Reference in New Issue
Block a user