Class Metric
A metric is a quantitative measurement of an entity.
Inherited Members
Namespace: Oci.ApmconfigService.Models
Assembly: OCI.DotNetSDK.Apmconfig.dll
Syntax
public class Metric
Properties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A description of the metric. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the metric. This must be a known metric name. |
Remarks
Required
Unit
Declaration
[JsonProperty(PropertyName = "unit")]
public string Unit { get; set; }
Property Value
Type | Description |
---|---|
string | The unit of the metric. |
ValueSource
Declaration
[JsonProperty(PropertyName = "valueSource")]
public string ValueSource { get; set; }
Property Value
Type | Description |
---|---|
string | This must not be set. |