Merge pull request #18309 from peppy/sentry-tag-os-processor

Add sentry tags for operating system and processor count
This commit is contained in:
Dean Herbert
2022-05-17 15:02:35 +09:00
committed by GitHub

View File

@ -8,6 +8,7 @@ using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using osu.Framework;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Logging;
@ -160,6 +161,8 @@ namespace osu.Game.Utils
};
scope.SetTag(@"ruleset", ruleset.ShortName);
scope.SetTag(@"os", $"{RuntimeInfo.OS} ({Environment.OSVersion})");
scope.SetTag(@"processor count", Environment.ProcessorCount.ToString());
});
}
else