Skip to content

Commit 0701452

Browse files
authored
Removes example intro section, updates example values for changes in recs (#69)
1 parent 38f4d26 commit 0701452

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

source/includes/examples/tf-example-alerts-no-primary-stagingprod.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
2525
threshold_config {
2626
operator = "GREATER_THAN"
27-
threshold = 24
28-
units = "HOURS"
27+
threshold = 5
28+
units = "MINUTES"
2929
}
3030
}

source/includes/examples/tf-example-alerts-replication-lag-devtest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
notification {
1010
type_name = "GROUP"
11-
interval_min = 5
11+
interval_min = 10
1212
delay_min = 0
1313
sms_enabled = false
1414
email_enabled = true

source/includes/examples/tf-example-alerts-replication-lag-stagingprod.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
notification {
1010
type_name = "GROUP"
11-
interval_min = 5
11+
interval_min = 10
1212
delay_min = 0
1313
sms_enabled = false
1414
email_enabled = true

source/monitoring-alerts.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -388,21 +388,14 @@ Examples
388388
The following examples demonstrate how to enable monitoring using |service|
389389
:ref:`tools for automation <arch-center-automation>`.
390390

391-
These examples also apply other recommended configurations, including:
392-
393391
.. tabs::
394392

395393
.. tab:: Dev and Test Environments
396394
:tabid: devtest
397395

398-
.. include:: /includes/shared-settings-clusters-devtest.rst
399-
400396
.. tab:: Staging and Prod Environments
401397
:tabid: stagingprod
402398

403-
.. include:: /includes/shared-settings-clusters-stagingprod.rst
404-
405-
406399
.. tabs::
407400
:hidden:
408401

@@ -593,7 +586,7 @@ These examples also apply other recommended configurations, including:
593586

594587
**Example 2:** Use the following to send alert notification
595588
to third-party services like Datadog and Prometheus when
596-
there is no primary on the replica set for more than 24 hours.
589+
there is no primary on the replica set for more than 5 minutes.
597590

598591
main.tf
599592
```````

0 commit comments

Comments
 (0)