Skip to content

Commit 1079433

Browse files
Observability
1 parent bc45841 commit 1079433

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

observability/deploy.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@ echo "▶ Step 2: Generating Prometheus configuration..."
2121
bash "${SCRIPT_DIR}/generate-prometheus-config.sh"
2222
echo ""
2323

24-
# Step 2.1: Validate Prometheus YAML
25-
echo "▶ Step 2.1: Validating Prometheus configuration syntax..."
26-
if ! python3 -c 'import sys, yaml; yaml.safe_load(sys.stdin)' < "${SCRIPT_DIR}/prometheus/prometheus.yml"; then
27-
echo "❌ ERROR: prometheus.yml is not valid YAML. Lütfen dosyayı kontrol edin!"
28-
exit 99
29-
fi
30-
echo "✅ Prometheus YAML syntax OK."
31-
echo ""
24+
cat "${SCRIPT_DIR}/prometheus/prometheus.yml"
3225

3326
# Step 3: Install node_exporter on all Kafka nodes
3427
echo "▶ Step 3: Installing node_exporter on all Kafka nodes..."

0 commit comments

Comments
 (0)