1 write to Application
Aspire.Dashboard (1)
Otlp\Model\OtlpApplicationView.cs (1)
21Application = application;
11 references to Application
Aspire.Dashboard (11)
Components\Pages\StructuredLogs.razor.cs (1)
327private string GetResourceName(OtlpApplicationView app) => OtlpApplication.GetResourceName(app.Application, _applications);
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)
102KnownResourceFields.ServiceNameField => log.ApplicationView.Application.ApplicationName,
Otlp\Model\OtlpTrace.cs (1)
105return $"{existingSpan.Source.Application.ApplicationName}: {existingSpan.Name}";
Otlp\Storage\TelemetryRepository.cs (4)
363_logPropertyKeys.Add((applicationView.Application, kvp.Key)); 400results = results.Where(l => MatchApplications(l.ApplicationView.Application, applications)); 716applicationView.Application.AddMetrics(context, rm.ScopeMetrics); 884_tracePropertyKeys.Add((applicationView.Application, kvp.Key));