{
  "date": "2026-06-19",
  "timezone": "Asia/Shanghai",
  "window_start": "2026-06-19T00:00:00+08:00",
  "window_end": "2026-06-20T00:00:00+08:00",
  "granularity": "daily",
  "data_status": "complete",
  "source": {
    "kind": "grafana_prometheus_and_prod_sqlite",
    "grafana_datasource": "DevOps-prometheus",
    "grafana_datasource_id": 80,
    "prometheus_labels": {
      "cluster": "prod-devops",
      "namespace": "investibook",
      "job": "backend",
      "prometheus": "monitoring/o11y-vmagent"
    },
    "prod_backend_sqlite": "/data/db/investibook.db",
    "notes": [
      "Cost comes from prod SQLite interaction_token_usage with runtime-aware accounting: OpenCode ses_* rows use cumulative session deltas; PI UUID and image-parse rows use per-row increments.",
      "workspace_count in summary is cost-derived distinct positive-cost workspaces.",
      "Prometheus is used for ACP interaction counts only; investigatory PI sessions made investibook_acp_session_cost unsuitable as the cost source for mixed-runtime weekly reporting.",
      "message categories are rule-based user-message classifications.",
      "scenario labels are added to split daily workspace_changes rows."
    ]
  },
  "summary": {
    "total_cost": 23.7422,
    "total_acp_interactions": 27,
    "active_users": 15,
    "workspace_count": 22,
    "created_workspace_count": 16,
    "new_workspace_count": 26,
    "updated_existing_workspace_count": 12,
    "changed_workspace_count": 38,
    "message_count": 127,
    "user_message_count": 61,
    "assistant_message_count": 64,
    "unknown_user_count": 0,
    "unknown_cost": 0.0
  },
  "teams": [
    {
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "cost": 5.6358,
      "acp_interactions": 10,
      "workspace_count": 3,
      "active_users": 2,
      "message_count": 44,
      "user_message_count": 22,
      "cost_per_ws": 1.8786,
      "cost_per_acp": 0.5636,
      "acp_per_ws": 3.3333,
      "message_per_ws": 14.6667,
      "message_per_acp": 4.4,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "cost": 4.2836,
      "acp_interactions": 0,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 28,
      "user_message_count": 14,
      "cost_per_ws": 4.2836,
      "cost_per_acp": null,
      "acp_per_ws": 0.0,
      "message_per_ws": 28.0,
      "message_per_acp": null,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "cost": 3.9554,
      "acp_interactions": 1,
      "workspace_count": 4,
      "active_users": 1,
      "message_count": 37,
      "user_message_count": 18,
      "cost_per_ws": 0.9889,
      "cost_per_acp": 3.9554,
      "acp_per_ws": 0.25,
      "message_per_ws": 9.25,
      "message_per_acp": 37.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "cost": 3.2038,
      "acp_interactions": 1,
      "workspace_count": 3,
      "active_users": 3,
      "message_count": 50,
      "user_message_count": 24,
      "cost_per_ws": 1.0679,
      "cost_per_acp": 3.2038,
      "acp_per_ws": 0.3333,
      "message_per_ws": 16.6667,
      "message_per_acp": 50.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "cost": 2.7189,
      "acp_interactions": 4,
      "workspace_count": 2,
      "active_users": 2,
      "message_count": 14,
      "user_message_count": 7,
      "cost_per_ws": 1.3595,
      "cost_per_acp": 0.6797,
      "acp_per_ws": 2.0,
      "message_per_ws": 7.0,
      "message_per_acp": 3.5,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "cost": 1.726,
      "acp_interactions": 7,
      "workspace_count": 5,
      "active_users": 2,
      "message_count": 26,
      "user_message_count": 13,
      "cost_per_ws": 0.3452,
      "cost_per_acp": 0.2466,
      "acp_per_ws": 1.4,
      "message_per_ws": 5.2,
      "message_per_acp": 3.7143,
      "correction_message_ratio": null
    },
    {
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "cost": 0.8305,
      "acp_interactions": 2,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 12,
      "user_message_count": 6,
      "cost_per_ws": 0.8305,
      "cost_per_acp": 0.4153,
      "acp_per_ws": 2.0,
      "message_per_ws": 12.0,
      "message_per_acp": 6.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "cost": 0.7087,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 2,
      "user_message_count": 1,
      "cost_per_ws": 0.7087,
      "cost_per_acp": 0.7087,
      "acp_per_ws": 1.0,
      "message_per_ws": 2.0,
      "message_per_acp": 2.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "team": "Global Control",
      "cost": 0.6201,
      "acp_interactions": 1,
      "workspace_count": 2,
      "active_users": 1,
      "message_count": 9,
      "user_message_count": 3,
      "cost_per_ws": 0.3101,
      "cost_per_acp": 0.6201,
      "acp_per_ws": 0.5,
      "message_per_ws": 4.5,
      "message_per_acp": 9.0,
      "correction_message_ratio": null
    },
    {
      "team_path": "Product / Enterprise & Partner Product",
      "team": "Enterprise & Partner Product",
      "cost": 0.0594,
      "acp_interactions": 1,
      "workspace_count": 1,
      "active_users": 1,
      "message_count": 3,
      "user_message_count": 1,
      "cost_per_ws": 0.0594,
      "cost_per_acp": 0.0594,
      "acp_per_ws": 1.0,
      "message_per_ws": 3.0,
      "message_per_acp": 3.0,
      "correction_message_ratio": null
    }
  ],
  "users": [
    {
      "user_email": "qiaodan@pingcap.com",
      "name": "乔丹",
      "en_name": "Dan Qiao",
      "team_path": "Product / TiDB X Core Product",
      "team": "TiDB X Core Product",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 4.2836,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 14,
      "user_message_count": 7,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "qizheng@pingcap.com",
      "name": "戚铮",
      "en_name": "Zheng Qi",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 4.0702,
      "acp_interactions": 8,
      "workspace_count": 2,
      "message_count": 18,
      "user_message_count": 9,
      "channel_breakdown": {
        "web": 8
      },
      "frequency_bucket": "高频",
      "depth_bucket": "高轮次",
      "behavior_mode": "高频高轮次",
      "avg_acp_per_ws": 4.0
    },
    {
      "user_email": "wenxuan.zhang@pingcap.com",
      "name": "张文轩",
      "en_name": "Wenxuan",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "team": "TiDB Scalability Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 3.9554,
      "acp_interactions": 1,
      "workspace_count": 3,
      "message_count": 18,
      "user_message_count": 9,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.3333
    },
    {
      "user_email": "yuping@pingcap.com",
      "name": "俞平",
      "en_name": "Ping Yu",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 2.4563,
      "acp_interactions": 3,
      "workspace_count": 1,
      "message_count": 6,
      "user_message_count": 3,
      "channel_breakdown": {
        "web": 3
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 3.0
    },
    {
      "user_email": "mizuki.masuda@pingcap.com",
      "name": "Masuda Mizuki",
      "en_name": "Mizuki Masuda",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 2.0192,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "yikai.puah@pingcap.com",
      "name": "Puah Yi Kai",
      "en_name": "",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.6375,
      "acp_interactions": 6,
      "workspace_count": 4,
      "message_count": 24,
      "user_message_count": 12,
      "channel_breakdown": {
        "web": 6
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 1.5
    },
    {
      "user_email": "jianghongmei@pingcap.com",
      "name": "江红梅",
      "en_name": "Hongmei Jiang",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "team": "Advanced Intelligent Support",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 1.5656,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "zhi.xie@pingcap.com",
      "name": "谢智",
      "en_name": "Zhi Xie",
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "team": "Professional Services",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.8305,
      "acp_interactions": 2,
      "workspace_count": 1,
      "message_count": 4,
      "user_message_count": 2,
      "channel_breakdown": {
        "web": 2
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 2.0
    },
    {
      "user_email": "lingtao.li@pingcap.com",
      "name": "李凌涛",
      "en_name": "Lingtao Li",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "team": "Observability & Diagnostics Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.7087,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "cli": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "shigeyuki.fujishima@pingcap.com",
      "name": "Shigeyuki Fujishima",
      "en_name": "Shigeyuki Fujishima",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.649,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "cwen@pingcap.com",
      "name": "殷成文",
      "en_name": "Cwen Yin",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "team": "Global Control",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.6201,
      "acp_interactions": 1,
      "workspace_count": 2,
      "message_count": 6,
      "user_message_count": 2,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "高频",
      "depth_bucket": "低轮次",
      "behavior_mode": "高频低轮次",
      "avg_acp_per_ws": 0.5
    },
    {
      "user_email": "yan.zhou@pingcap.com",
      "name": "YanZhou",
      "en_name": "",
      "team_path": "Japan Business Group / Technical Service",
      "team": "Technical Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.5356,
      "acp_interactions": 0,
      "workspace_count": 1,
      "message_count": 18,
      "user_message_count": 9,
      "channel_breakdown": {},
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 0.0
    },
    {
      "user_email": "debin.jia@pingcap.com",
      "name": "贾德宾",
      "en_name": "Derek Jia",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "team": "KV Service",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.2626,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 2,
      "user_message_count": 1,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "wai.ho@pingcap.com",
      "name": "Chun Wai Ho",
      "en_name": "Wai Ho",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "team": "Intelligent Support",
      "mapping_source": "pingcap_members_by_team.csv",
      "cost": 0.0885,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 0,
      "user_message_count": 0,
      "channel_breakdown": {
        "web": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    },
    {
      "user_email": "nicole.li@pingcap.com",
      "name": "Li Yao",
      "en_name": "Nicole Li",
      "team_path": "Product / Enterprise & Partner Product",
      "team": "Enterprise & Partner Product",
      "mapping_source": "investibook-usage-team-overrides.csv",
      "cost": 0.0594,
      "acp_interactions": 1,
      "workspace_count": 1,
      "message_count": 3,
      "user_message_count": 1,
      "channel_breakdown": {
        "lark": 1
      },
      "frequency_bucket": "低频",
      "depth_bucket": "低轮次",
      "behavior_mode": "低频低轮次",
      "avg_acp_per_ws": 1.0
    }
  ],
  "message_categories": [
    {
      "category": "查询纠偏",
      "user_message_count": 3,
      "share": 0.04918,
      "estimated_cost_by_turn": 1.1676,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 120.67,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "产出物迭代",
      "user_message_count": 4,
      "share": 0.065574,
      "estimated_cost_by_turn": 1.5569,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 477.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "Ad hoc 查询",
      "user_message_count": 36,
      "share": 0.590164,
      "estimated_cost_by_turn": 14.0118,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 117.94,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "诊断启动",
      "user_message_count": 4,
      "share": 0.065574,
      "estimated_cost_by_turn": 1.5569,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 78.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "解释追问",
      "user_message_count": 3,
      "share": 0.04918,
      "estimated_cost_by_turn": 1.1676,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 74.33,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "流程控制/确认",
      "user_message_count": 4,
      "share": 0.065574,
      "estimated_cost_by_turn": 1.5569,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 646.5,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    },
    {
      "category": "背景补充",
      "user_message_count": 7,
      "share": 0.114754,
      "estimated_cost_by_turn": 2.7245,
      "estimated_cost_by_output_weight": null,
      "avg_user_chars": 55.71,
      "avg_next_assistant_chars": null,
      "classification_method": "rule_based_keywords_v2"
    }
  ],
  "unmatched_users": [],
  "top_changed_workspaces": [
    {
      "workspace_id": "ws-1781247076911-9543b7117",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "qiaodan@pingcap.com",
      "team_path": "Product / TiDB X Core Product",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 4.1967,
      "message_count": 14,
      "user_message_count": 7
    },
    {
      "workspace_id": "ws-1781872381432-5c79056df",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "transaction_or_lock_contention",
      "cost": 2.9728,
      "message_count": 10,
      "user_message_count": 5
    },
    {
      "workspace_id": "ws-1781785066432-377f2523a",
      "title": "未命名工作空间",
      "workspace_lifecycle": "updated_existing",
      "user_email": "qizheng@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "pd_tso_or_scheduling",
      "cost": 2.7503,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1781848750058-84583c9be",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "yuping@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "storage_or_io_bottleneck",
      "cost": 2.3816,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1781861778609-6f2945511",
      "title": "その他　調査用",
      "workspace_lifecycle": "new",
      "user_email": "mizuki.masuda@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "cdc_or_replication_lag",
      "cost": 1.9734,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1781775348846-c6d41bb30",
      "title": "查询一下集群 10989049060142230334，如下慢 sql 的出现频率，和时间分布。",
      "workspace_lifecycle": "updated_existing",
      "user_email": "jianghongmei@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.5587,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1781854069019-672f0cfe3",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "qizheng@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 1.2819,
      "message_count": 14,
      "user_message_count": 7
    },
    {
      "workspace_id": "ws-1781771879560-1f87d5c02",
      "title": "客户咨询执行计划选择索引问题，下面的 SQL",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.8778,
      "message_count": 12,
      "user_message_count": 6
    },
    {
      "workspace_id": "ws-1781876277591-4c7859593",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "zhi.xie@pingcap.com",
      "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.7726,
      "message_count": 4,
      "user_message_count": 2
    },
    {
      "workspace_id": "ws-1781598701127-da28e5bfa",
      "title": "tikv自动巡检",
      "workspace_lifecycle": "updated_existing",
      "user_email": "lingtao.li@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "inspection_or_report_generation",
      "cost": 0.7087,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781855679633-cd1e08c2c",
      "title": "TCOC-5446",
      "workspace_lifecycle": "new",
      "user_email": "shigeyuki.fujishima@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "non_diagnosis",
      "scenario_category": "fleet_inventory_or_capacity_analysis",
      "cost": 0.643,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781860089986-eaddf4ab8",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.5246,
      "message_count": 6,
      "user_message_count": 3
    },
    {
      "workspace_id": "ws-1781153449568-9bbdf43a1",
      "title": "Our TiDB cluster running in PRD env got warning",
      "workspace_lifecycle": "updated_existing",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.4371,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781829917477-5b4f92c19",
      "title": "TCID-12807",
      "workspace_lifecycle": "new",
      "user_email": "yan.zhou@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.4289,
      "message_count": 18,
      "user_message_count": 9
    },
    {
      "workspace_id": "ws-1781877240964-5900764e9",
      "title": "未命名工作空间",
      "workspace_lifecycle": "new",
      "user_email": "wenxuan.zhang@pingcap.com",
      "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.3934,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-dc557a57-879f-4313-99d6-8435ad6d6fe2",
      "title": "Lark O11Y-2593344",
      "workspace_lifecycle": "new",
      "user_email": "cwen@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.3413,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "lark-ws-fefc1000-5c03-41ee-a522-a8ceb4eb88bb",
      "title": "Lark O11Y-2593563",
      "workspace_lifecycle": "new",
      "user_email": "cwen@pingcap.com",
      "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
      "scenario_group": "diagnosis",
      "scenario_category": "backup_or_restore",
      "cost": 0.2727,
      "message_count": 3,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781773656908-5e44ce96d",
      "title": "https://tidb.atlassian.net/browse/TCOC-5433",
      "workspace_lifecycle": "updated_existing",
      "user_email": "debin.jia@pingcap.com",
      "team_path": "Engineering Group / Storage Service Engineering / KV Service",
      "scenario_group": "diagnosis",
      "scenario_category": "sql_plan_or_query",
      "cost": 0.2626,
      "message_count": 2,
      "user_message_count": 1
    },
    {
      "workspace_id": "ws-1781851443806-9cf2c17c7",
      "title": "在过去24小时内出现了大量的tidb_tikvclient_backoff_seconds_coun",
      "workspace_lifecycle": "new",
      "user_email": "yikai.puah@pingcap.com",
      "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
      "scenario_group": "diagnosis",
      "scenario_category": "tikv_hotspot_or_coprocessor",
      "cost": 0.2477,
      "message_count": 8,
      "user_message_count": 4
    },
    {
      "workspace_id": "ws-1781829917477-5b4f92c19",
      "title": "TCID-12807",
      "workspace_lifecycle": "new",
      "user_email": "yan.zhou@pingcap.com",
      "team_path": "Japan Business Group / Technical Service",
      "scenario_group": "diagnosis",
      "scenario_category": "resource_control_or_capacity",
      "cost": 0.1067,
      "message_count": 18,
      "user_message_count": 9
    }
  ],
  "charts": {
    "daily_cost_acp": [
      {
        "date": "2026-06-19",
        "cost": 23.7422,
        "acp_interactions": 27,
        "workspace_count": 22,
        "active_users": 15
      }
    ],
    "team_cost_bar": [
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "cost": 5.6358,
        "acp_interactions": 10,
        "workspace_count": 3,
        "active_users": 2
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "cost": 4.2836,
        "acp_interactions": 0,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "cost": 3.9554,
        "acp_interactions": 1,
        "workspace_count": 4,
        "active_users": 1
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "cost": 3.2038,
        "acp_interactions": 1,
        "workspace_count": 3,
        "active_users": 3
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "cost": 2.7189,
        "acp_interactions": 4,
        "workspace_count": 2,
        "active_users": 2
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "cost": 1.726,
        "acp_interactions": 7,
        "workspace_count": 5,
        "active_users": 2
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "cost": 0.8305,
        "acp_interactions": 2,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "cost": 0.7087,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      },
      {
        "team": "Global Control",
        "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
        "cost": 0.6201,
        "acp_interactions": 1,
        "workspace_count": 2,
        "active_users": 1
      },
      {
        "team": "Enterprise & Partner Product",
        "team_path": "Product / Enterprise & Partner Product",
        "cost": 0.0594,
        "acp_interactions": 1,
        "workspace_count": 1,
        "active_users": 1
      }
    ],
    "team_ratio_scatter": [
      {
        "team": "Advanced Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Advanced Intelligent Support",
        "x": 3.3333,
        "y": 0.5636,
        "size": 3,
        "cost": 5.6358
      },
      {
        "team": "TiDB X Core Product",
        "team_path": "Product / TiDB X Core Product",
        "x": 0.0,
        "y": null,
        "size": 1,
        "cost": 4.2836
      },
      {
        "team": "TiDB Scalability Service",
        "team_path": "Engineering Group / Database Service Engineering / TiDB Scalability Service",
        "x": 0.25,
        "y": 3.9554,
        "size": 4,
        "cost": 3.9554
      },
      {
        "team": "Technical Service",
        "team_path": "Japan Business Group / Technical Service",
        "x": 0.3333,
        "y": 3.2038,
        "size": 3,
        "cost": 3.2038
      },
      {
        "team": "KV Service",
        "team_path": "Engineering Group / Storage Service Engineering / KV Service",
        "x": 2.0,
        "y": 0.6797,
        "size": 2,
        "cost": 2.7189
      },
      {
        "team": "Intelligent Support",
        "team_path": "Engineering Group / Global Support Intelligence / Intelligent Support",
        "x": 1.4,
        "y": 0.2466,
        "size": 5,
        "cost": 1.726
      },
      {
        "team": "Professional Services",
        "team_path": "APAC Business Group / Customer Success & Alliances / Professional Services",
        "x": 2.0,
        "y": 0.4153,
        "size": 1,
        "cost": 0.8305
      },
      {
        "team": "Observability & Diagnostics Service",
        "team_path": "Engineering Group / Database Service Engineering / Observability & Diagnostics Service",
        "x": 1.0,
        "y": 0.7087,
        "size": 1,
        "cost": 0.7087
      },
      {
        "team": "Global Control",
        "team_path": "Engineering Group / Service Orchestration Engineering / Global Control",
        "x": 0.5,
        "y": 0.6201,
        "size": 2,
        "cost": 0.6201
      },
      {
        "team": "Enterprise & Partner Product",
        "team_path": "Product / Enterprise & Partner Product",
        "x": 1.0,
        "y": 0.0594,
        "size": 1,
        "cost": 0.0594
      }
    ],
    "message_category_stack": [
      {
        "team": "Advanced Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 18
      },
      {
        "team": "Advanced Intelligent Support",
        "category": "背景补充",
        "count": 4
      },
      {
        "team": "TiDB X Core Product",
        "category": "Ad hoc 查询",
        "count": 12
      },
      {
        "team": "TiDB X Core Product",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "Ad hoc 查询",
        "count": 10
      },
      {
        "team": "TiDB Scalability Service",
        "category": "产出物迭代",
        "count": 4
      },
      {
        "team": "TiDB Scalability Service",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "TiDB Scalability Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "Ad hoc 查询",
        "count": 16
      },
      {
        "team": "Technical Service",
        "category": "查询纠偏",
        "count": 2
      },
      {
        "team": "Technical Service",
        "category": "背景补充",
        "count": 4
      },
      {
        "team": "Technical Service",
        "category": "诊断启动",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "Ad hoc 查询",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "KV Service",
        "category": "查询纠偏",
        "count": 2
      },
      {
        "team": "KV Service",
        "category": "流程控制/确认",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "Ad hoc 查询",
        "count": 5
      },
      {
        "team": "Intelligent Support",
        "category": "查询纠偏",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "流程控制/确认",
        "count": 1
      },
      {
        "team": "Intelligent Support",
        "category": "背景补充",
        "count": 2
      },
      {
        "team": "Intelligent Support",
        "category": "解释追问",
        "count": 3
      },
      {
        "team": "Intelligent Support",
        "category": "诊断启动",
        "count": 1
      },
      {
        "team": "Professional Services",
        "category": "Ad hoc 查询",
        "count": 3
      },
      {
        "team": "Professional Services",
        "category": "诊断启动",
        "count": 3
      },
      {
        "team": "Observability & Diagnostics Service",
        "category": "产出物迭代",
        "count": 1
      },
      {
        "team": "Global Control",
        "category": "Ad hoc 查询",
        "count": 3
      },
      {
        "team": "Enterprise & Partner Product",
        "category": "流程控制/确认",
        "count": 1
      }
    ],
    "user_behavior_quadrant": [
      {
        "user_email": "cwen@pingcap.com",
        "x": 2,
        "y": 0.5,
        "cost": 0.6201,
        "mode": "高频低轮次"
      },
      {
        "user_email": "debin.jia@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.2626,
        "mode": "低频低轮次"
      },
      {
        "user_email": "jianghongmei@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 1.5656,
        "mode": "低频低轮次"
      },
      {
        "user_email": "lingtao.li@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.7087,
        "mode": "低频低轮次"
      },
      {
        "user_email": "mizuki.masuda@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 2.0192,
        "mode": "低频低轮次"
      },
      {
        "user_email": "nicole.li@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.0594,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qiaodan@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 4.2836,
        "mode": "低频低轮次"
      },
      {
        "user_email": "qizheng@pingcap.com",
        "x": 2,
        "y": 4.0,
        "cost": 4.0702,
        "mode": "高频高轮次"
      },
      {
        "user_email": "shigeyuki.fujishima@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.649,
        "mode": "低频低轮次"
      },
      {
        "user_email": "wai.ho@pingcap.com",
        "x": 1,
        "y": 1.0,
        "cost": 0.0885,
        "mode": "低频低轮次"
      },
      {
        "user_email": "wenxuan.zhang@pingcap.com",
        "x": 3,
        "y": 0.3333,
        "cost": 3.9554,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yan.zhou@pingcap.com",
        "x": 1,
        "y": 0.0,
        "cost": 0.5356,
        "mode": "低频低轮次"
      },
      {
        "user_email": "yikai.puah@pingcap.com",
        "x": 4,
        "y": 1.5,
        "cost": 1.6375,
        "mode": "高频低轮次"
      },
      {
        "user_email": "yuping@pingcap.com",
        "x": 1,
        "y": 3.0,
        "cost": 2.4563,
        "mode": "低频低轮次"
      },
      {
        "user_email": "zhi.xie@pingcap.com",
        "x": 1,
        "y": 2.0,
        "cost": 0.8305,
        "mode": "低频低轮次"
      }
    ]
  },
  "workspace_changes_ref": "workspace_changes.json"
}
