Table of Contents

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

name string
type MetricType
timestamp long
unit string
tags IDictionary<string, string>
value double

Properties

Name

[JsonProperty("name")]
public string Name { get; }

Property Value

string

Tags

[JsonProperty("tags")]
public IDictionary<string, string> Tags { get; }

Property Value

IDictionary<string, string>

Timestamp

[JsonProperty("timestamp")]
public long Timestamp { get; }

Property Value

long

Type

[JsonProperty("type")]
public string Type { get; }

Property Value

string

Unit

[JsonProperty("unit")]
public string Unit { get; }

Property Value

string

Value

[JsonProperty("value")]
public double Value { get; }

Property Value

double