3 writes to Body
Aspire.Dashboard (2)
Model\TelemetryExportService.cs (1)
235
Body
= new OtlpAnyValueJson { StringValue = log.Message },
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
139
Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpLogRecordJson)obj).
Body
= value!,
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
431
Body
= new OtlpAnyValueJson { StringValue = message }
5 references to Body
Aspire.Dashboard (3)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
308
if (json.
Body
is not null)
310
logRecord.Body = ToProtobuf(json.
Body
);
OtlpJsonSerializerContext.OtlpLogRecordJson.g.cs (1)
138
Getter = static obj => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpLogRecordJson)obj).
Body
,
Aspire.Dashboard.Tests (2)
Model\TelemetryExportServiceTests.cs (2)
79
Assert.Equal("Test log message", logRecord.
Body
?.StringValue);
503
Assert.Equal("log-resource1-111", logRecord.
Body
?.StringValue);