Show / Hide Table of Contents

Class Datapoint

Metric value for a specific timestamp.

Inheritance
object
Datapoint
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.
Default is 1. Value must be greater than zero.

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).
Example: 2023-02-01T01:02:29.600Z

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.
Example: 10.23

Remarks

Required

In this article
Back to top