13 writes to Resource
Aspire.Dashboard (2)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
645
Resource
= new global::OpenTelemetry.Proto.Resource.V1.Resource();
708
Resource
= new global::OpenTelemetry.Proto.Resource.V1.Resource();
Aspire.Dashboard.Components.Tests (3)
Pages\MetricsTests.cs (3)
90
Resource
= CreateResource(name: "TestApp"),
135
Resource
= CreateResource(name: "TestApp"),
150
Resource
= CreateResource(name: "TestApp2"),
Aspire.Dashboard.Tests (8)
TelemetryRepositoryTests\MetricsTests.cs (8)
34
Resource
= CreateResource(),
117
Resource
= CreateResource(),
233
Resource
= CreateResource(),
326
Resource
= CreateResource(),
434
Resource
= CreateResource(),
513
Resource
= CreateResource(name: "app1", instanceId: "123"),
529
Resource
= CreateResource(name: "app1", instanceId: "456"),
545
Resource
= CreateResource(name: "app2"),
9 references to Resource
Aspire.Dashboard (9)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (8)
555
if (!object.Equals(
Resource
, other.
Resource
)) return false;
565
if (resource_ != null) hash ^=
Resource
.GetHashCode();
607
output.WriteMessage(
Resource
);
625
size += 1 + pb::CodedOutputStream.ComputeMessageSize(
Resource
);
647
Resource
.MergeFrom(other.
Resource
);
710
input.ReadMessage(
Resource
);
Otlp\Storage\TelemetryRepository.cs (1)
708
applicationView = GetOrAddApplicationView(rm.
Resource
);