[FRWEBINT-1677] Add Claude Code Costs widget group to Anthropic dashboard#23637
Draft
BoyangHuang wants to merge 1 commit intomasterfrom
Draft
[FRWEBINT-1677] Add Claude Code Costs widget group to Anthropic dashboard#23637BoyangHuang wants to merge 1 commit intomasterfrom
BoyangHuang wants to merge 1 commit intomasterfrom
Conversation
…oard Surfaces the new cost_type:session_usage CCM tag (added in DataDog/dogweb#166424) so customers can see Claude Code spend separately from API token spend. The new group has: - A query_value showing total Claude Code spend over the past 30d. - A timeseries breaking daily Claude Code spend down by workspace. - A note explaining how this differs from the existing token-based widgets. Customer: Digital Asset (FRWEBINT-1677).
Contributor
Validation ReportAll 20 validations passed. Show details
|
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
Surfaces the new
cost_type:session_usageCCM tag (added in DataDog/dogweb#166424) so customers can see Claude Code spend separately from API token spend.The new "Claude Code Costs" group on the overview dashboard contains:
query_valuesummingall.cost{providername:Anthropic,cost_type:session_usage,...}.workspace_name.claude_code.estimated_costfor per-user attribution.Customer context
Digital Asset filed FRWEBINT-1677.
Companion PR
Pairs with DataDog/dogweb#166424. The dashboard widget will only have data once that change ships.
Test plan
sum:all.cost{cost_type:session_usage}returns data for tenants with Claude Code seats.Context
Generated as part of the FR Viability Assessment — 2026-05-07.