13 instantiations of ResourceMetrics
Aspire.Dashboard (2)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
453private static readonly pb::MessageParser<ResourceMetrics> _parser = new pb::MessageParser<ResourceMetrics>(() => new ResourceMetrics()); 491return new ResourceMetrics(this);
Aspire.Dashboard.Components.Tests (3)
Pages\MetricsTests.cs (3)
88new ResourceMetrics 133new ResourceMetrics 148new ResourceMetrics
Aspire.Dashboard.Tests (8)
TelemetryRepositoryTests\MetricsTests.cs (8)
32new ResourceMetrics 115new ResourceMetrics 231new ResourceMetrics 324new ResourceMetrics 432new ResourceMetrics 511new ResourceMetrics 527new ResourceMetrics 543new ResourceMetrics
31 references to ResourceMetrics
Aspire.Dashboard (23)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\collector\metrics\v1\MetricsService.cs (5)
105private static readonly pb::FieldCodec<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics> _repeated_resourceMetrics_codec 106= pb::FieldCodec.ForMessage(10, global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics.Parser); 107private readonly pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics> resourceMetrics_ = new pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics>(); 117public pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics> ResourceMetrics {
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (16)
117new pbr::GeneratedClrTypeInfo(typeof(global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics), global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics.Parser, new[]{ "Resource", "ScopeMetrics", "SchemaUrl" }, null, null, null, null), 297private static readonly pb::FieldCodec<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics> _repeated_resourceMetrics_codec 298= pb::FieldCodec.ForMessage(10, global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics.Parser); 299private readonly pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics> resourceMetrics_ = new pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics>(); 309public pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.ResourceMetrics> ResourceMetrics { 448public sealed partial class ResourceMetrics : pb::IMessage<ResourceMetrics> 453private static readonly pb::MessageParser<ResourceMetrics> _parser = new pb::MessageParser<ResourceMetrics>(() => new ResourceMetrics()); 457public static pb::MessageParser<ResourceMetrics> Parser { get { return _parser; } } 481public ResourceMetrics(ResourceMetrics other) : this() { 490public ResourceMetrics Clone() { 543return Equals(other as ResourceMetrics); 548public bool Equals(ResourceMetrics other) { 639public void MergeFrom(ResourceMetrics other) {
Otlp\Storage\TelemetryRepository.cs (2)
700public void AddMetrics(AddContext context, RepeatedField<ResourceMetrics> resourceMetrics) 702foreach (var rm in resourceMetrics)
Aspire.Dashboard.Components.Tests (2)
Pages\MetricsTests.cs (2)
86telemetryRepository.AddMetrics(new AddContext(), new RepeatedField<ResourceMetrics> 131telemetryRepository.AddMetrics(new AddContext(), new RepeatedField<ResourceMetrics>
Aspire.Dashboard.Tests (6)
TelemetryRepositoryTests\MetricsTests.cs (6)
30repository.AddMetrics(addContext, new RepeatedField<ResourceMetrics>() 113repository.AddMetrics(addContext, new RepeatedField<ResourceMetrics>() 229repository.AddMetrics(addContext, new RepeatedField<ResourceMetrics>() 322repository.AddMetrics(addContext, new RepeatedField<ResourceMetrics>() 430repository.AddMetrics(addContext, new RepeatedField<ResourceMetrics>() 509repository.AddMetrics(addContext, new RepeatedField<ResourceMetrics>()