Skip to content

Commit 586e3db

Browse files
author
Daren Lord
committed
Pull request CrunchyData#1: Mask secrets and commit current changes.
Merge in DPO-PGO/postgres-operator from ~DLORD/postgres-operator:master to dev * commit 'ffa7d1a4f2d68e2afddb27343bbb6c75ea4e48a6': Mask secrets and commit current changes.
2 parents 2b6e4f3 + ffa7d1a commit 586e3db

18 files changed

+182
-280
lines changed

kustomize/monitoring/alertmanager-config.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ data:
33
alertmanager.yml: |
44
###
55
#
6-
# Copyright © 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved.
6+
# Copyright 2017-2022 Crunchy Data Solutions, Inc. All Rights Reserved.
77
#
88
###
99
@@ -31,7 +31,11 @@ data:
3131
receivers:
3232
- name: 'default-receiver'
3333
email_configs:
34-
34+
35+
send_resolved: true
36+
- name: "alerta-receiver"
37+
webhook_configs:
38+
- url: 'https://alerta.overstock.com/api/webhooks/prometheus?api-key=<path:kv/data/dpo/operations/argocd/apps/pgo/monitoring#alertaKey>'
3539
send_resolved: true
3640
3741
## Examples of alternative alert receivers. See documentation for more info on how to configure these fully
@@ -54,7 +58,7 @@ data:
5458
# send_resolved: true
5559
5660
route:
57-
receiver: default-receiver
61+
receiver: alerta-receiver
5862
group_by: [severity, service, job, alertname]
5963
group_wait: 30s
6064
group_interval: 5m

kustomize/monitoring/alertmanager-rules-config.yaml

Lines changed: 86 additions & 251 deletions
Large diffs are not rendered by default.

kustomize/monitoring/crunchy_grafana_dashboards.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
###
22
#
3-
# Copyright © 2017-2023 Crunchy Data Solutions, Inc. All Rights Reserved.
3+
# Copyright 2017-2022 Crunchy Data Solutions, Inc. All Rights Reserved.
44
#
55
###
66
apiVersion: 1
@@ -13,4 +13,4 @@ providers:
1313
disableDeletion: false
1414
updateIntervalSeconds: 3 #how often Grafana will scan for changed dashboards
1515
options:
16-
path: /etc/grafana/provisioning/dashboards
16+
path: $GF_PATHS_PROVISIONING/dashboards

kustomize/monitoring/dashboards/pgbackrest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"gnetId": null,
5353
"graphTooltip": 0,
5454
"id": null,
55-
"iteration": 1625069660860,
55+
"iteration": 1624546649377,
5656
"links": [
5757
{
5858
"asDropdown": false,
@@ -664,7 +664,7 @@
664664
]
665665
},
666666
"time": {
667-
"from": "now-2w",
667+
"from": "now-30m",
668668
"to": "now"
669669
},
670670
"timepicker": {

kustomize/monitoring/dashboards/pod_details.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
}
4343
]
4444
},
45-
"editable": false,
45+
"editable": true,
4646
"gnetId": null,
4747
"graphTooltip": 0,
4848
"id": null,
49-
"iteration": 1625069717503,
49+
"iteration": 1624647381559,
5050
"links": [
5151
{
5252
"icon": "external link",

kustomize/monitoring/dashboards/postgres_overview.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"gnetId": null,
4747
"graphTooltip": 0,
4848
"id": null,
49-
"iteration": 1625069480601,
49+
"iteration": 1624491413218,
5050
"links": [],
5151
"panels": [
5252
{

kustomize/monitoring/dashboards/postgresql_details.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@
5454
}
5555
]
5656
},
57-
"editable": false,
57+
"editable": true,
5858
"gnetId": null,
5959
"graphTooltip": 0,
6060
"id": null,
61-
"iteration": 1625069813048,
61+
"iteration": 1624495934950,
6262
"links": [
6363
{
6464
"asDropdown": false,
@@ -2143,6 +2143,6 @@
21432143
},
21442144
"timezone": "browser",
21452145
"title": "PostgreSQLDetails",
2146-
"uid": "fMip0cuMk",
2146+
"uid": "pc4NNgknk",
21472147
"version": 1
21482148
}

kustomize/monitoring/dashboards/postgresql_service_health.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@
4242
}
4343
]
4444
},
45-
"editable": false,
45+
"editable": true,
4646
"gnetId": null,
4747
"graphTooltip": 0,
4848
"id": null,
49-
"iteration": 1625069909806,
49+
"iteration": 1624491530019,
5050
"links": [
5151
{
5252
"asDropdown": false,
@@ -626,7 +626,7 @@
626626
]
627627
},
628628
"time": {
629-
"from": "now-1h",
629+
"from": "now-30m",
630630
"to": "now"
631631
},
632632
"timepicker": {

kustomize/monitoring/dashboards/prometheus_alerts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@
938938
"list": []
939939
},
940940
"time": {
941-
"from": "now-1h",
941+
"from": "now-30m",
942942
"to": "now"
943943
},
944944
"timepicker": {

kustomize/monitoring/dashboards/query_statistics.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"gnetId": null,
6060
"graphTooltip": 0,
6161
"id": null,
62-
"iteration": 1625070004605,
62+
"iteration": 1624501789811,
6363
"links": [
6464
{
6565
"icon": "external link",

0 commit comments

Comments
 (0)