fix(grafana): resolve dashboard query failures and display issues#91
Merged
fix(grafana): resolve dashboard query failures and display issues#91
Conversation
Fix multiple issues in the Claude Code Cost & Efficiency dashboard: - Replace $__range with $__auto + calcs:sum for stat/pie panels to avoid Loki 30d query range limit errors - Fix API Duration legend explosion by wrapping aggregations (sum/count for avg, max for p95) - Change Tool Frequency/Success Rate from barchart to bargauge for proper Loki data rendering - Add queryType:instant to table panels (Token Usage, Tool Duration, Session Analysis) to eliminate timestamp row repetition - Fix column rename mappings to match instant query output format - Add pagination to Session Analysis tables - Add interval and barWidthFactor to Activity Over Time - Add vite-plus env sourcing to zshrc Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
$__rangewith$__auto+ client-sidecalcs: sumfor stat/pie panelsbarcharttobargaugefor proper Loki instant query renderingqueryType: instantto table panels (Token Usage by Model, Tool Duration, Session Analysis) to eliminate timestamp row repetitionTest plan
just testpasses (lint + format)🤖 Generated with Claude Code