Skip to content

Commit 905ca0a

Browse files
use http
Signed-off-by: Adrian Cole <[email protected]>
1 parent eded5ee commit 905ca0a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

instrumentation-genai/opentelemetry-instrumentation-openai-v2/example/.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
# OPENAI_API_KEY=unused
44
# CHAT_MODEL=qwen2.5:0.5b
55

6-
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
7-
OTEL_EXPORTER_OTLP_PROTOCOL=grpc
6+
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
7+
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
88
OTEL_SERVICE_NAME=opentelemetry-instrumentation-openai-v2
99

1010
# This automatically configure logging
1111
OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true
1212
# Change to 'console' if your OTLP endpoint doesn't support logs
13-
OTEL_LOGS_EXPORTER=otlp_proto_grpc
13+
OTEL_LOGS_EXPORTER=otlp_proto_http
1414
# Set to false to hide prompt and completion content
1515
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openai~=1.54.4
22

33
opentelemetry-sdk~=1.28.1
4-
opentelemetry-exporter-otlp-proto-grpc~=1.28.1
4+
opentelemetry-exporter-otlp-proto-http~=1.28.1
55
opentelemetry-distro~=0.49b1
66
opentelemetry-instrumentation-openai-v2~=2.0b0

0 commit comments

Comments
 (0)