fix(lint): 修復 NVIDIA_LATENCY_HISTOGRAM 使用方式
- 移除錯誤的 .labels() 調用 (Histogram 無 labels) 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_HISTOGRAM.labels(tool_name="chat").observe(latency_ms / 1000)
|
||||
NVIDIA_LATENCY_HISTOGRAM.observe(latency_ms / 1000)
|
||||
|
||||
# Langfuse
|
||||
langfuse_ctx.trace.generation(
|
||||
|
||||
Reference in New Issue
Block a user