Skip to content

Commit 6a98faf

Browse files
authored
Merge pull request #731 from SumoLogic/SUMO-253872_frequency-configurability-changes
SUMO-253872: Update CHANGELOG and docs
2 parents 7298c2f + fe3d6c8 commit 6a98faf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
## X.Y.Z (Unreleased)
22
* Add new change notes here
33

4+
ENHANCEMENTS:
5+
* Add support for monitor frequency configurability
46
BUG FIXES:
57
* Polling source paths without `use_versioned_api` will not show an incorrect diff in the `terraform plan`
68

website/docs/r/monitor.html.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ resource "sumologic_monitor" "tf_logs_monitor_1" {
5656
logs_static_condition {
5757
critical {
5858
time_range = "15m"
59+
frequency = "5m"
5960
alert {
6061
threshold = 40.0
6162
threshold_type = "GreaterThan"
@@ -281,6 +282,7 @@ resource "sumologic_monitor" "tf_logs_monitor_2" {
281282
logs_static_condition {
282283
critical {
283284
time_range = "15m"
285+
frequency = "5m"
284286
alert {
285287
threshold = 40.0
286288
threshold_type = "GreaterThan"
@@ -482,6 +484,7 @@ trigger_conditions {
482484
field = "_count"
483485
critical {
484486
time_range = "15m"
487+
frequency = "5m"
485488
alert {
486489
threshold = 100
487490
threshold_type = "GreaterThan"
@@ -507,6 +510,7 @@ trigger_conditions {
507510
}
508511
logs_missing_data_condition {
509512
time_range = "30m"
513+
frequency = "5m"
510514
}
511515
}
512516
```
@@ -530,6 +534,7 @@ Here is a summary of arguments for each condition type (fields which are not mar
530534
- `field`
531535
- `critical`
532536
- `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`.
537+
- `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`'.
533538
- `alert` (Required)
534539
- `threshold`
535540
- `threshold_type`
@@ -590,6 +595,7 @@ Here is a summary of arguments for each condition type (fields which are not mar
590595
- `threshold`
591596
#### logs_missing_data_condition
592597
- `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`.
598+
- `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`'.
593599
#### metrics_missing_data_condition
594600
- `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`.
595601
#### slo_sli_condition

0 commit comments

Comments
 (0)