Skip to content

Commit

Permalink
refactor(bobsbuddy): update combat result metric
Browse files Browse the repository at this point in the history
  • Loading branch information
azeier committed Aug 7, 2023
1 parent 75d91f3 commit 0fe6b9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Hearthstone Deck Tracker/Utility/Analytics/Influx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,11 @@ public static void OnBobsBuddySimulationCompleted(CombatResult result, Output ou
{
if(!Config.Instance.GoogleAnalytics)
return;
var point = new InfluxPointBuilder("hdt_bb_combat_result_v2")
var point = new InfluxPointBuilder("hdt_bb_combat_result_v3")
.Tag("result", result.ToString())
.Tag("terminal_case", terminalCase.ToString())
.Tag("turn", turn)
.Tag("exit_condition", output.myExitCondition.ToString())
.Tag("thread_count", BobsBuddyInvoker.ThreadCount)
.Tag("bb_version", BobsBuddyUtils.VersionString)
.Field("iterations", output.simulationCount)
.Field("result_win", result == CombatResult.Win ? 1 : 0)
.Field("result_tie", result == CombatResult.Tie ? 1 : 0)
Expand Down

0 comments on commit 0fe6b9c

Please sign in to comment.