Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(grafana): hide the batch cost last-run panel until the job has run once

yucheng184add7cee97
diff --git a/cookbook/litellm_proxy_server/grafana_dashboard/dashboard_all_metrics/grafana_dashboard.json b/cookbook/litellm_proxy_server/grafana_dashboard/dashboard_all_metrics/grafana_dashboard.json
index 9d7029ca464..230e1e788fc 100644
--- a/cookbook/litellm_proxy_server/grafana_dashboard/dashboard_all_metrics/grafana_dashboard.json
+++ b/cookbook/litellm_proxy_server/grafana_dashboard/dashboard_all_metrics/grafana_dashboard.json
@@ -4787,7 +4787,7 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
- "expr": "time() - litellm_check_batch_cost_last_run_timestamp",
+ "expr": "time() - (litellm_check_batch_cost_last_run_timestamp > 0)",
"legendFormat": "seconds since last run",
"range": true,
"refId": "A"