Show / Hide Table of Contents

Class CreateMetricGroupDetails

A metric group defines a set of metrics to collect from a span. It uses a span filter to specify which spans to process. The set is then published to a namespace, which is a product level subdivision of metrics.

Inheritance
object
CreateConfigDetails
CreateMetricGroupDetails
Inherited Members
CreateConfigDetails.FreeformTags
CreateConfigDetails.DefinedTags
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 CreateMetricGroupDetails : CreateConfigDetails

Properties

Dimensions

Declaration
[JsonProperty(PropertyName = "dimensions")]
public List<Dimension> Dimensions { get; set; }
Property Value
Type Description
List<Dimension>

A list of dimensions for the metric. This variable should not be used.

DisplayName

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

The name by which a configuration entity is displayed to the end user.

Remarks

Required

FilterId

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

The OCID of a Span Filter. The filterId is mandatory for the creation of MetricGroups. A filterId is generated when a Span Filter is created.

Remarks

Required

Metrics

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

The list of metrics in this group.

Remarks

Required

Namespace

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

The namespace to which the metrics are published. It must be one of several predefined namespaces.

In this article
Back to top