-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable OpenTelemtry Tracing for ChatQnA on Xeon and Gaudi by merging …
…new compose_telemetry.yaml files Signed-off-by: Louie, Tsai <[email protected]> Signed-off-by: Tsai, Louie <[email protected]>
- Loading branch information
1 parent
a4d028e
commit 29a3060
Showing
13 changed files
with
176 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ChatQnA/docker_compose/intel/cpu/xeon/compose_telemetry.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
services: | ||
tei-embedding-service: | ||
command: --model-id ${EMBEDDING_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
tei-reranking-service: | ||
command: --model-id ${RERANK_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
jaeger: | ||
image: jaegertracing/all-in-one:latest | ||
container_name: jaeger | ||
ports: | ||
- "16686:16686" | ||
- "4317:4317" | ||
- "4318:4318" | ||
- "9411:9411" | ||
ipc: host | ||
environment: | ||
no_proxy: ${no_proxy} | ||
http_proxy: ${http_proxy} | ||
https_proxy: ${https_proxy} | ||
COLLECTOR_ZIPKIN_HOST_PORT: 9411 | ||
restart: unless-stopped | ||
chatqna-xeon-backend-server: | ||
environment: | ||
- ENABLE_OPEA_TELEMETRY=true | ||
- TELEMETRY_ENDPOINT=${TELEMETRY_ENDPOINT} |
29 changes: 29 additions & 0 deletions
29
ChatQnA/docker_compose/intel/cpu/xeon/compose_tgi_telemetry.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
services: | ||
tei-embedding-service: | ||
command: --model-id ${EMBEDDING_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
tei-reranking-service: | ||
command: --model-id ${RERANK_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
tgi-service: | ||
command: --model-id ${LLM_MODEL_ID} --cuda-graphs 0 --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
jaeger: | ||
image: jaegertracing/all-in-one:latest | ||
container_name: jaeger | ||
ports: | ||
- "16686:16686" | ||
- "4317:4317" | ||
- "4318:4318" | ||
- "9411:9411" | ||
ipc: host | ||
environment: | ||
no_proxy: ${no_proxy} | ||
http_proxy: ${http_proxy} | ||
https_proxy: ${https_proxy} | ||
COLLECTOR_ZIPKIN_HOST_PORT: 9411 | ||
restart: unless-stopped | ||
chatqna-xeon-backend-server: | ||
environment: | ||
- ENABLE_OPEA_TELEMETRY=true | ||
- TELEMETRY_ENDPOINT=${TELEMETRY_ENDPOINT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
ChatQnA/docker_compose/intel/hpu/gaudi/compose_telemetry.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
services: | ||
tei-embedding-service: | ||
command: --model-id ${EMBEDDING_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
tei-reranking-service: | ||
command: --model-id ${RERANK_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
jaeger: | ||
image: jaegertracing/all-in-one:latest | ||
container_name: jaeger | ||
ports: | ||
- "16686:16686" | ||
- "4317:4317" | ||
- "4318:4318" | ||
- "9411:9411" | ||
ipc: host | ||
environment: | ||
no_proxy: ${no_proxy} | ||
http_proxy: ${http_proxy} | ||
https_proxy: ${https_proxy} | ||
COLLECTOR_ZIPKIN_HOST_PORT: 9411 | ||
restart: unless-stopped | ||
chatqna-gaudi-backend-server: | ||
environment: | ||
- ENABLE_OPEA_TELEMETRY=true | ||
- TELEMETRY_ENDPOINT=${TELEMETRY_ENDPOINT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
ChatQnA/docker_compose/intel/hpu/gaudi/compose_tgi_telemetry.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
services: | ||
tei-embedding-service: | ||
command: --model-id ${EMBEDDING_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
tei-reranking-service: | ||
command: --model-id ${RERANK_MODEL_ID} --auto-truncate --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
tgi-service: | ||
command: --model-id ${LLM_MODEL_ID} --max-input-length 2048 --max-total-tokens 4096 --otlp-endpoint $OTEL_EXPORTER_OTLP_TRACES_ENDPOINT | ||
jaeger: | ||
image: jaegertracing/all-in-one:latest | ||
container_name: jaeger | ||
ports: | ||
- "16686:16686" | ||
- "4317:4317" | ||
- "4318:4318" | ||
- "9411:9411" | ||
ipc: host | ||
environment: | ||
no_proxy: ${no_proxy} | ||
http_proxy: ${http_proxy} | ||
https_proxy: ${https_proxy} | ||
COLLECTOR_ZIPKIN_HOST_PORT: 9411 | ||
restart: unless-stopped | ||
chatqna-gaudi-backend-server: | ||
environment: | ||
- ENABLE_OPEA_TELEMETRY=true | ||
- TELEMETRY_ENDPOINT=${TELEMETRY_ENDPOINT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters