14 lines
605 B
Bash
14 lines
605 B
Bash
# Uncomment and change to your OTLP endpoint
|
|
# OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
|
|
# OTEL_EXPORTER_OTLP_PROTOCOL=grpc
|
|
|
|
OTEL_SERVICE_NAME=opentelemetry-python-vertexai
|
|
|
|
# Change to 'false' to disable logging
|
|
OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true
|
|
# Change to 'console' if your OTLP endpoint doesn't support logs
|
|
# TODO: this should not be necessary once https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3042 is released
|
|
OTEL_LOGS_EXPORTER=otlp
|
|
# Change to 'false' to hide prompt and completion content
|
|
OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=true
|