GroupMetricRuleProps
Properties for defining a GroupMetricRule
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cms-groupmetricrule
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcms"
&alicloudroscdkcms.GroupMetricRuleProps {
Category: interface{},
Escalations: interface{},
GroupId: interface{},
MetricName: interface{},
Namespace: interface{},
RuleId: interface{},
RuleName: interface{},
Dimensions: interface{},
EffectiveInterval: interface{},
EmailSubject: interface{},
Interval: interface{},
NoEffectiveInterval: interface{},
Period: interface{},
SilenceTime: interface{},
Webhook: interface{},
}
Properties
Name | Type | Description |
---|---|---|
Category |
interface{} |
Property category: The abbreviation of the service name. |
Escalations |
interface{} |
Property escalations: undefined. |
GroupId |
interface{} |
Property groupId: The ID of application group. |
MetricName |
interface{} |
Property metricName: The name of the metric. |
Namespace |
interface{} |
Property namespace: The data namespace of the service. |
RuleId |
interface{} |
Property ruleId: The ID of the alert rule. |
RuleName |
interface{} |
Property ruleName: The name of the alert rule. |
Dimensions |
interface{} |
Property dimensions: The expended resource dimensions. |
EffectiveInterval |
interface{} |
Property effectiveInterval: The period when the alert rule is effective. |
EmailSubject |
interface{} |
Property emailSubject: The subject of the alert notification email. |
Interval |
interface{} |
Property interval: The detection period of alerts. |
NoEffectiveInterval |
interface{} |
Property noEffectiveInterval: The period when the alert rule is ineffective. |
Period |
interface{} |
Property period: The aggregation period. |
SilenceTime |
interface{} |
Property silenceTime: The duration of the mute period during which new alerts are not sent even if the trigger conditions are met. |
Webhook |
interface{} |
Property webhook: The URL of the callback triggered when an alert occurs. |
Category
Required
Category interface{}
- Type: interface{}
Property category: The abbreviation of the service name.
Valid values: ECS (including Alibaba Cloud and non-Alibaba Cloud hosts) RDS (ApsaraDB for RDS) ADS (AnalyticDB) SLB (Server Load Balancer) VPC (Virtual Private Cloud) APIGATEWAY (API Gateway) CDN CS (Container Service for Swarm) DCDN (Dynamic Route for CDN) DDoS (distributed denial of service) EIP (Elastic IP) ELASTICSEARCH (Elasticsearch) EMR (E-MapReduce) ESS (Auto Scaling) HBASE (ApsaraDB for HBase) IOT_EDGE (IoT Edge) K8S_POD (k8s pod) KVSTORE_SHARDING (ApsaraDB for Redis cluster version) KVSTORE_SPLITRW (ApsaraDB for Redis read/write splitting version) KVSTORE_STANDARD (ApsaraDB for Redis standard version) MEMCACHE (ApsaraDB for Memcache) MNS (Message Service) MONGODB (ApsaraDB for MongoDB replica set instances) MONGODB_CLUSTER (ApsaraDB for MongoDB cluster version) MONGODB_SHARDING (ApsaraDB for MongoDB sharded clusters) MQ_TOPIC (Message Service topic) OCS (original version of ApsaraDB for Memcache) OPENSEARCH (Open Search) OSS (Object Storage Service) POLARDB (ApsaraDB for POLARDB) PETADATA (HybridDB for MySQL) SCDN (Secure Content Delivery Network) SHAREBANDWIDTHPACKAGES (shared bandwidth package) SLS (Log Service) VPN (VPN Gateway)
Escalations
Required
Escalations interface{}
- Type: interface{}
Property escalations: undefined.
GroupId
Required
GroupId interface{}
- Type: interface{}
Property groupId: The ID of application group.
MetricName
Required
MetricName interface{}
- Type: interface{}
Property metricName: The name of the metric.
For more information, call DescribeMetricMetaList or see Preset metrics reference.
Namespace
Required
Namespace interface{}
- Type: interface{}
Property namespace: The data namespace of the service.
For more information, call DescribeMetricMetaList or see Preset metrics reference.
RuleId
Required
RuleId interface{}
- Type: interface{}
Property ruleId: The ID of the alert rule.
The IDs of alert rules are generated by callers to ensure uniqueness.
RuleName
Required
RuleName interface{}
- Type: interface{}
Property ruleName: The name of the alert rule.
Dimensions
Optional
Dimensions interface{}
- Type: interface{}
Property dimensions: The expended resource dimensions.
EffectiveInterval
Optional
EffectiveInterval interface{}
- Type: interface{}
Property effectiveInterval: The period when the alert rule is effective.
EmailSubject
Optional
EmailSubject interface{}
- Type: interface{}
Property emailSubject: The subject of the alert notification email.
Interval
Optional
Interval interface{}
- Type: interface{}
Property interval: The detection period of alerts.
NoEffectiveInterval
Optional
NoEffectiveInterval interface{}
- Type: interface{}
Property noEffectiveInterval: The period when the alert rule is ineffective.
Period
Optional
Period interface{}
- Type: interface{}
Property period: The aggregation period.
Unite: second.
SilenceTime
Optional
SilenceTime interface{}
- Type: interface{}
Property silenceTime: The duration of the mute period during which new alerts are not sent even if the trigger conditions are met.
Unit: second. Default value: 86400. Minimum value: 60.
Webhook
Optional
Webhook interface{}
- Type: interface{}
Property webhook: The URL of the callback triggered when an alert occurs.