Skip to content

Commit

Permalink
Enable setting pre-generated uuid for the runs
Browse files Browse the repository at this point in the history
Signed-off-by: Naga Ravi Chaitanya Elluri <[email protected]>
  • Loading branch information
chaitanyaenr committed Nov 4, 2024
1 parent b3942c7 commit 1ec6db1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions config.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ cerberus:
performance_monitoring:
deploy_dashboards: $DEPLOY_DASHBOARDS # Install a mutable grafana and load the performance dashboards. Enable this only when running on OpenShift
repo: "https://github.com/cloud-bulldozer/performance-dashboards.git"
kube_burner_binary_url: $KUBE_BURNER_URL
capture_metrics: $CAPTURE_METRICS
config_path: config/kube_burner.yaml # Define the Elasticsearch url and index name in this config
metrics_profile_path: config/metrics-aggregated.yaml
metrics_profile: config/metrics-aggregated.yaml
prometheus_url: # The prometheus url/route is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes.
prometheus_bearer_token: # The bearer token is automatically obtained in case of OpenShift, please set it when the distribution is Kubernetes. This is needed to authenticate with prometheus.
uuid: # uuid for the run is generated by default if not set
uuid: $UUID # uuid for the run is generated by default if not set
enable_alerts: $ENABLE_ALERTS # Runs the queries specified in the alert profile and displays the info or exits 1 when severity=error
alert_profile: $ALERTS_PATH # Path to alert profile with the prometheus queries
check_critical_alerts: $CHECK_CRITICAL_ALERTS # When enabled will check prometheus for critical alerts firing post chaos
Expand Down Expand Up @@ -62,4 +60,4 @@ elastic:
password: "$ES_PASSWORD"
metrics_index: "$ES_METRICS_INDEX"
alerts_index: "$ES_ALERTS_INDEX"
telemetry_index: "$ES_TELEMETRY_INDEX"
telemetry_index: "$ES_TELEMETRY_INDEX"
2 changes: 1 addition & 1 deletion env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export PUBLISH_KRAKEN_STATUS=${PUBLISH_KRAKEN_STATUS:=False}
export SIGNAL_ADDRESS=${SIGNAL_ADDRESS:=0.0.0.0}
export PORT=${PORT:=8081}
export SIGNAL_STATE=${SIGNAL_STATE:=RUN}
export UUID=${UUID:=""}
export DEPLOY_DASHBOARDS=${DEPLOY_DASHBOARDS:=False}
export CAPTURE_METRICS=${CAPTURE_METRICS:=False}
export ENABLE_ALERTS=${ENABLE_ALERTS:=False}
Expand All @@ -34,7 +35,6 @@ export ES_TELEMETRY_INDEX=${ES_TELEMETRY_INDEX:=krkn-telemetry}


export CHECK_CRITICAL_ALERTS=${CHECK_CRITICAL_ALERTS:=False}
export KUBE_BURNER_URL=${KUBE_BURNER_URL:=https://github.com/cloud-bulldozer/kube-burner/releases/download/v1.7.0/kube-burner-1.7.0-Linux-x86_64.tar.gz}
export TELEMETRY_ENABLED=${TELEMETRY_ENABLED:=False}
export TELEMETRY_API_URL=${TELEMETRY_API_URL:=https://ulnmf9xv7j.execute-api.us-west-2.amazonaws.com/production}
export TELEMETRY_USERNAME=${TELEMETRY_USERNAME:=redhat-chaos}
Expand Down

0 comments on commit 1ec6db1

Please sign in to comment.