1 implementation of IOtlpResource
aspire (1)
src\Shared\Otlp\IOtlpResource.cs (1)
28public sealed record SimpleOtlpResource(string ResourceName, string? InstanceId) : IOtlpResource;
12 references to IOtlpResource
aspire (12)
src\Shared\ConsoleLogs\SharedAIHelpers.cs (8)
60Func<IOtlpResource, string> getResourceName, 89Func<IOtlpResource, string> getResourceName, 109Func<IOtlpResource, string> getResourceName, 138Func<IOtlpResource, string> getResourceName, 209Func<IOtlpResource, string> getResourceName, 576Func<IOtlpResource, string> getResourceName, 760internal sealed record OtlpLogEntryDto(OtlpLogRecordJson LogRecord, IOtlpResource Resource, string? ScopeName); 775internal sealed record OtlpSpanDto(OtlpSpanJson Span, IOtlpResource Resource, string? ScopeName);
src\Shared\Otlp\IOtlpResource.cs (1)
24/// Simple implementation of <see cref="IOtlpResource"/> for cases where only the name and instance ID are needed.
src\Shared\Otlp\OtlpHelpers.cs (3)
103public static string GetResourceName(IOtlpResource resource, IReadOnlyList<IOtlpResource> allResources) 106foreach (var item in allResources)