Show / Hide Table of Contents

Class MetricCollection

Metric collection specification.

Inheritance
object
MetricCollection
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoganalyticsService.Models
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class MetricCollection

Properties

Dimensions

Declaration
[Required(ErrorMessage = "Dimensions is required.")]
[JsonProperty(PropertyName = "dimensions")]
public List<DimensionField> Dimensions { get; set; }
Property Value
Type Description
List<DimensionField>

Selected dimension fields for the metric collection.

Remarks

Required

MetricName

Declaration
[Required(ErrorMessage = "MetricName is required.")]
[JsonProperty(PropertyName = "metricName")]
public string MetricName { get; set; }
Property Value
Type Description
string

The metric name for this metric collection. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($).

Remarks

Required

MetricQueryFieldName

Declaration
[Required(ErrorMessage = "MetricQueryFieldName is required.")]
[JsonProperty(PropertyName = "metricQueryFieldName")]
public string MetricQueryFieldName { get; set; }
Property Value
Type Description
string

Output field in the query to be used as the metric value.

Remarks

Required

QueryTableName

Declaration
[JsonProperty(PropertyName = "queryTableName")]
public string QueryTableName { get; set; }
Property Value
Type Description
string

Output table in the query.

In this article
Back to top