1 write to Context
Aspire.Dashboard (1)
Otlp\Model\OtlpApplication.cs (1)
42
Context
= context;
12 references to Context
Aspire.Dashboard (12)
Otlp\Model\OtlpApplication.cs (11)
56
if (!OtlpHelpers.TryAddScope(_meters, sm.Scope,
Context
, out var scope))
86
Context =
Context
95
Context
.Logger.LogInformation(ex, "Error adding metric instrument {MetricName}.", metric.Name);
131
instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d,
Context
);
136
Context
.Logger.LogInformation(ex, "Error adding metric.");
145
instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d,
Context
);
150
Context
.Logger.LogInformation(ex, "Error adding metric.");
159
instrument.FindScope(d.Attributes, ref tempAttributes).AddHistogramValue(d,
Context
);
164
Context
.Logger.LogInformation(ex, "Error adding metric.");
170
Context
.Logger.LogInformation("Error adding summary metrics. Summary is not supported.");
174
Context
.Logger.LogInformation("Error adding exponential histogram metrics. Exponential histogram is not supported.");
Otlp\Model\OtlpApplicationView.cs (1)
23
var properties = attributes.ToKeyValuePairs(application.
Context
, filter: attribute =>