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