1 write to Context
Aspire.Dashboard (1)
Otlp\Model\OtlpApplication.cs (1)
42Context = context;
12 references to Context
Aspire.Dashboard (12)
Otlp\Model\OtlpApplication.cs (11)
56if (!OtlpHelpers.TryAddScope(_meters, sm.Scope, Context, out var scope)) 86Context = Context 95Context.Logger.LogInformation(ex, "Error adding metric instrument {MetricName}.", metric.Name); 131instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d, Context); 136Context.Logger.LogInformation(ex, "Error adding metric."); 145instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d, Context); 150Context.Logger.LogInformation(ex, "Error adding metric."); 159instrument.FindScope(d.Attributes, ref tempAttributes).AddHistogramValue(d, Context); 164Context.Logger.LogInformation(ex, "Error adding metric."); 170Context.Logger.LogInformation("Error adding summary metrics. Summary is not supported."); 174Context.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 =>