1 write to _options
aspire (1)
Profiling\ProfileCaptureService.cs (1)
257
_options
= options;
9 references to _options
aspire (9)
Profiling\ProfileCaptureService.cs (9)
294
using var response = await client.GetAsync(
_options
.DashboardUrl, linkedCts.Token).ConfigureAwait(false);
327
_logger.LogError("No profiling traces were exported for session {SessionId}",
_options
.SessionId);
331
if (CountSessionSpans(traces,
_options
.SessionId) == 0)
333
_logger.LogError("No exported spans matched profiling session {SessionId}",
_options
.SessionId);
337
var outputDirectory = Path.GetDirectoryName(
_options
.OutputPath);
345
archive.WriteToFile(
_options
.OutputPath);
349
string.Format(CultureInfo.CurrentCulture, ExportCommandStrings.ExportComplete, MarkupHelpers.SafeFileLink(_interactionService,
_options
.OutputPath)),
413
var profileSpanCount = CountSessionSpans(lastResult,
_options
.SessionId);
451
var url = DashboardUrls.TelemetryTracesApiUrl(
_options
.DashboardUrl, limit: TelemetryCommandHelpers.MaxTelemetryLimit);