Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,6 @@ private static TBuilder AddOpenTelemetryExporters<TBuilder>(this TBuilder builde
builder.Services.AddOpenTelemetry().UseOtlpExporter();
}

// TODO MAUI: this code comes from the Aspire service defaults, we will want to check if this works for us and if yes
// how integration works for us because the AspNetCore package cannot be added to a MAUI project and we can't read the connection string like this
// Uncomment the following lines to enable the Azure Monitor exporter (requires the Azure.Monitor.OpenTelemetry.AspNetCore package)
//if (!string.IsNullOrEmpty(builder.Configuration["APPLICATIONINSIGHTS_CONNECTION_STRING"]))
//{
// builder.Services.AddOpenTelemetry()
// .UseAzureMonitor();
//}

return builder;
}
}
Loading