Class Datapoint
Metric value for a specific timestamp.
Inherited Members
Namespace: Oci.MonitoringService.Models
Assembly: OCI.DotNetSDK.Monitoring.dll
Syntax
public class Datapoint
Properties
Count
Declaration
[JsonProperty(PropertyName = "count")]
public int? Count { get; set; }
Property Value
Type | Description |
---|---|
int? | The number of occurrences of the associated value in the set of data.
|
Timestamp
Declaration
[Required(ErrorMessage = "Timestamp is required.")]
[JsonProperty(PropertyName = "timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Timestamp for this metric value. Format defined by RFC3339.
For a data point to be posted, its timestamp must be near current time (less than two hours in the past and less than 10 minutes in the future).
|
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public double Value { get; set; }
Property Value
Type | Description |
---|---|
double | Numeric value of the metric.
|
Remarks
Required