API Reference
Class
AgentMetric
Single metric sample emitted by the agent.
Inheritance
- Object
- AgentMetric
Constructors
public AgentMetric() #Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Name { get; set; } #Metric name (e.g. cpu.total.pct).
public String Unit { get; set; } #Metric unit (e.g. percent, bytes).
public DateTimeOffset TimestampUtc { get; set; } #Timestamp of the metric in UTC.
public Dictionary<String, String> Tags { get; set; } #Optional metric tags (e.g. drive=C:).