1 write to Application
Aspire.Dashboard (1)
Otlp\Model\OtlpApplicationView.cs (1)
21Application = application;
14 references to Application
Aspire.Dashboard (14)
Components\Pages\StructuredLogs.razor.cs (1)
329private string GetResourceName(OtlpApplicationView app) => OtlpApplication.GetResourceName(app.Application, _applications);
Model\TraceHelpers.cs (3)
56if (appFirstTimes.TryGetValue(span.Source.Application, out var orderedApp)) 73span.Source.Application, 74new OrderedApplication(span.Source.Application, appFirstTimes.Count, currentMinDate.Value, totalSpans: 1, erroredSpans: span.Status == OtlpSpanStatusCode.Error ? 1 : 0));
Otlp\Model\OtlpApplication.cs (1)
153GetResourceName(app.Application, allApplications);
Otlp\Model\OtlpApplicationView.cs (3)
15public ApplicationKey ApplicationKey => Application.ApplicationKey; 46new OtlpDisplayField { DisplayName = "service.name", Key = KnownResourceFields.ServiceNameField, Value = Application.ApplicationName }, 47new OtlpDisplayField { DisplayName = "service.instance.id", Key = KnownResourceFields.ServiceInstanceIdField, Value = Application.InstanceId }
Otlp\Model\OtlpLogEntry.cs (1)
104KnownResourceFields.ServiceNameField => log.ApplicationView.Application.ApplicationName,
Otlp\Model\OtlpTrace.cs (1)
105return $"{existingSpan.Source.Application.ApplicationName}: {existingSpan.Name}";
Otlp\Storage\TelemetryRepository.cs (4)
364_logPropertyKeys.Add((applicationView.Application, kvp.Key)); 401results = results.Where(l => MatchApplications(l.ApplicationView.Application, applications)); 717applicationView.Application.AddMetrics(context, rm.ScopeMetrics); 885_tracePropertyKeys.Add((applicationView.Application, kvp.Key));