Skip to content

Commit 81cf0fd

Browse files
Merge pull request #812 from SumoLogic/add-missing-monitor-fields
Add missing monitor fields in documentation
2 parents db7bd41 + 10e7d26 commit 81cf0fd

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## X.Y.Z (Unreleased)
22
* Add new change notes here
3+
DOCS:
4+
* Updated monitor documentation with a few trigger condition fields that were missing.
5+
36

47
## 3.1.5 (September 9, 2025)
58

website/docs/r/monitor.html.markdown

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,27 @@ resource "sumologic_monitor" "tf_metrics_monitor_1" {
138138
resolution {
139139
threshold = 40.0
140140
threshold_type = "LessThanOrEqual"
141+
min_data_points = 5
142+
}
143+
}
144+
warning {
145+
time_range = "30m"
146+
occurrence_type = "Always"
147+
alert {
148+
threshold = 30.0
149+
threshold_type = "GreaterThan"
150+
min_data_points = 3
151+
}
152+
resolution {
153+
threshold = 30.0
154+
threshold_type = "LessThanOrEqual"
155+
min_data_points = 3
156+
occurrence_type = "AtLeastOnce"
141157
}
142158
}
143159
}
144160
}
161+
145162
notifications {
146163
notification {
147164
connection_type = "Email"
@@ -615,6 +632,7 @@ Here is a summary of arguments for each condition type (fields which are not mar
615632
- `resolution` (Required)
616633
- `threshold`
617634
- `threshold_type`
635+
- `occurrence_type` (Optional)
618636
- `min_data_points` (Optional)
619637
- `warning`
620638
- `time_range` (Required) : Accepted format: Optional `-` sign followed by `<number>` followed by a `<time_unit>` character: `s` for seconds, `m` for minutes, `h` for hours, `d` for days. Examples: `30m`, `-12h`.
@@ -626,6 +644,7 @@ Here is a summary of arguments for each condition type (fields which are not mar
626644
- `resolution` (Required)
627645
- `threshold`
628646
- `threshold_type`
647+
- `occurrence_type` (Optional)
629648
- `min_data_points` (Optional)
630649
#### logs_outlier_condition
631650
- `field`
@@ -651,6 +670,7 @@ Here is a summary of arguments for each condition type (fields which are not mar
651670
- `frequency` Accepted format: Optional `-` sign followed by `<number>` followed by a `<time_unit>` character: `s` for seconds, `m` for minutes, `h` for hours, `d` for days. Examples: `1m`, `2m`, `10m`'.
652671
#### metrics_missing_data_condition
653672
- `time_range` (Required) : Accepted format: Optional `-` sign followed by `<number>` followed by a `<time_unit>` character: `s` for seconds, `m` for minutes, `h` for hours, `d` for days. Examples: `30m`, `-12h`.
673+
- `trigger_source` (Required) : Accepted format: `AnyTimeSeries`, `AllTimeSeries`, or `AllResults`
654674
#### slo_sli_condition
655675
- `critical`
656676
- `sli_threshold` (Required) : The remaining SLI error budget threshold percentage [0,100).

0 commit comments

Comments
 (0)