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() {
48
48
export INDEX_NAME=" rag-redis"
49
49
export HUGGINGFACEHUB_API_TOKEN=${HUGGINGFACEHUB_API_TOKEN}
50
50
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
51
54
52
55
# Start Docker Containers
53
56
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() {
48
48
export LLM_MODEL_ID=" meta-llama/Meta-Llama-3-8B-Instruct"
49
49
export INDEX_NAME=" rag-redis"
50
50
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
51
54
52
55
# Start Docker Containers
53
56
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