From 8af94b640b1db4423f75919de7a3a267a1633423 Mon Sep 17 00:00:00 2001 From: "Anuraag (Rag) Agrawal" Date: Fri, 14 Mar 2025 12:01:09 +0900 Subject: [PATCH 1/2] Fix README venv installation command --- .../elastic-opentelemetry-instrumentation-openai/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md b/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md index 69c1a6c..0efd1a8 100644 --- a/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md +++ b/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md @@ -27,7 +27,7 @@ and `dotenv` (a portable way to load environment variables). ``` python3 -m venv .venv source .venv/bin/activate -pip install -r test-requirements.txt +pip install -r dev-requirements.txt pip install python-dotenv[cli] ``` From c6687deb0797b2af295fb7507acb8621af26e94d Mon Sep 17 00:00:00 2001 From: "Anuraag (Rag) Agrawal" Date: Fri, 14 Mar 2025 12:03:22 +0900 Subject: [PATCH 2/2] Fix dotenv command --- .../elastic-opentelemetry-instrumentation-openai/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md b/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md index 0efd1a8..11b5177 100644 --- a/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md +++ b/instrumentation/elastic-opentelemetry-instrumentation-openai/README.md @@ -64,7 +64,7 @@ ollama pull all-minilm:33m Finally run the examples using [ollama.env](ollama.env) variables to point to Ollama instead of OpenAI: ``` -dotenv run -f ollama.env -- opentelemetry-instrument python examples/chat.py +dotenv -f ollama.env run -- opentelemetry-instrument python examples/chat.py ``` ### Instrumentation specific environment variable configuration