8 writes to Unit
Aspire.Dashboard (3)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
1534
Unit
= other.Unit;
1678
Unit
= input.ReadString();
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (1)
391
metric.
Unit
= json.Unit;
Aspire.Dashboard.Components.Tests (2)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
74
Unit
= "widget",
99
Unit
= "widget",
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\MetricsTests.cs (1)
1058
Unit
= "widget",
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
74
Unit
= "widget",
99
Unit
= "widget",
11 references to Unit
Aspire.Dashboard (11)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (10)
1361
if (
Unit
!= other.
Unit
) return false;
1378
if (
Unit
.Length != 0) hash ^=
Unit
.GetHashCode();
1455
if (
Unit
.Length != 0) {
1457
output.WriteString(
Unit
);
1496
if (
Unit
.Length != 0) {
1497
size += 1 + pb::CodedOutputStream.ComputeStringSize(
Unit
);
1533
if (other.
Unit
.Length != 0) {
1534
Unit = other.
Unit
;
Otlp\Model\OtlpResource.cs (1)
84
Unit = metric.
Unit
,