15 references to GetString
Aspire.Dashboard (9)
Otlp\Model\OtlpHelpers.cs (5)
40serviceInstanceId = attribute.Value.GetString(); 44serviceName = attribute.Value.GetString(); 48processExecutableName = attribute.Value.GetString(); 223var value = TruncateString(attribute.Value.GetString(), context.Options.MaxAttributeLength); 300var value = TruncateString(attribute.Value.GetString(), context.Options.MaxAttributeLength);
Otlp\Model\OtlpInstrument.cs (1)
47if (!HasOverflow && attributes.Count == 1 && attributes[0].Key == "otel.metric.overflow" && attributes[0].Value.GetString() == "true")
Otlp\Model\OtlpLogEntry.cs (3)
40originalFormat = attribute.Value.GetString(); 43parentId = attribute.Value.GetString(); 58? OtlpHelpers.TruncateString(body.GetString(), context.Options.MaxAttributeLength)
Aspire.Dashboard.Tests (6)
TelemetryRepositoryTests\OtlpHelpersTests.cs (6)
25var s = OtlpHelpers.GetString(anyValue); 41var s = OtlpHelpers.GetString(anyValue); 54var s = OtlpHelpers.GetString(anyValue); 67var s = anyValue.GetString(); 90var s = OtlpHelpers.GetString(anyValue); 153var s = OtlpHelpers.GetString(anyValue);