Adding telemetry events for Settings Enabled or Disabled Modules

This commit is contained in:
ryanbodrug-microsoft
2020-05-05 11:44:54 -07:00
parent def0d7a519
commit b4d75e3240
4 changed files with 151 additions and 37 deletions

View File

@@ -0,0 +1,15 @@
using System.Diagnostics.Tracing;
using Microsoft.PowerToys.Telemetry;
namespace Microsoft.PowerToys.Settings.Telemetry
{
[EventData]
public class EnabledModuleEvent : IEvent
{
public string EventName { get; } = "Settings_EnableModule";
public string ModuleName { get; set; }
public bool Value { get; set; }
}
}