Class MetricGroup
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.
Inherited Members
Namespace: Oci.ApmconfigService.Models
Assembly: OCI.DotNetSDK.Apmconfig.dll
Syntax
public class MetricGroup : Config
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
[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. |
FilterId
Declaration
[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. |
Metrics
Declaration
[JsonProperty(PropertyName = "metrics")]
public List<Metric> Metrics { get; set; }
Property Value
Type | Description |
---|---|
List<Metric> | The list of metrics in this group. |
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. |