mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
Adding PowerLauncherTelemetry events
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user