From e0b9eb7f2123a245b420e1c447f9262ac144151f Mon Sep 17 00:00:00 2001 From: Paige Patton Date: Mon, 27 Jan 2025 13:57:15 -0500 Subject: [PATCH] adding metrics profile --- config.yaml.template | 2 +- env.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config.yaml.template b/config.yaml.template index 5613a53..0799933 100644 --- a/config.yaml.template +++ b/config.yaml.template @@ -18,7 +18,7 @@ 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" capture_metrics: $CAPTURE_METRICS - metrics_profile: config/metrics-aggregated.yaml + metrics_profile: $METRICS_PATH 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 # uuid for the run is generated by default if not set diff --git a/env.sh b/env.sh index 12c8bfb..e37494d 100755 --- a/env.sh +++ b/env.sh @@ -18,7 +18,7 @@ export DEPLOY_DASHBOARDS=${DEPLOY_DASHBOARDS:=False} export CAPTURE_METRICS=${CAPTURE_METRICS:=False} export ENABLE_ALERTS=${ENABLE_ALERTS:=False} export ALERTS_PATH=${ALERTS_PATH:=config/alerts.yaml} - +export METRICS_PATH=${METRICS_PATH:=config/metrics-aggregated.yaml} export ENABLE_ES=${ENABLE_ES:=False} export ES_SERVER=${ES_SERVER:=http://0.0.0.0}