fix(api): 修正 NVIDIA_LATENCY_SECONDS → NVIDIA_LATENCY_HISTOGRAM
2026-03-29 ogt: CI lint 修復 - 變數名稱錯誤 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -747,7 +747,7 @@ class NvidiaProvider:
|
||||
|
||||
# Prometheus
|
||||
NVIDIA_REQUESTS_TOTAL.labels(status="success", tool_name="chat").inc()
|
||||
NVIDIA_LATENCY_SECONDS.labels(tool_name="chat").observe(latency_ms / 1000)
|
||||
NVIDIA_LATENCY_HISTOGRAM.labels(tool_name="chat").observe(latency_ms / 1000)
|
||||
|
||||
# Langfuse
|
||||
langfuse_ctx.trace.generation(
|
||||
|
||||
Reference in New Issue
Block a user