5 instantiations of NumberDataPoint
Aspire.Dashboard (2)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
2811private static readonly pb::MessageParser<NumberDataPoint> _parser = new pb::MessageParser<NumberDataPoint>(() => new NumberDataPoint()); 2860return new NumberDataPoint(this);
Aspire.Dashboard.Components.Tests (2)
Controls\PlotlyChartTests.cs (1)
76dimension.AddPointValue(new NumberDataPoint
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
105var point = new NumberDataPoint
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
105var point = new NumberDataPoint
30 references to NumberDataPoint
Aspire.Dashboard (26)
artifacts\obj\Aspire.Dashboard\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (21)
125new pbr::GeneratedClrTypeInfo(typeof(global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint), global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint.Parser, new[]{ "Attributes", "StartTimeUnixNano", "TimeUnixNano", "AsDouble", "AsInt", "Exemplars", "Flags" }, new[]{ "Value" }, null, null, null), 1730private static readonly pb::FieldCodec<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint> _repeated_dataPoints_codec 1731= pb::FieldCodec.ForMessage(10, global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint.Parser); 1732private readonly pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint> dataPoints_ = new pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint>(); 1735public pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint> DataPoints { 1923private static readonly pb::FieldCodec<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint> _repeated_dataPoints_codec 1924= pb::FieldCodec.ForMessage(10, global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint.Parser); 1925private readonly pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint> dataPoints_ = new pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint>(); 1928public pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.NumberDataPoint> DataPoints { 2806public sealed partial class NumberDataPoint : pb::IMessage<NumberDataPoint> 2811private static readonly pb::MessageParser<NumberDataPoint> _parser = new pb::MessageParser<NumberDataPoint>(() => new NumberDataPoint()); 2815public static pb::MessageParser<NumberDataPoint> Parser { get { return _parser; } } 2839public NumberDataPoint(NumberDataPoint other) : this() { 2859public NumberDataPoint Clone() { 3024return Equals(other as NumberDataPoint); 3029public bool Equals(NumberDataPoint other) { 3166public void MergeFrom(NumberDataPoint other) {
Otlp\Model\MetricValues\DimensionScope.cs (3)
32public void AddPointValue(NumberDataPoint d, OtlpContext context) 37if (d.ValueCase == NumberDataPoint.ValueOneofCase.AsInt) 58else if (d.ValueCase == NumberDataPoint.ValueOneofCase.AsDouble)
Otlp\Model\OtlpInstrument.cs (2)
47foreach (var d in metric.Gauge.DataPoints) 53foreach (var d in metric.Sum.DataPoints)
Aspire.Dashboard.Components.Tests (2)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
103private static NumberDataPoint CreateNumberPoint(DateTime startTime, int value, IEnumerable<KeyValuePair<string, string>>? attributes = null, IEnumerable<Exemplar>? exemplars = null) 105var point = new NumberDataPoint
Aspire.Dashboard.Tests (2)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (2)
103private static NumberDataPoint CreateNumberPoint(DateTime startTime, int value, IEnumerable<KeyValuePair<string, string>>? attributes = null, IEnumerable<Exemplar>? exemplars = null) 105var point = new NumberDataPoint