5 instantiations of OtlpResourceLogsJson
Aspire.Dashboard (4)
Model\TelemetryExportService.cs (3)
241return new OtlpResourceLogsJson 373new OtlpResourceLogsJson 463return new OtlpResourceLogsJson
OtlpJsonSerializerContext.OtlpResourceLogsJson.g.cs (1)
31ObjectCreator = () => new global::Aspire.Otlp.Serialization.OtlpResourceLogsJson(),
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
433new OtlpResourceLogsJson
60 references to OtlpResourceLogsJson
Aspire.Dashboard (57)
Model\TelemetryExportService.cs (1)
450private static OtlpResourceLogsJson[]? ConvertLogsToResourceLogs(List<OtlpLogEntry>? logs)
Model\TelemetryImportService.cs (1)
162private void ImportLogs(OtlpResourceLogsJson[] resourceLogs)
Otlp\Model\Serialization\OtlpCommonJson.cs (1)
25public OtlpResourceLogsJson[]? ResourceLogs { get; set; }
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
46foreach (var rl in json.ResourceLogs) 248private static ResourceLogs ToProtobuf(OtlpResourceLogsJson json)
Otlp\Model\Serialization\OtlpJsonSerializerContext.cs (1)
39[JsonSerializable(typeof(OtlpResourceLogsJson))]
OtlpJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
238if (type == typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)) 242if (type == typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]))
OtlpJsonSerializerContext.OtlpExportLogsServiceRequestJson.g.cs (4)
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]> 66AttributeProviderFactory = static () => typeof(global::Aspire.Otlp.Serialization.OtlpExportLogsServiceRequestJson).GetProperty("ResourceLogs", InstanceMemberBindingFlags, null, typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]), global::System.Array.Empty<global::System.Type>(), null), 69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]>(options, info0); 86global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[] __value_ResourceLogs = ((global::Aspire.Otlp.Serialization.OtlpExportLogsServiceRequestJson)value).ResourceLogs;
OtlpJsonSerializerContext.OtlpResourceLogsJson.g.cs (26)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson>? _OtlpResourceLogsJson; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson> OtlpResourceLogsJson 22get => _OtlpResourceLogsJson ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson>)Options.GetTypeInfo(typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson> Create_OtlpResourceLogsJson(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson> 35ConstructorAttributeProviderFactory = static () => typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson>(options, objectInfo); 56DeclaringType = typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson), 58Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)obj).ScopeLogs, 59Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)obj).ScopeLogs = value!, 66AttributeProviderFactory = static () => typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson).GetProperty("ScopeLogs", InstanceMemberBindingFlags, null, typeof(global::Aspire.Otlp.Serialization.OtlpScopeLogsJson[]), global::System.Array.Empty<global::System.Type>(), null), 76DeclaringType = typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson), 78Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)obj).Resource, 79Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)obj).Resource = value!, 86AttributeProviderFactory = static () => typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson).GetProperty("Resource", InstanceMemberBindingFlags, null, typeof(global::Aspire.Otlp.Serialization.OtlpResourceJson), global::System.Array.Empty<global::System.Type>(), null), 96DeclaringType = typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson), 98Getter = static obj => ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)obj).SchemaUrl, 99Setter = static (obj, value) => ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)obj).SchemaUrl = value!, 106AttributeProviderFactory = static () => typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson).GetProperty("SchemaUrl", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 116private void OtlpResourceLogsJsonSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Otlp.Serialization.OtlpResourceLogsJson? value) 126global::Aspire.Otlp.Serialization.OtlpScopeLogsJson[] __value_ScopeLogs = ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)value).ScopeLogs; 132global::Aspire.Otlp.Serialization.OtlpResourceJson __value_Resource = ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)value).Resource; 138string __value_SchemaUrl = ((global::Aspire.Otlp.Serialization.OtlpResourceLogsJson)value).SchemaUrl;
OtlpJsonSerializerContext.OtlpResourceLogsJsonArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]>? _OtlpResourceLogsJsonArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]> OtlpResourceLogsJsonArray 22get => _OtlpResourceLogsJsonArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]>)Options.GetTypeInfo(typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[])); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]> Create_OtlpResourceLogsJsonArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]> 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateArrayInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson>(options, info); 45private void OtlpResourceLogsJsonArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]? value)
OtlpJsonSerializerContext.OtlpTelemetryDataJson.g.cs (4)
71var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]> 86AttributeProviderFactory = static () => typeof(global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpTelemetryDataJson).GetProperty("ResourceLogs", InstanceMemberBindingFlags, null, typeof(global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]), global::System.Array.Empty<global::System.Type>(), null), 89properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[]>(options, info1); 132global::Aspire.Otlp.Serialization.OtlpResourceLogsJson[] __value_ResourceLogs = ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpTelemetryDataJson)value).ResourceLogs;
src\Shared\ConsoleLogs\SharedAIHelpers.cs (4)
59IList<OtlpResourceLogsJson>? resourceLogs, 88IList<OtlpResourceLogsJson>? resourceLogs, 425public static List<OtlpLogEntryDto> GetLogRecordsFromOtlpData(IList<OtlpResourceLogsJson>? resourceLogs) 434foreach (var resourceLog in resourceLogs)
src\Shared\Otlp\Serialization\OtlpLogsJson.cs (1)
141public OtlpResourceLogsJson[]? ResourceLogs { get; set; }
Aspire.Dashboard.Tests (3)
Model\TelemetryExportServiceTests.cs (3)
67var resourceLogs = result.ResourceLogs[0]; 175var resourceLogs = result.ResourceLogs[0]; 849var resourceLogs = logsData.ResourceLogs[0];