{{ message }}
Repository navigation
[token-consumption] Daily AIC Consumption Report - 2026-10-16 #69681
Closed
Replies: 1 comment
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Executive Summary
gh-aw.aic,gh_aw.aic,agent_usage.aic,aic) is indexed on spans in either backend for the report window (UTC 2026-10-16T00:00:00 – 2026-10-17T00:00:00).spansdataset returnsgen_ai.chatandgen_ai.execute_toolspans (workflow activity is present and rich — tool calls, model names, durations), but attempting to select any AIC-related field (gh-aw.aic,gh_aw.aic,agent_usage.aic,aic,github.workflow,github.run_id) returns a hard validation error:Unknown attribute. This indicates these attributes are not registered/indexed in the current Sentry EAP schema for this project, not merely absent on individual spans.errorsandlogsdatasets returned zero results for the window — confirmed empty, not a query failure.grafanacloud-ghaw-traces, uidgrafanacloud-traces), but no Tempo query tools (tempo_get-attribute-names,tempo_traceql-search,tempo_get-trace) were available in this session's toolset, so trace-level AIC confirmation in Grafana could not be performed this run.Key Metrics
Unknown attributeon query)github.workflow/gh_aw.workflowalso rejected as unknown attributes)Top 10 Workflows by AIC Consumption
Not available — workflow attribution fields (
github.workflow,gh_aw.workflow,transaction) were not returned alongside AIC data; AIC itself is unqueryable. Only generic tool/model span descriptions (e.g.chat copilot/gpt-5.4,chat claude-sonnet-5,execute_tool create_issue) were visible.Grafana AIC Findings
AIC was not queryable in Grafana this run.
grafanacloud-ghaw-traces(tempo, uidgrafanacloud-traces).tempo_get-attribute-names,tempo_traceql-search,tempo_get-trace) were not present in this session's available toolset, so attribute-level confirmation ofgh-aw.aic/gh_aw.aicpresence and type on Tempo spans could not be executed.grafana__get_datasource(uid: grafanacloud-traces)succeeded and returned valid Tempo connection config, confirming the backend itself is reachable — the gap is tool availability for trace querying, not datasource misconfiguration.Data Quality and Gaps
github.workflow/gh_aw.workflow/transactionworkflow-name fields are not selectable as queryable attributes in the current schema.gh-aw.aic,gh_aw.aic,agent_usage.aic,aicare rejected outright asUnknown attributein Sentry span field validation, meaning this attribute set is not currently emitted/indexed for the project at all (not simply null on these spans).gen_ai.chat(model calls:copilot/gpt-5.4,copilot/gpt-5.6-sol,claude-sonnet-5,claude-sonnet-5.5,openai/gpt-6.1-sol,auto,agent) andgen_ai.execute_toolspans (list_commits, create_issue, create_discussion, create_pull_request, add_comment, assign_to_agent, etc.) across roughly a dozen distinct traces in the sampled page, indicating active workflow runs throughout the window even though cost/AIC could not be attributed per workflow.Recommendations
actions/setup/js/send_otlp_span.cjs) actually emitsgh-aw.aic(or an agreed canonical name) as a numeric attribute ongen_ai.chat/gen_ai.execute_toolspans, and that the attribute is registered in the Sentry EAP schema for this project so it becomes a selectable/queryable field.gh-aw.workflow.name(or equivalent) is emitted and indexed so AIC can be grouped and ranked by workflow once queryable.tempo_get-attribute-names/tempo_traceql-search) so Grafana-side AIC confirmation can act as a cross-check against Sentry.id,span.op,timestamponly) plus incremental attribute probing to determine the full list of currently indexed custom attributes, to avoid blind guesses at attribute names going forward.References
grafanacloud-ghaw-traces(uid:grafanacloud-traces)All reactions