Show / Hide Table of Contents

Class Metric

A metric is a quantitative measurement of an entity.

Inheritance
object
Metric
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

In this article
Back to top