Adding PowerLauncherTelemetry events

This commit is contained in:
ryanbodrug-microsoft
2020-05-05 08:53:07 -07:00
parent 2b158c2b4e
commit 3a24e4703d
10 changed files with 189 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Text;
namespace Microsoft.PowerLauncher.Telemetry
{
/// <summary>
/// ETW Event for when the user initiates a query
/// </summary>
[EventData]
public class QueryEvent : IEvent
{
public string EventName { get; } = "PowerLauncher_Query_Event";
public double QueryTimeMs { get; set; }
public int QueryLength { get; set; }
public int NumResults { get; set; }
}
}