Skip to content

Commit 524687f

Browse files
author
Timothy Mothra
authored
[AzureMonitorDistro] fix eventsource comment (Azure#38400)
* fix eventsource comment * add comment to detail how to find the Guid
1 parent 3b2e9e2 commit 524687f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

sdk/monitor/Azure.Monitor.OpenTelemetry.AspNetCore/src/AzureMonitorAspNetCoreEventSource.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ namespace Azure.Monitor.OpenTelemetry.AspNetCore
1010
{
1111
/// <summary>
1212
/// EventSource for the AzureMonitor AspNetCore Distro.
13-
/// EventSource Guid at Runtime: ????.
13+
/// EventSource Guid at Runtime: 928cf0a7-3e20-5f5d-a14f-0e62fdc972e6.
14+
/// (This guid can be found by debugging this class and inspecting the "Log" singleton and reading the "Guid" property).
1415
/// </summary>
1516
/// <remarks>
1617
/// PerfView Instructions:
@@ -25,7 +26,7 @@ namespace Azure.Monitor.OpenTelemetry.AspNetCore
2526
/// </list>
2627
/// Logman Instructions:
2728
/// <list type="number">
28-
/// <item>Create a text file containing providers: <code>echo "{????}" > providers.txt</code></item>
29+
/// <item>Create a text file containing providers: <code>echo "{928cf0a7-3e20-5f5d-a14f-0e62fdc972e6}" > providers.txt</code></item>
2930
/// <item>Start collecting: <code>logman -start exporter -pf providers.txt -ets -bs 1024 -nb 100 256</code></item>
3031
/// <item>Stop collecting: <code>logman -stop exporter -ets</code></item>
3132
/// </list>

sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Internals/Diagnostics/AzureMonitorExporterEventSource.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ namespace Azure.Monitor.OpenTelemetry.Exporter.Internals.Diagnostics
1212
/// <summary>
1313
/// EventSource for the AzureMonitorExporter.
1414
/// EventSource Guid at Runtime: bb5be13f-ec3a-5ab2-6a6a-0f881d6e0d5b.
15+
/// (This guid can be found by debugging this class and inspecting the "Log" singleton and reading the "Guid" property).
1516
/// </summary>
1617
/// <remarks>
1718
/// PerfView Instructions:

0 commit comments

Comments
 (0)