1 write to Context
Aspire.Dashboard (1)
Otlp\Model\OtlpApplication.cs (1)
42Context = context;
13 references to Context
Aspire.Dashboard (13)
Otlp\Model\OtlpApplication.cs (12)
56if (!OtlpHelpers.TryGetOrAddScope(_meters, sm.Scope, Context, TelemetryType.Metrics, out var scope)) 88Context = Context 91Context.Logger.LogTrace("Added metric instrument '{InstrumentName}' for scope '{ScopeName}'.", instrumentRef.Summary.Name, scope.Name); 100Context.Logger.LogInformation(ex, "Error adding metric instrument {MetricName}.", metric.Name); 136instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d, Context); 142Context.Logger.LogInformation(ex, "Error adding metric."); 151instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d, Context); 157Context.Logger.LogInformation(ex, "Error adding metric."); 166instrument.FindScope(d.Attributes, ref tempAttributes).AddHistogramValue(d, Context); 172Context.Logger.LogInformation(ex, "Error adding metric."); 178Context.Logger.LogInformation("Error adding summary metrics. Summary is not supported."); 182Context.Logger.LogInformation("Error adding exponential histogram metrics. Exponential histogram is not supported.");
Otlp\Model\OtlpApplicationView.cs (1)
23var properties = attributes.ToKeyValuePairs(application.Context, filter: attribute =>