File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
instrumentation-genai/opentelemetry-instrumentation-openai-v2/example Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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
88OTEL_SERVICE_NAME = opentelemetry-instrumentation-openai-v2
99
1010# This automatically configure logging
1111OTEL_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
1515OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT = true
Original file line number Diff line number Diff line change 11openai ~= 1.54.4
22
33opentelemetry-sdk ~= 1.28.1
4- opentelemetry-exporter-otlp-proto-grpc ~= 1.28.1
4+ opentelemetry-exporter-otlp-proto-http ~= 1.28.1
55opentelemetry-distro ~= 0.49b1
66opentelemetry-instrumentation-openai-v2 ~= 2.0b0
You can’t perform that action at this time.
0 commit comments