File tree 2 files changed +3
-15
lines changed
ChatQnA/docker_compose/intel
cpu/xeon/grafana/dashboards
2 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright (C) 2025 Intel Corporation
2
2
# SPDX-License-Identifier: Apache-2.0
3
- rm * .json
3
+ if ls * .json 1> /dev/null 2>&1 ; then
4
+ rm * .json
5
+ fi
4
6
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/chatqna_megaservice_grafana.json
5
7
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/qdrant_grafana.json
6
8
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/milvus_grafana.json
Original file line number Diff line number Diff line change 82
82
fi
83
83
fi
84
84
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
-
99
85
# Generate the .env file
100
86
cat << EOF > .env
101
87
#!/bin/bash
You can’t perform that action at this time.
0 commit comments