Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions claude-code-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(increase(claude_code_session_count_total{job=\"otel-collector\"}[1h]))",
"expr": "sum(increase(claude_code_session_count_total{job=\"otel-collector\"}[$__range]))",
"interval": "",
"legendFormat": "Sessions (1h)",
"legendFormat": "Sessions",
"refId": "A"
}
],
"title": "Active Sessions (1h)",
"title": "Active Sessions",
"type": "stat"
},
{
Expand Down Expand Up @@ -152,13 +152,13 @@
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(increase(claude_code_cost_usage_USD_total{job=\"otel-collector\"}[1h]))",
"expr": "sum(increase(claude_code_cost_usage_USD_total{job=\"otel-collector\"}[$__range]))",
"interval": "",
"legendFormat": "Cost (1h)",
"legendFormat": "Cost",
"refId": "A"
}
],
"title": "Cost (Last Hour)",
"title": "Cost",
"type": "stat"
},
{
Expand Down Expand Up @@ -218,13 +218,13 @@
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(increase(claude_code_token_usage_tokens_total{job=\"otel-collector\"}[1h]))",
"expr": "sum(increase(claude_code_token_usage_tokens_total{job=\"otel-collector\"}[$__range]))",
"interval": "",
"legendFormat": "Tokens (1h)",
"legendFormat": "Tokens",
"refId": "A"
}
],
"title": "Token Usage (1h)",
"title": "Token Usage",
"type": "stat"
},
{
Expand Down Expand Up @@ -284,13 +284,13 @@
"type": "prometheus",
"uid": "prometheus"
},
"expr": "sum(increase(claude_code_lines_of_code_count_total{job=\"otel-collector\"}[1h]))",
"expr": "sum(increase(claude_code_lines_of_code_count_total{job=\"otel-collector\"}[$__range]))",
"interval": "",
"legendFormat": "Lines Changed (1h)",
"legendFormat": "Lines Changed",
"refId": "A"
}
],
"title": "Lines of Code (1h)",
"title": "Lines of Code",
"type": "stat"
},
{
Expand Down