File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ function start_services() {
4848 export INDEX_NAME=" rag-redis"
4949 export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
5050 export host_ip=${ip_address}
51+ export JAEGER_IP=$( ip route get 8.8.8.8 | grep -oP ' src \K[^ ]+' )
52+ export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://$JAEGER_IP :4317
53+ export TELEMETRY_ENDPOINT=http://$JAEGER_IP :4318/v1/traces
5154
5255 # Start Docker Containers
5356 docker compose -f compose.yaml up -d > ${LOG_PATH} /start_services_with_compose.log
Original file line number Diff line number Diff line change @@ -48,6 +48,9 @@ function start_services() {
4848 export LLM_MODEL_ID=" meta-llama/Meta-Llama-3-8B-Instruct"
4949 export INDEX_NAME=" rag-redis"
5050 export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
51+ export JAEGER_IP=$( ip route get 8.8.8.8 | grep -oP ' src \K[^ ]+' )
52+ export OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=grpc://$JAEGER_IP :4317
53+ export TELEMETRY_ENDPOINT=http://$JAEGER_IP :4318/v1/traces
5154
5255 # Start Docker Containers
5356 docker compose -f compose_tgi.yaml up -d > ${LOG_PATH} /start_services_with_compose.log
You can’t perform that action at this time.
0 commit comments