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