Skip to content

Commit e8cdf7d

Browse files
authored
[ChatQnA] update to the latest Grafana Dashboard (#1728)
Signed-off-by: Tsai, Louie <louie.tsai@intel.com>
1 parent c48cd65 commit e8cdf7d

File tree

6 files changed

+22
-4
lines changed

6 files changed

+22
-4
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
3-
3+
rm *.json
4+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/chatqna_megaservice_grafana.json
5+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/qdrant_grafana.json
6+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/milvus_grafana.json
7+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/redis_grafana.json
8+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/tei_grafana.json
49
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/vllm_grafana.json
510
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/tgi_grafana.json
611
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/node_grafana.json

ChatQnA/docker_compose/intel/cpu/xeon/set_env.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ export CHATQNA_FRONTEND_SERVICE_PORT=5173
3030
export NGINX_PORT=80
3131
export FAQGen_COMPONENT_NAME="OpeaFaqGenvLLM"
3232
export LLM_ENDPOINT="http://${host_ip}:${LLM_ENDPOINT_PORT}"
33+
pushd "grafana/dashboards" > /dev/null
34+
source download_opea_dashboard.sh
35+
popd > /dev/null

ChatQnA/docker_compose/intel/hpu/gaudi/compose.telemetry.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ services:
7070
deploy:
7171
mode: global
7272
gaudi-exporter:
73-
image: vault.habana.ai/gaudi-metric-exporter/metric-exporter:1.19.2-32
73+
image: vault.habana.ai/gaudi-metric-exporter/metric-exporter:latest
7474
container_name: gaudi-exporter
75+
privileged: true
7576
volumes:
7677
- /proc:/host/proc:ro
7778
- /sys:/host/sys:ro

ChatQnA/docker_compose/intel/hpu/gaudi/compose_tgi.telemetry.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,9 @@ services:
7272
deploy:
7373
mode: global
7474
gaudi-exporter:
75-
image: vault.habana.ai/gaudi-metric-exporter/metric-exporter:1.19.2-32
75+
image: vault.habana.ai/gaudi-metric-exporter/metric-exporter:latest
7676
container_name: gaudi-exporter
77+
privileged: true
7778
volumes:
7879
- /proc:/host/proc:ro
7980
- /sys:/host/sys:ro

ChatQnA/docker_compose/intel/hpu/gaudi/grafana/dashboards/download_opea_dashboard.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Copyright (C) 2025 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
3-
3+
rm *.json
4+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/chatqna_megaservice_grafana.json
5+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/qdrant_grafana.json
6+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/milvus_grafana.json
7+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/redis_grafana.json
8+
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/tei_grafana.json
49
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/vllm_grafana.json
510
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/tgi_grafana.json
611
wget https://raw.githubusercontent.com/opea-project/GenAIEval/refs/heads/main/evals/benchmark/grafana/node_grafana.json

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ if [[ "$telemetry" == "yes" || "$telemetry" == "y" ]]; then
6565
export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://$JAEGER_IP:4317
6666
export TELEMETRY_ENDPOINT=http://$JAEGER_IP:4318/v1/traces
6767
telemetry_flag=true
68+
pushd "grafana/dashboards" > /dev/null
69+
source download_opea_dashboard.sh
70+
popd > /dev/null
6871
else
6972
telemetry_flag=false
7073
fi

0 commit comments

Comments
 (0)