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