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