Skip to content

Instantly share code, notes, and snippets.

@cmwylie19
Last active April 21, 2022 18:38
Show Gist options
  • Select an option

  • Save cmwylie19/80ddf3d39f127902235ff6b7766bb8f4 to your computer and use it in GitHub Desktop.

Select an option

Save cmwylie19/80ddf3d39f127902235ff6b7766bb8f4 to your computer and use it in GitHub Desktop.
Instance of the MSO
apiVersion: monitoring.rhobs/v1alpha1
kind: MonitoringStack
metadata:
name: starburst
namespace: <installation_namespace>
spec:
logLevel: debug
prometheusConfig:
remoteWrite:
- bearerToken: redacted
tlsConfig:
insecureSkipVerify: true
url: https://observatorium-observatorium.apps.mmikhail-obs1.kni.syseng.devcluster.openshift.com/api/metrics/v1/test/api/v1/receive
writeRelabelConfigs:
- action: keep
regex: (csv_succeeded$|csv_abnormal$|cluster_version$|ALERTS$|subscription_sync_total|trino_.*$|jvm_heap_memory_used$)
sourceLabels:
- __name__
resources:
limits:
cpu: 500m
memory: 512M
requests:
cpu: 100m
memory: 256M
retention: 120h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment