Skip to content

Commit 4634269

Browse files
authored
Merge pull request #481 from SumoLogic/pgupta-correct-slo-documentation
SUMO-211916 Corrects SLO terraform documentation
2 parents 70a9b9b + 5ca1942 commit 4634269

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

website/docs/r/slo.html.markdown

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
layout: 'sumologic' page_title: 'SumoLogic: sumologic_slo' description: |- Provides the ability to create, read, delete,
3-
and update SLOs ([Beta feature](https://help.sumologic.com/Beta/SLO_Reliability_Management#beta-notices)).
3+
and update [SLOs][1].
44
---
55

66
# sumologic_slo
77

8-
Provides the ability to create, read, delete, and update [SLOs][1].
8+
Provides the ability to create, read, delete, and update SLOs.
99

1010
## Example SLO
1111

@@ -64,10 +64,11 @@ resource "sumologic_slo" "slo_tf_window_based" {
6464
}
6565
indicator {
6666
window_based_evaluation {
67-
op = "LessThan"
68-
query_type = "Metrics"
69-
size = "1m"
70-
threshold = 200
67+
op = "LessThan"
68+
query_type = "Metrics"
69+
aggregation = "Avg"
70+
size = "1m"
71+
threshold = 200
7172
queries {
7273
query_group_type = "Threshold"
7374
query_group {
@@ -110,8 +111,8 @@ resource "sumologic_slo" "slo_tf_request_based" {
110111
| if(isBlank(latency), 0.0, latency) as latency
111112
| latency/ 1000 as latency_sec
112113
QUERY
113-
use_row_count = true
114-
field = "latency_sec"
114+
use_row_count = false
115+
field = "latency_sec"
115116
}
116117
}
117118
}
@@ -216,7 +217,7 @@ The following arguments are supported:
216217
- `trigger_types` - (Required) Type of monitor trigger which will attribute towards a successful or unsuccessful SLO
217218
window. Valid values are `Critical`, `Warning`, `MissingData`. Only one trigger type is supported.
218219

219-
[1]: https://help.sumologic.com/Beta/SLO_Reliability_Management
220+
[1]: https://help.sumologic.com/docs/observability/reliability-management-slo/
220221

221222
[2]: slo_folder.html.markdown
222223

0 commit comments

Comments
 (0)