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