10 writes to Value
Aspire.Dashboard (4)
Model\TelemetryExportService.cs (3)
367Value = new OtlpAnyValueJson { StringValue = resource.ResourceName } 372Value = new OtlpAnyValueJson { StringValue = resource.InstanceId } 398Value = new OtlpAnyValueJson { StringValue = a.Value }
OtlpJsonSerializerContext.OtlpKeyValueJson.g.cs (1)
79Setter = static (obj, value) => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpKeyValueJson)obj).Value = value!,
Aspire.Dashboard.Tests (6)
Model\TelemetryImportServiceTests.cs (6)
415new OtlpKeyValueJson { Key = "service.name", Value = new OtlpAnyValueJson { StringValue = serviceName } }, 416new OtlpKeyValueJson { Key = "service.instance.id", Value = new OtlpAnyValueJson { StringValue = instanceId } } 460new OtlpKeyValueJson { Key = "service.name", Value = new OtlpAnyValueJson { StringValue = serviceName } }, 461new OtlpKeyValueJson { Key = "service.instance.id", Value = new OtlpAnyValueJson { StringValue = instanceId } } 505new OtlpKeyValueJson { Key = "service.name", Value = new OtlpAnyValueJson { StringValue = serviceName } }, 506new OtlpKeyValueJson { Key = "service.instance.id", Value = new OtlpAnyValueJson { StringValue = instanceId } }
10 references to Value
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
788if (json.Value is not null) 790kv.Value = ToProtobuf(json.Value);
OtlpJsonSerializerContext.OtlpKeyValueJson.g.cs (2)
78Getter = static obj => ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpKeyValueJson)obj).Value, 111global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpAnyValueJson __value_Value = ((global::Aspire.Dashboard.Otlp.Model.Serialization.OtlpKeyValueJson)value).Value;
Aspire.Dashboard.Tests (6)
Model\TelemetryExportServiceTests.cs (6)
65Assert.Contains(resourceLogs.Resource.Attributes, a => a.Key == OtlpResource.SERVICE_NAME && a.Value?.StringValue == "TestService"); 66Assert.Contains(resourceLogs.Resource.Attributes, a => a.Key == OtlpResource.SERVICE_INSTANCE_ID && a.Value?.StringValue == "instance-1"); 87Assert.Contains(logRecord.Attributes, a => a.Key == "custom.attr" && a.Value?.StringValue == "custom-value"); 273Assert.Contains(resourceSpans.Resource.Attributes, a => a.Key == OtlpResource.SERVICE_NAME && a.Value?.StringValue == "TestService"); 296Assert.Contains(span.Attributes, a => a.Key == "http.method" && a.Value?.StringValue == "GET"); 385Assert.Contains(resourceMetrics.Resource.Attributes, a => a.Key == OtlpResource.SERVICE_NAME && a.Value?.StringValue == "TestService");