2 instantiations of OtlpScopeMetricsJson
Aspire.Dashboard (1)
Model\TelemetryExportService.cs (1)
482var scopeMetrics = instrumentsByScope.Select(scopeGroup => new OtlpScopeMetricsJson
Aspire.Dashboard.Tests (1)
Model\TelemetryImportServiceTests.cs (1)
535new OtlpScopeMetricsJson
7 references to OtlpScopeMetricsJson
Aspire.Dashboard (4)
Otlp\Model\Serialization\OtlpJsonProtobufConverter.cs (2)
346foreach (var sm in json.ScopeMetrics) 358private static ScopeMetrics ToProtobuf(OtlpScopeMetricsJson json)
Otlp\Model\Serialization\OtlpJsonSerializerContext.cs (1)
46[JsonSerializable(typeof(OtlpScopeMetricsJson))]
Otlp\Model\Serialization\OtlpMetricsJson.cs (1)
18public OtlpScopeMetricsJson[]? ScopeMetrics { get; set; }
Aspire.Dashboard.Tests (3)
Model\TelemetryExportServiceTests.cs (3)
524var scopeMetrics = resourceMetrics.ScopeMetrics[0]; 606var meter1Scope = resourceMetrics.ScopeMetrics.FirstOrDefault(s => s.Scope?.Name == "Meter1"); 611var meter2Scope = resourceMetrics.ScopeMetrics.FirstOrDefault(s => s.Scope?.Name == "Meter2");