Class Metric
- Namespace
- Steeltoe.Management.Exporter.Metrics.CloudFoundryForwarder
- Assembly
- Steeltoe.Management.ExporterBase.dll
public class Metric
- Inheritance
-
Metric
- Inherited Members
Constructors
Metric(string, MetricType, long, string, IDictionary<string, string>, double)
public Metric(string name, MetricType type, long timestamp, string unit, IDictionary<string, string> tags, double value)
Parameters
namestringtypeMetricTypetimestamplongunitstringtagsIDictionary<string, string>valuedouble
Properties
Name
[JsonProperty("name")]
public string Name { get; }
Property Value
Tags
[JsonProperty("tags")]
public IDictionary<string, string> Tags { get; }
Property Value
Timestamp
[JsonProperty("timestamp")]
public long Timestamp { get; }
Property Value
Type
[JsonProperty("type")]
public string Type { get; }
Property Value
Unit
[JsonProperty("unit")]
public string Unit { get; }
Property Value
Value
[JsonProperty("value")]
public double Value { get; }