Class MetricSample
Inheritance
System.Object
MetricSample
Assembly: Steeltoe.Management.OpenTelemetryBase.dll
Syntax
public class MetricSample : object
Constructors
|
Edit this page
View Source
MetricSample(MetricStatistic, Double, IEnumerable<KeyValuePair<String, String>>)
Declaration
public MetricSample(MetricStatistic statistic, double value, IEnumerable<KeyValuePair<string, string>> tags = null)
Parameters
Type |
Name |
Description |
MetricStatistic |
statistic |
|
System.Double |
value |
|
IEnumerable<KeyValuePair<System.String, System.String>> |
tags |
|
Properties
|
Edit this page
View Source
Statistic
Declaration
public MetricStatistic Statistic { get; }
Property Value
|
Edit this page
View Source
Declaration
public IEnumerable<KeyValuePair<string, string>> Tags { get; set; }
Property Value
Type |
Description |
IEnumerable<KeyValuePair<System.String, System.String>> |
|
|
Edit this page
View Source
Value
Declaration
public double Value { get; }
Property Value
Type |
Description |
System.Double |
|
Methods
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|