2 writes to Attributes
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
199
Attributes
= ConvertAttributes(log.Attributes),
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
159
Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpLogRecordJson)obj).
Attributes
= value!,
5 references to Attributes
Aspire.Dashboard (3)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
312
if (json.
Attributes
is not null)
314
foreach (var attr in json.
Attributes
)
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
158
Getter = static obj => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpLogRecordJson)obj).
Attributes
,
Aspire.Dashboard.Tests (2)
Model\TelemetryExportServiceTests.cs (2)
82
Assert.NotNull(logRecord.
Attributes
);
83
Assert.Contains(logRecord.
Attributes
, a => a.Key == "custom.attr" && a.Value?.StringValue == "custom-value");