You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_metric.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ subcategory: "Sysdig Monitor"
3
3
layout: "sysdig"
4
4
page_title: "Sysdig: sysdig_monitor_alert_metric"
5
5
description: |-
6
-
Creates a Sysdig Monitor Metric Alert.
6
+
Creates a Sysdig Monitor Metric Threshold Alert.
7
7
---
8
8
9
9
# Resource: sysdig_monitor_alert_metric
10
10
11
-
Creates a Sysdig Monitor Metric Alert. Monitor time-series metrics and alert if they violate user-defined thresholds.
11
+
Creates a Sysdig Monitor Metric Threshold Alert. Monitor time-series metrics and alert if they violate user-defined thresholds.
12
12
13
13
-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.
14
14
@@ -90,7 +90,7 @@ In addition to all arguments above, the following attributes are exported, which
90
90
91
91
## Import
92
92
93
-
Metric alerts can be imported using the alert ID, e.g.
93
+
Metric Threshold alerts can be imported using the alert ID, e.g.
Copy file name to clipboardExpand all lines: website/docs/r/monitor_alert_promql.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ subcategory: "Sysdig Monitor"
3
3
layout: "sysdig"
4
4
page_title: "Sysdig: sysdig_monitor_alert_promql"
5
5
description: |-
6
-
Creates a Sysdig Monitor PromQL Alert.
6
+
Creates a Sysdig Monitor Prometheus Alert.
7
7
---
8
8
9
9
# Resource: sysdig_monitor_alert_promql
10
10
11
-
Creates a Sysdig Monitor PromQL Alert. Monitor prometheus metrics and alert if they violate user-defined PromQL-based metric expression.
11
+
Creates a Sysdig Monitor Prometheus Alert. Monitor prometheus metrics and alert if they violate user-defined PromQL-based metric expression.
12
12
13
13
-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.
14
14
@@ -50,7 +50,7 @@ By defining this field, the user can modify the title and the body of the messag
50
50
*`prepend` - (Optional) Text to add before the alert template.
51
51
*`append` - (Optional) Text to add after the alert template.
52
52
53
-
### PromQL alert arguments
53
+
### Prometheus alert arguments
54
54
55
55
*`promql` - (Required) PromQL-based metric expression to alert on. Example: `histogram_quantile(0.99, rate(etcd_http_successful_duration_seconds_bucket[5m]) > 0.15` or `predict_linear(sysdig_fs_free_bytes{fstype!~"tmpfs"}[1h], 24*3600) < 10000000000`.
56
56
@@ -69,7 +69,7 @@ In addition to all arguments above, the following attributes are exported, which
69
69
70
70
## Import
71
71
72
-
PromQL alerts can be imported using the alert ID, e.g.
72
+
Prometheus alerts can be imported using the alert ID, e.g.
Creates a Sysdig Monitor Change Alert with AlertV2 API.
6
+
Creates a Sysdig Monitor Percentage of Change Alert with AlertV2 API.
7
7
---
8
8
9
9
# Resource: sysdig_monitor_alert_v2_change
10
10
11
-
Creates a Sysdig Monitor Change Alert. Change Alerts trigger when a metric value substantially deviates compared to historical values.
11
+
Creates a Sysdig Monitor Percentage of Change Alert. Percentage of Change Alerts trigger when a metric value substantially deviates compared to historical values.
12
12
13
13
-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.
14
14
@@ -92,7 +92,7 @@ By defining this field, the user can add link to notifications.
92
92
*`href` - (Optional) When using `runbook` type, url of the external resource.
93
93
*`id` - (Optional) When using `dashboard` type, dashboard id.
94
94
95
-
### Change alert arguments
95
+
### Percentage of Change alert arguments
96
96
97
97
*`scope` - (Optional) Part of the infrastructure where the alert is valid. Defaults to the entire infrastructure. Can be repeated.
98
98
*`group_by` - (Optional) List of segments to trigger a separate alert on. Example: `["kube_cluster_name", "kube_pod_name"]`.
@@ -127,7 +127,7 @@ In addition to all arguments above, the following attributes are exported, which
127
127
128
128
## Import
129
129
130
-
Change alerts can be imported using the alert ID, e.g.
130
+
Percentage of Change alerts can be imported using the alert ID, e.g.
Creates a Sysdig Monitor Form Based Prometheus Alert. The notification is triggered on the user-defined PromQL expression with a threshold and operator defined outside of the expression, as described in [here](https://docs.sysdig.com/en/docs/sysdig-monitor/alerts/alert-types/metric-alerts/#translate-to-promql).
11
+
Creates a Sysdig Monitor Prometheus Threshold Alert. The notification is triggered on the user-defined PromQL expression with a threshold and operator defined outside of the expression, as described in [here](https://docs.sysdig.com/en/docs/sysdig-monitor/alerts/alert-types/metric-alerts/#translate-to-promql).
12
12
13
13
-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.
14
14
@@ -71,7 +71,7 @@ By defining this field, the user can add link to notifications.
71
71
*`href` - (Optional) When using `runbook` type, url of the external resource.
72
72
*`id` - (Optional) When using `dashboard` type, dashboard id.
73
73
74
-
### Form Based Prometheus alert arguments
74
+
### Threshold Prometheus alert arguments
75
75
76
76
*`query` - (Required) PromQL-based metric expression to alert on. Example: `sysdig_host_memory_available_bytes / sysdig_host_memory_total_bytes * 100` or `avg_over_time(sysdig_container_cpu_used_percent{}[59s])`.
77
77
*`operator` - (Required) Operator for the condition to alert on. It can be `>`, `>=`, `<`, `<=`, `=` or `!=`.
@@ -95,7 +95,7 @@ In addition to all arguments above, the following attributes are exported, which
95
95
96
96
## Import
97
97
98
-
Form Based Prometheus alerts can be imported using the alert ID, e.g.
98
+
Threshold Prometheus alerts can be imported using the alert ID, e.g.
Creates a Sysdig Monitor Metric Alert with AlertV2 API.
6
+
Creates a Sysdig Monitor Metric Threshold Alert with AlertV2 API.
7
7
---
8
8
9
9
# Resource: sysdig_monitor_alert_v2_metric
10
10
11
-
Creates a Sysdig Monitor Metric Alert. Monitor time-series metrics and alert if they violate user-defined thresholds.
11
+
Creates a Sysdig Monitor Metric Threshold Alert. Monitor time-series metrics and alert if they violate user-defined thresholds.
12
12
13
13
-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.
14
14
@@ -104,7 +104,7 @@ Enables the creation of a capture file of the syscalls during the event.
104
104
*`filter` - (Optional) Additional filter to apply to the capture. For example: `proc.name contains nginx`.
105
105
*`enabled` - (Optional) Wether to enable captures. Default: `true`.
106
106
107
-
### Metric alert arguments
107
+
### Metric Threshold alert arguments
108
108
109
109
*`scope` - (Optional) Part of the infrastructure where the alert is valid. Defaults to the entire infrastructure. Can be repeated.
110
110
*`group_by` - (Optional) List of segments to trigger a separate alert on. Example: `["kube_cluster_name", "kube_pod_name"]`.
@@ -138,7 +138,7 @@ In addition to all arguments above, the following attributes are exported, which
138
138
139
139
## Import
140
140
141
-
Metric alerts can be imported using the alert ID, e.g.
141
+
Metric Threshold alerts can be imported using the alert ID, e.g.
0 commit comments