diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs index 388c814c..0698c0cb 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs @@ -78,7 +78,7 @@ public class TokenStatistics : ITokenStatistics new StatsKeyValuePair("completion_cost_total", deltaCompletionCost) ] }; - globalStats.UpdateStats($"global-llm-cost-{metric}-{dim}-{agentId}", body); + globalStats.UpdateStats($"global-{metric}-{dim}-{agentId}", body); } public void PrintStatistics() diff --git a/src/Infrastructure/BotSharp.Logger/Hooks/GlobalStatsConversationHook.cs b/src/Infrastructure/BotSharp.Logger/Hooks/GlobalStatsConversationHook.cs index 66b0e8ef..8ff9be86 100644 --- a/src/Infrastructure/BotSharp.Logger/Hooks/GlobalStatsConversationHook.cs +++ b/src/Infrastructure/BotSharp.Logger/Hooks/GlobalStatsConversationHook.cs @@ -39,6 +39,6 @@ public class GlobalStatsConversationHook : IContentGeneratingHook new StatsKeyValuePair("agent_call_count", 1) ] }; - globalStats.UpdateStats($"global-agent-call-{metric}-{dim}-{agentId}", body); + globalStats.UpdateStats($"global-{metric}-{dim}-{agentId}", body); } }