7 references to GetResourceName
aspire (7)
Commands\TelemetryCommandHelpers.cs (4)
321/// Converts an array of <see cref="ResourceInfoJson"/> to a list of <see cref="IOtlpResource"/> for use with <see cref="OtlpHelpers.GetResourceName"/>. 339colorMap.ResolveAll(allResources.Select(r => OtlpHelpers.GetResourceName(r, allResources))); 343/// Resolves the display name for an OTLP resource using <see cref="OtlpHelpers.GetResourceName"/>, 354return OtlpHelpers.GetResourceName(otlpResource, allResources);
Mcp\Tools\ListStructuredLogsTool.cs (1)
85getResourceName: s => OtlpHelpers.GetResourceName(s, resources.Select(r => new SimpleOtlpResource(r.Name, r.InstanceId)).ToList()),
Mcp\Tools\ListTracesTool.cs (1)
85getResourceName: s => OtlpHelpers.GetResourceName(s, resources.Select(r => new SimpleOtlpResource(r.Name, r.InstanceId)).ToList()),
Mcp\Tools\ListTraceStructuredLogsTool.cs (1)
85getResourceName: s => OtlpHelpers.GetResourceName(s, resources.Select(r => new SimpleOtlpResource(r.Name, r.InstanceId)).ToList()),