1 write to Context
Aspire.Dashboard (1)
Otlp\Model\OtlpResource.cs (1)
57
Context
= context;
13 references to Context
Aspire.Dashboard (13)
Otlp\Model\OtlpResource.cs (12)
71
if (!OtlpHelpers.TryGetOrAddScope(_meters, sm.Scope,
Context
, TelemetryType.Metrics, out var scope))
104
Context =
Context
107
Context
.Logger.LogTrace("Added metric instrument '{InstrumentName}' for scope '{ScopeName}'.", instrumentRef.Summary.Name, scope.Name);
116
Context
.Logger.LogInformation(ex, "Error adding metric instrument {MetricName}.", metric.Name);
152
instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d,
Context
);
158
Context
.Logger.LogInformation(ex, "Error adding metric.");
167
instrument.FindScope(d.Attributes, ref tempAttributes).AddPointValue(d,
Context
);
173
Context
.Logger.LogInformation(ex, "Error adding metric.");
182
instrument.FindScope(d.Attributes, ref tempAttributes).AddHistogramValue(d,
Context
);
188
Context
.Logger.LogInformation(ex, "Error adding metric.");
194
Context
.Logger.LogInformation("Error adding summary metrics. Summary is not supported.");
198
Context
.Logger.LogInformation("Error adding exponential histogram metrics. Exponential histogram is not supported.");
Otlp\Model\OtlpResourceView.cs (1)
23
var properties = attributes.ToKeyValuePairs(resource.
Context
, filter: attribute =>