Skip to content

Commit c5cdb39

Browse files
committed
fix
Signed-off-by: ZePan110 <ze.pan@intel.com>
1 parent 159fd28 commit c5cdb39

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

ChatQnA/docker_compose/intel/cpu/xeon/grafana/dashboards/download_opea_dashboard.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
3-
rm *.json
3+
if ls *.json 1> /dev/null 2>&1; then
4+
rm *.json
5+
fi
46
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/chatqna_megaservice_grafana.json
57
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/qdrant_grafana.json
68
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/milvus_grafana.json

ChatQnA/docker_compose/intel/hpu/gaudi/set_env.sh

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -82,20 +82,6 @@ else
8282
fi
8383
fi
8484

85-
# Query for enabling OpenTelemetry Tracing Endpoint
86-
read -p "Enable OpenTelemetry Tracing Endpoint? (yes/no): " telemetry && telemetry=$(echo "$telemetry" | tr '[:upper:]' '[:lower:]')
87-
if [[ "$telemetry" == "yes" || "$telemetry" == "y" ]]; then
88-
export JAEGER_IP=$(ip route get 8.8.8.8 | grep -oP 'src \K[^ ]+')
89-
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://$JAEGER_IP:4317
90-
export TELEMETRY_ENDPOINT=http://$JAEGER_IP:4318/v1/traces
91-
telemetry_flag=true
92-
pushd "grafana/dashboards" > /dev/null
93-
source download_opea_dashboard.sh
94-
popd > /dev/null
95-
else
96-
telemetry_flag=false
97-
fi
98-
9985
# Generate the .env file
10086
cat <<EOF > .env
10187
#!/bin/bash

0 commit comments

Comments
 (0)