-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RDR] Enable ACM observability for DR monitoring dashboard on RHACM c…
…onsole (#9646) Signed-off-by: am-agrawa <amagrawa@redhat.com>
- Loading branch information
Showing
9 changed files
with
209 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This config file is used to enable ACM observability | ||
|
||
--- | ||
apiVersion: observability.open-cluster-management.io/v1beta2 | ||
kind: MultiClusterObservability | ||
metadata: | ||
name: observability | ||
spec: | ||
enableDownsampling: true | ||
observabilityAddonSpec: | ||
enableMetrics: true | ||
interval: 300 | ||
storageConfig: | ||
alertmanagerStorageSize: 1Gi | ||
compactStorageSize: 100Gi | ||
metricObjectStorage: | ||
key: thanos.yaml | ||
name: thanos-object-storage | ||
receiveStorageSize: 100Gi | ||
ruleStorageSize: 1Gi | ||
storageClass: PLACEHOLDER | ||
storeStorageSize: 10Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This config file is allow data to reflect on the DR monitoring dashboard | ||
# by whitelisting ceph_rbd_* metrics | ||
# Additionally we whitelist a few odf_* metrics but those are optional. | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: mp-custom-allowlist | ||
namespace: open-cluster-management-observability | ||
data: | ||
metrics_list.yaml: | | ||
names: | ||
- odf_system_health_status | ||
- odf_system_map | ||
- odf_system_raw_capacity_total_bytes | ||
- odf_system_raw_capacity_used_bytes | ||
- ceph_rbd_mirror_snapshot_sync_bytes | ||
- ceph_rbd_mirror_snapshot_snapshots | ||
- ceph_rbd_mirror_snapshot_sync_time_sum | ||
matches: | ||
- __name__="csv_succeeded",exported_namespace="openshift-storage",name=~"odf-operator.*" | ||
- __name__="csv_succeeded",exported_namespace="openshift-dr-system",name=~"odr-cluster-operator.*" | ||
- __name__="csv_succeeded",exported_namespace="openshift-operators",name=~"volsync.*" | ||
recording_rules: | ||
- record: count_persistentvolumeclaim_total | ||
expr: count(kube_persistentvolumeclaim_info) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This config file is used to enable ACM observability. | ||
# When the Observability service is enabled, the hub cluster is always configured | ||
# to collect and send metrics to the configured Thanos instance, regardless of whether | ||
# hub self-management is enabled or not. | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: thanos-object-storage | ||
namespace: open-cluster-management-observability | ||
type: Opaque | ||
stringData: | ||
thanos.yaml: | | ||
type: s3 | ||
config: | ||
bucket: PLACEHOLDER | ||
endpoint: PLACEHOLDER | ||
insecure: true | ||
access_key: PLACEHOLDER | ||
secret_key: PLACEHOLDER |