We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8ac96e commit 0e9376dCopy full SHA for 0e9376d
1 file changed
infrastructure/scripts/setup/monitoring.sh
@@ -6,6 +6,8 @@ log() {
6
echo "[$(date +'%H:%M:%S')] $*"
7
}
8
9
+set -x
10
+
11
# --- Configuration ---
12
NAMESPACE="monitoring"
13
GRAFANA_SECRET_NAME="grafana-admin"
@@ -21,6 +23,8 @@ else
21
23
GRAFANA_PASSWORD="$IDE_PASSWORD"
22
24
fi
25
26
+echo "GRAFANA_PASSWORD is $GRAFANA_PASSWORD"
27
28
VALUES_FILE="prometheus-values.yaml"
29
EXTRA_SCRAPE_FILE="extra-scrape-configs.yaml"
30
DATASOURCE_FILE="grafana-datasource.yaml"
@@ -250,8 +254,6 @@ GRAFANA_URL="http://$GRAFANA_LB"
250
254
251
255
# 1. Search for a dashboard containing "JVM" in the title
252
256
253
-set -x
-
257
log "⏳ Waiting for Grafana to become healthy..."
258
for i in {1..20}; do
259
STATUS=$(curl -s -u "$GRAFANA_USER:$GRAFANA_PASSWORD" "$GRAFANA_URL/api/health" | jq -r .database || true)
0 commit comments