3 instantiations of Metric
Stress.TelemetryService (3)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (2)
1104
private static readonly pb::MessageParser<Metric> _parser = new pb::MessageParser<Metric>(() => new
Metric
());
1160
return new
Metric
(this);
TelemetryStresser.cs (1)
95
return new
Metric
17 references to Metric
Stress.TelemetryService (17)
artifacts\obj\Stress.TelemetryService\Debug\net8.0\opentelemetry\proto\metrics\v1\Metrics.cs (16)
119
new pbr::GeneratedClrTypeInfo(typeof(global::OpenTelemetry.Proto.Metrics.V1.
Metric
), global::OpenTelemetry.Proto.Metrics.V1.
Metric
.Parser, new[]{ "Name", "Description", "Unit", "Gauge", "Sum", "Histogram", "ExponentialHistogram", "Summary" }, new[]{ "Data" }, null, null, null),
797
private static readonly pb::FieldCodec<global::OpenTelemetry.Proto.Metrics.V1.
Metric
> _repeated_metrics_codec
798
= pb::FieldCodec.ForMessage(18, global::OpenTelemetry.Proto.Metrics.V1.
Metric
.Parser);
799
private readonly pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.
Metric
> metrics_ = new pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.
Metric
>();
805
public pbc::RepeatedField<global::OpenTelemetry.Proto.Metrics.V1.
Metric
> Metrics {
1099
public sealed partial class Metric : pb::IMessage<
Metric
>
1104
private static readonly pb::MessageParser<
Metric
> _parser = new pb::MessageParser<
Metric
>(() => new Metric());
1108
public static pb::MessageParser<
Metric
> Parser { get { return _parser; } }
1132
public Metric(
Metric
other) : this() {
1159
public
Metric
Clone() {
1296
return Equals(other as
Metric
);
1301
public bool Equals(
Metric
other) {
1467
public void MergeFrom(
Metric
other) {
TelemetryStresser.cs (1)
93
public static
Metric
CreateSumMetric(string metricName, DateTime startTime, KeyValuePair<string, string>[]? attributes = null, int? value = null)