1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-15 21:17:46 +08:00

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
commit ffbd4f7990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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