8 writes to Name
Aspire.Dashboard (3)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
1528
Name
= other.Name;
1670
Name
= input.ReadString();
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (1)
383
metric.
Name
= json.Name;
Aspire.Dashboard.Components.Tests (2)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
72
Name
= metricName,
97
Name
= metricName,
Aspire.Dashboard.Tests (3)
TelemetryRepositoryTests\MetricsTests.cs (1)
1056
Name
= "test",
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
72
Name
= metricName,
97
Name
= metricName,
14 references to Name
Aspire.Dashboard (14)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (10)
1359
if (
Name
!= other.
Name
) return false;
1376
if (
Name
.Length != 0) hash ^=
Name
.GetHashCode();
1447
if (
Name
.Length != 0) {
1449
output.WriteString(
Name
);
1490
if (
Name
.Length != 0) {
1491
size += 1 + pb::CodedOutputStream.ComputeStringSize(
Name
);
1527
if (other.
Name
.Length != 0) {
1528
Name = other.
Name
;
Otlp\Model\OtlpResource.cs (4)
68
if (string.IsNullOrEmpty(metric.
Name
))
73
var instrumentKey = new OtlpInstrumentKey(scope.Name, metric.
Name
);
82
Name = metric.
Name
,
100
Context.Logger.LogInformation(ex, "Error adding metric instrument {MetricName}.", metric.
Name
);